summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avfilter/vf_lensfun: add scale parameterDaniel Playfair Cal2019-03-25
| | | | | | | | | | | | | | | | | | | The lensfun filter wraps the lensfun library which performs transformations on videos to correct for lens distortion. Often this results in areas in the input being mapped to areas that fall outside the boundaries of the output. The library has a parameter called scale which is a scale factor applied to the output video. By decreasing it it is possible to regain the areas of the video which would otherwise have been lost. There is a special value of 0 which indicates that the library should automatically determine a scale factor that results in the output frame being filled (i.e. little or no black/unmapped areas). This patch adds a corresponding scale option to the lensfun filter which is passed through to the library. The existing behaviour of using the automatic value of 0 is retained as the default behaviour, while other values will be passed through to the library. Signed-off-by: Daniel Playfair Cal <daniel.playfair.cal@gmail.com>
* doc/filters: indicate range for zoom in lavfi/zoompanGyan Doshi2019-03-25
|
* avcodec/cbs_av1: fix range of values for Mastering Display Color Volume ↵James Almer2019-03-25
| | | | | | Metadata OBUs Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/jpeg2000dec: Skip de-quantization of empty areasMichael Niedermayer2019-03-25
| | | | | | | | Fixes: Timeout (26sec -> 18sec) Fixes: 13448/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-576903098243481 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/prosumer: Check decoded sizeMichael Niedermayer2019-03-25
| | | | | | | | Fixes: Timeout (longer than i had patience for -> 2sec) Fixes: 13205/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PROSUMER_fuzzer-5105644481282048 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mpegpicture: Check size of edge_emu_bufferMichael Niedermayer2019-03-25
| | | | | | | | Fixes: OOM Fixes: 13710/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fuzzer-5633152942342144 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/indeo2: Check input size against resolution in ir2_decode_plane()Michael Niedermayer2019-03-25
| | | | | | | | Fixes: Timeout (56 sec -> 14 sec) Fixes: 13708/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO2_fuzzer-5656342004498432 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mov: Fix potential integer overflow in entry check in mov_read_trun()Michael Niedermayer2019-03-25
| | | | | | No testcase Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/dxtory: Check slice sizes before allocating imageMichael Niedermayer2019-03-25
| | | | | | | | Fixes: Timeout (26sec -> 2sec) Fixes: 13612/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DXTORY_fuzzer-5676845977042944 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/truemotion2: Fix integer overflow in tm2_null_res_block()Michael Niedermayer2019-03-25
| | | | | | | | Fixes: signed integer overflow: 1111638592 - -2122219136 cannot be represented in type 'int' Fixes: 13441/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEMOTION2_fuzzer-5732769815068672 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/rtsp: Add https tunneling supportJun Li2019-03-25
| | | | | Add https based tunneling for RTSP/RTP. Tested on Axis and Bosch cameras. Https is widely used for security consideration.
* avcodec/av1_parser: don't abort parsing the first frame if extradata parsing ↵James Almer2019-03-24
| | | | | | | | | | | fails The first frame contains the sequence header, which is needed to parse every following frame. This fixes parsing streams with broken extradata but correct packet data. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/tiff: do not allow bpp 40 with undefined pixel formatsMichael Niedermayer2019-03-24
| | | | | | | | | | | | | | Fixes: Out of array access, assertion failure Fixes: 13851/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-5754570929602560 Fixes: 13869/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-5695998313103360 Fixes: 13873/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-5077273645940736 Fixes: 13874/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-5756396757319680 Fixes: 13877/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-5741026750234624 Fixes: 13880/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-5649148809838592 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavd/v4l2: Fix the type of the probe function.Carl Eugen Hoyos2019-03-23
|
* lavc/libdavs2: fix frame dumping error descriptionhwrenx2019-03-23
| | | | | Reviewed-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: hwrenx <hwrenx@126.com>
* lavc/libdavs2: add davs2_flushhwrenx2019-03-23
| | | | | Reviewed-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: hwrenx <hwrenx@126.com>
* avformat/avformat.h: update the comment from deprecated to new APISteven Liu2019-03-23
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* lavf/flvdec: fix typo in log messageJun Zhao2019-03-23
| | | | | | fix typo in log message, it's come from cd141e71bd3 Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* lavfi/sidedata: add missed frame side data typeJun Zhao2019-03-23
| | | | | | add missed frame side data type Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* Merge commit '0676de935b1e81bc5b5698fef3e7d48ff2ea77ff'James Almer2019-03-22
|\ | | | | | | | | | | | | * commit '0676de935b1e81bc5b5698fef3e7d48ff2ea77ff': arm: Implement a NEON version of 422 h264_h_loop_filter_chroma Merged-by: James Almer <jamrial@gmail.com>
| * arm: Implement a NEON version of 422 h264_h_loop_filter_chromaMartin Storsjö2019-03-21
| | | | | | | | | | | | | | | | Previously, the 420 version was used even for 422. This fixes occasional checkasm failures. Signed-off-by: Martin Storsjö <martin@martin.st>
* | lavd/v4l2-common: Add an entry for Z16.Carl Eugen Hoyos2019-03-22
| |
* | lavfi/colorspace_common: add ifdef check to be more compatible.Ruiling Song2019-03-22
| | | | | | | | | | | | | | | | Some filters may not need to do linearize/delinearize, thus will even not define them. Add ifdef check, so they could easily re-use the .cl file. Signed-off-by: Ruiling Song <ruiling.song@intel.com>
* | lavfi/tonemap_opencl: reuse color matrix calculation from colorspace.cRuiling Song2019-03-22
| | | | | | | | Signed-off-by: Ruiling Song <ruiling.song@intel.com>
* | lavfi/opencl: add ff_opencl_print_const_matrix_3x3()Ruiling Song2019-03-22
| | | | | | | | | | | | | | This is used to print a 3x3 matrix into a part of OpenCL source code. Signed-off-by: Ruiling Song <ruiling.song@intel.com>
* | lavfi/colorspace: move some functions to common fileRuiling Song2019-03-22
| | | | | | | | | | | | | | These functions can be reused by other colorspace filters, so move them to common file. No functional changes. Signed-off-by: Ruiling Song <ruiling.song@intel.com>
* | lavu/opencl: replace va_ext.h with standard nameRuiling Song2019-03-22
| | | | | | | | | | | | | | | | | | Khronos OpenCL header (https://github.com/KhronosGroup/OpenCL-Headers) uses cl_va_api_media_sharing_intel.h. And Intel's official OpenCL driver for Intel GPU (https://github.com/intel/compute-runtime) was compiled against Khronos OpenCL header. So it's better to align with Khronos. Signed-off-by: Ruiling Song <ruiling.song@intel.com>
* | MAINTAINERS: remove myself as mailing list maintainerLou Logan2019-03-21
| | | | | | | | | | | | Refer to Michael, compn, or Baptiste. Signed-off-by: Lou Logan <lou@lrcd.com>
* | doc/mailing-list-faq: ffmpeg-devel is now subscription onlyLou Logan2019-03-21
| | | | | | | | | | | | | | | | | | | | | | Nobody is going to check the queue anymore, so users must now subscribe to send messages to ffmpeg-devel. This will prevent orphaned/ignored messages from rotting in the abandoned queue. This matches the behavior of ffmpeg-user and libav-user. Also, this addresses some other nits. Signed-off-by: Lou Logan <lou@lrcd.com>
* | lavf: Constify the probe function argument.Carl Eugen Hoyos2019-03-21
| | | | | | | | | | Reviewed-by: Lauri Kasanen Reviewed-by: Tomas Härdin
* | Maintainers : remove myselfMartin Vignali2019-03-21
| | | | | | | | | | | | | | Too much hostility in this project Not enough respect for users and contributors I'm not interested to contribute anymore
* | avfilter/af_astats: add support for optimized min/max/peak calculationMarton Balint2019-03-21
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | avfilter/af_astats: rework sample loopsMarton Balint2019-03-21
| | | | | | | | | | | | | | The channel loop is now the outer loop for both planar and interleaved. This is needed by the next patch, and the speed difference is negligable if any. Signed-off-by: Marton Balint <cus@passwd.hu>
* | avfilter/af_astats: factorize sample loopsMarton Balint2019-03-21
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | avfilter/af_astats: fix identationMarton Balint2019-03-21
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | avfilter/af_astats: add support for selecting measured statisticsMarton Balint2019-03-21
| | | | | | | | | | | | | | | | | | | | | | set_metadata with many entries is not very efficient, and with small audio frames the performance loss is noticable. Also with this very simple calculations (like peak) can be even further optimized. Unfoturnately there are some small differences in metadata and av_log info output, so factorizing calculations and output might not worth the hassle. Signed-off-by: Marton Balint <cus@passwd.hu>
* | lavf/latmenc: Error out for unsupported codecs.Carl Eugen Hoyos2019-03-21
| |
* | avcodec/hevcdec: decode at most one slice reporting being the first in the ↵James Almer2019-03-20
| | | | | | | | | | | | | | | | | | | | picture Fixes deadlocks when decoding packets containing more than one of the aforementioned slices when using frame threads. Tested-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | lavf/allformats: Remove an accidentally committed line.Carl Eugen Hoyos2019-03-20
| | | | | | | | | | Regression since 3aa6208d. Reported-by: Lou Logan
* | doc/ffmpeg: muxdelay and muxpreload are output optionsAman Gupta2019-03-20
| | | | | | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* | avcodec/arbc: Check nb_segments before allocating and copying frameMichael Niedermayer2019-03-20
| | | | | | | | | | | | | | | | Fixes: Timeout (30sec -> 2sec) Fixes: 13578/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ARBC_fuzzer-5685625527730176 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/scpr: Perform frame copy laterMichael Niedermayer2019-03-20
| | | | | | | | | | | | | | Optimization found while looking at 13442/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5758293933293568 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | tools/target_dec_fate.list: add issues 4000 to 6000Michael Niedermayer2019-03-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf: Constify AVProbeData* in av_probe_input_format().Carl Eugen Hoyos2019-03-20
| |
* | lavf/avformat: Add a warning that ff_const59 is not part of the public api.Carl Eugen Hoyos2019-03-20
| |
* | lavf: Constify AVInputFormat pointer.Carl Eugen Hoyos2019-03-20
| |
* | lavf: Constify AVOutputFormat pointer.Carl Eugen Hoyos2019-03-20
| |
* | lavc/arbc: Use AV_WB24() where applicable.Carl Eugen Hoyos2019-03-20
| |
* | lavc/tiff: Allow decoding of cmyka (five components).Carl Eugen Hoyos2019-03-20
| | | | | | | | Fixes ticket #7675.
* | lavf/http: Print metadata updates with -loglevel verbose.Carl Eugen Hoyos2019-03-20
| | | | | | | | Simplifies metadata debugging.