summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lavfi/nlmeans: add SIMD-friendly assumptions for compute_safe_ssd_integral_imageClément Bœsch2018-05-081-7/+18
| | | | | | | | | SIMD code will not have to deal with padding itself. Overwriting in that function may have been possible but involve large overreading of the sources. Instead, we simply make sure the width to process is always a multiple of 16. Additionally, there must be some actual area to process so the SIMD code can have its boundary checks after processing the first pixels.
* lavfi/nlmeans: random code shuffling to help compilerClément Bœsch2018-05-081-4/+4
| | | | This makes nlmeans_slice() slightly faster at least on GCC 7.3.
* avformat/segafilmenc - set keyframe bit correctlyGyan Doshi2018-05-082-2/+2
| | | | | | | | As per https://web.archive.org/web/20020803104640/http://www.pcisys.net:80/~melanson/codecs/film-format.txt, the top bit of the info1 chunk is set as 1 for inter-coded frames and 0 otherwise.
* mdct15: simplify x86 exptab permutationRostislav Pehlivanov2018-05-071-29/+24
| | | | | | Removes an unneeded copy and does the 5-point permute in-place. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* mdct15: simplify the fft15 x86 SIMDRostislav Pehlivanov2018-05-071-20/+17
| | | | | | Saves 1 gpr and 2 instructions and simplifies the macros a bit. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* vaapi_encode_vp8: memset the the structure to 0Haihao Xiang2018-05-071-0/+2
| | | | | | | The structure has reserved bytes, it is required to set the reserved bytes to 0 for future use. Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* cbs_h264: Need [] in the name when subscript is requiredHaihao Xiang2018-05-071-1/+1
| | | | | | | Otherwise it will hit an assert in the function ff_cbs_trace_syntax_element() in cbs.c, line 400. Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* lavc/qsvenc: set corret maximum value of look_ahead_downsamplingZhong Li2018-05-071-1/+1
| | | | | | | Option "4x(MFX_LOOKAHEAD_DS_4x)" is provided but can't be set due to wrong maximum value. Signed-off-by: Zhong Li <zhong.li@intel.com>
* configure: fix and simplify xlib checkJames Almer2018-05-061-3/+2
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* configure: add missing dependencies to vf_srcnnJames Almer2018-05-061-0/+2
| | | | | | | The access dependecy is temporary and should fix compilation with msvc until a proper fix is committed. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/libzvbi-teletextdec: remove DEBUG codeMarton Balint2018-05-061-25/+0
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec/libzvbi-teletextdec: allow -1 subtitle duration and make it the defaultMarton Balint2018-05-063-3/+4
| | | | | | | Most decoders (pgssubdec, ccaption_dec) are using -1 or UINT32_MAX for a subtitle event which should be cleared at the next event. Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec/jpeg2000dec: Fix undefined shift in the ↵Michael Niedermayer2018-05-061-2/+2
| | | | | | | | | | jpeg2000_decode_packets_po_iteration() CPRL case Fixes: shift exponent 47 is too large for 32-bit type 'int' Fixes: 7955/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-6016721977606144 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/jpeg2000dec: Skip init for component in CPRL if nothing is to be doneMichael Niedermayer2018-05-061-0/+3
| | | | | | | | Fixes: assertion failure Fixes: 7949/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-4819602782552064 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/jpeg2000dec: Reduce the number of tile parts allocatedMichael Niedermayer2018-05-061-2/+5
| | | | | | | | | | | | | | This is large enough for all jpeg2000 files i tested. If some need more then this should be changed to dynamic allocation. Dynamic allocation would need to be done carefully as these are many relatively small arrays so repeatly reallocating them would not be good. The decrease is a clean and simple solution assuming it works for all files. Fixes: OOM Fixes: 6534/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-4821490731057152 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/g2meet: Change order of operations to avoid undefined behaviorMichael Niedermayer2018-05-061-3/+5
| | | | | | | | Fixes: signed integer overflow: 65280 * 196032 cannot be represented in type 'int' Fixes: 7279/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_G2M_fuzzer-5977332473921536 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* configure: add pkg-config check for zlibJan Ekström2018-05-061-1/+2
| | | | | | It exists, so why not use it? Helps one get rid of additional search path related flags in addition to PKG_CONFIG_{PATH,LIBDIR} when utilizing a cross-prefix separate from the sysroot.
* lavf/bluray: translate a read of 0 to EOFJan Ekström2018-05-061-1/+1
| | | | | | | Yet another case of forgotten 0 =! EOF translation. The libbluray documentation specifically mentions that a read of 0 is EOF. Reported by Fyr on IRC.
* lavf/format: Remove the dead code in av_probe_input_buffer2.Jun Zhao2018-05-061-8/+0
| | | | | | Remove the dead code in av_probe_input_buffer2 Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* 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>
OpenPOWER on IntegriCloud