summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* avformat/avio: make the logic simpleJun Zhao2018-05-061-3/+2
| | | | | | remove the "ret" to make the code simple and generic. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* fate: update fate-sws-pixdesc-query reference fileJames Almer2018-05-052-1/+8
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fate: update pad pixfmt testPaul B Mahol2018-05-051-1/+1
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/drawutils: support gray14Paul B Mahol2018-05-051-1/+2
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_extractplanes: add support for extracting planes with 14 depthPaul B Mahol2018-05-051-0/+6
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* swscale: add gray14 supportPaul B Mahol2018-05-0518-0/+35
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avutil: add gray14 pixel formatPaul B Mahol2018-05-052-0/+25
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: forward status back in some filters that missed itPaul B Mahol2018-05-053-0/+6
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_amerge: port to activate APIPaul B Mahol2018-05-051-77/+69
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* mpegvideo: add deprecated flags to the rc_strategy optionRostislav Pehlivanov2018-05-051-3/+3
| | | | | | Forgotten with the commit which removed support for libxvid_rc. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* dcaenc: fix segfault when attempting to encode with invalid samplerateRostislav Pehlivanov2018-05-051-2/+5
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* mpegvideo: remove support for libxvid's RC systemRostislav Pehlivanov2018-05-055-199/+6
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* avfilter/vf_colorchannelmixer: add planar rgb supportPaul B Mahol2018-05-051-19/+221
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_colorchannelmixer: refactor codePaul B Mahol2018-05-051-151/+49
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_colorbalance: fix off by one overflowPaul B Mahol2018-05-051-1/+1
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_colorchannelmixer: add slice threadingPaul B Mahol2018-05-051-163/+270
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/flac_parser: Fix infinite loopMichael Niedermayer2018-05-051-2/+7
| | | | | | | | Fixes: crbug/827204 Reported-by: Frank Liberato <liberato@google.com> Reviewed-by: Frank Liberato <liberato@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_colorbalance: add slice threadingPaul B Mahol2018-05-051-32/+66
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_colorbalance: add planar rgb supportPaul B Mahol2018-05-051-1/+78
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolution: use already available dstridePaul B Mahol2018-05-051-1/+1
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/videotoolbox: fix kVTCouldNotFindVideoDecoderErr trying to decode ↵Aman Gupta2018-05-041-1/+6
| | | | | | | | | | HEVC on iOS Older iOS devices don't have a hardware HEVC decoder, but the software decoder offered by VideoToolbox is well-optimized and performs much better than the ffmpeg decoder. Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/videotoolbox: improve logging of decoder errorsAman Gupta2018-05-041-1/+4
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* avfilter/vf_colorbalance: add 16bit depth supportPaul B Mahol2018-05-051-45/+100
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/nvenc: move reconfig_encoder call inside of push/pop ctxTimo Rothenpieler2018-05-041-5/+3
| | | | Also make it void, it must not fail the encode anyway.
* avcodec/nvenc: add A53CC supportRoman Arzumanyan2018-05-041-2/+28
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: support dynamic bitrate changespkviet2018-05-042-3/+58
| | | | | | | | | The patch enables dynamic bitrate through ReconfigureEncoder method from nvenc API. This is useful for live streaming in case of network congestion. Signed-off-by: pkviet <pkv.stream@gmail.com> Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: support dynamic aspect ratio changeMiroslav Slugeň2018-05-041-7/+60
| | | | | | | | If there is input like DVB-T streams it can change aspect ratio on-the-fly, so nvenc should respect this change and change aspect ratio in encoder. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: make hw_frames_ctx fully optionalTimo Rothenpieler2018-05-041-15/+22
|
* avfilter/vf_libvmaf: the libvmaf filter tried to join on an invalid thread idKevin Wheatley2018-05-041-1/+8
| | | | | | | | | | | The thread id was invalid because it was not initialised during the calls to init_complex_filtergraph. This adds a flag to check for initialisation before trying to peform the join. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
* avfilter/vf_lut3d: fix typoPaul B Mahol2018-05-041-1/+1
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_edgedetect: add more formats support to canny modePaul B Mahol2018-05-041-20/+28
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_edgedetect: add planes optionPaul B Mahol2018-05-042-1/+28
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_edgedetect: add canny modePaul B Mahol2018-05-042-0/+8
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolution: add column/vertical modePaul B Mahol2018-05-042-47/+144
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_lut3d: add planar rgb supportPaul B Mahol2018-05-041-4/+112
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/mediacodecdec: add workaround for buggy amlogic mpeg2 decoderAman Gupta2018-05-041-3/+19
| | | | | | | | | | | | | | | | | | I tested the previous mediacodec changes on seven different Android TV devices, with both mpeg2 and h264 content. All except one worked as expected. The exception was the MiBox3 running Android 6.0.1, where playback would freeze on a frame every few seconds. I tested two other AMLogic devices with newer Android versions that did not show the same problem. H264 decoding on the MiBox3 was also not affected, so this workaround applies only to OMX.amlogic.mpeg2.decoder.awesome on Android API22. There is a rumor that Xiaomi is planning to release Android Oreo for the MiBox3, so I will revisit in a few months to confirm whether this is specific to os/driver version or the chipset used in that device. Signed-off-by: Aman Gupta <aman@tmm1.net> Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com>
* avcodec/mediacodecdec: wait on first frame after input buffers are fullAman Gupta2018-05-042-8/+1
| | | | | | | | | | | The output_buffer_count==0 special case is no longer required, and can cause spurious EAGAIN to surface to the user when input buffers are filled up. Since the caller now knows if the decoder is accepting new input (via current_input_buffer>=0), let the wait parameter control whether we block or not. Signed-off-by: Aman Gupta <aman@tmm1.net> Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com>
* avcodec/mediacodecdec: restructure mediacodec_receive_frameAman Gupta2018-05-043-51/+61
| | | | | | | | | | | | | The new logic follows a recommendation by @rcombs to use dequeueInputBuffer with a timeout of 0 as a way to detect whether the codec wants more data. The dequeued buffer index is kept in MediaCodecDecContext until it can be used next. A similar technique is also used by the Google's official media player Exoplayer: see MediaCodecRenderer.feedInputBuffer(). Signed-off-by: Aman Gupta <aman@tmm1.net> Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com>
* avcodec/mediacodec_wrapper: add helper to fetch SDK_INTAman Gupta2018-05-042-0/+17
| | | | | Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com> Signed-off-by: Aman Gupta <aman@tmm1.net>
* avformat: add vapoursynth wrapperwm42018-05-045-1/+504
| | | | | | | | | | | | | This can "demux" .vpy files. Autodetection of .vpy scripts is intentionally not done, because it would be a major security issue. You need to force the format, for example with "-f vapoursynth" for the FFmpeg CLI tools. Some minor code copied from other LGPL parts of FFmpeg. I did not find a good way to test a few of the more obscure VS features, like VFR nodes, compat pixel formats, or nodes with dynamic size/format changes. These can be easily implemented on demand.
* Adds SRCNN filter.Sergey Lavrushkin2018-05-045-0/+1278
| | | | Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* avfilter/vf_amplify: add more options for finer filteringPaul B Mahol2018-05-042-8/+35
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/hls: don't propagate deprecated "user-agent" AVOptionwm42018-05-041-1/+1
| | | | | | | | | This code will print a warning if any user agent is set - even if the API user used the proper non-deprecated "user_agent" option. This change should not even break anything, because even if the user sets the deprecated "user-agent" option, http.c copies it to the "user_agent" option anyway.
* avformat/matroskaenc: do not write timebase as frameratewm42018-05-041-2/+0
| | | | | | | | | | | | | If the API user doesn't set avg_frame_rate, matroskaenc will write the current timebase as "default duration" for the video track. This makes no sense, because the "default duration" implies the framerate of the video. Since the timebase is forced to 1/1000, this will make the resulting file claim 1000fps. Drop it and don't write the element. It's optional, so it's better not to write it if the framerate is unknown. Strangely does not require FATE changes.
* avcodec/h263dec: Document padding_bug_score heuristic used for wrong stuffingMichael Niedermayer2018-05-041-0/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* vaapi_encode_h264: Take VAAPIEncodeH264Context::sei_needed as an ORed valueHaihao Xiang2018-05-031-7/+8
| | | | | | We may check priv->sei_needed only when writing SEI messages. Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* avfilter/drawutils: add support for full rangePaul B Mahol2018-05-034-8/+26
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/mpeg4videodec: Split decode_studio_vol_header() out of ↵Michael Niedermayer2018-05-031-9/+21
| | | | | | decode_studiovisualobject() Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mpeg4videodec: Move decode_studiovisualobject() parsing in the ↵Michael Niedermayer2018-05-031-10/+5
| | | | | | | | | | branch for visual object parsing Fixes: runtime error: shift exponent -1 is negative Fixes: 7510/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fuzzer-5024523356209152 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/yuv4mpegdec: simplify mathPaul B Mahol2018-05-032-34/+32
| | | | | | This one actually works with hd1080 y4m files when seeking backwards. Signed-off-by: Paul B Mahol <onemda@gmail.com>
OpenPOWER on IntegriCloud