summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avcodec/hevc_cabac: Fix integer overflow in ff_hevc_cu_qp_delta_abs()Michael Niedermayer2017-12-17
| | | | | | | | Fixes: signed integer overflow: 2147483647 + 1073741824 cannot be represented in type 'int' Fixes: 4555/clusterfuzz-testcase-minimized-4505532481142784 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/hevc_sei: Fix integer overflows in decode_nal_sei_message()Michael Niedermayer2017-12-17
| | | | | | | | Fixes: signed integer overflow: 2147483520 + 255 cannot be represented in type 'int' Fixes: 4554/clusterfuzz-testcase-minimized-4843714515042304 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/hevcdsp_template: Fix undefined shift in put_hevc_qpel_bi_w_hv()Michael Niedermayer2017-12-17
| | | | | | | | Fixes: runtime error: left shift of negative value -3 Fixes: 4524/clusterfuzz-testcase-minimized-6055590120914944 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_overlay: add premultiplied alpha modePaul B Mahol2017-12-16
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* configure: fix probing armv6zkwang-bin2017-12-16
| | | | | | clang reports 6kz: https://reviews.llvm.org/D14568 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavcodec/magicyuvenc : fix warningMartin Vignali2017-12-16
|
* lavc/mediacodec_wrapper: fix potential jni global reference leakMatthieu Bouron2017-12-16
|
* lavc/mediacodec_wrapper: factorize MediaCodec creation functionsMatthieu Bouron2017-12-16
|
* lavc/mediacodec: use AVMediaCodecDeviceContext hw_device_ctx if setAman Gupta2017-12-16
| | | | Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com>
* lavu/hwcontext: add AV_HWDEVICE_TYPE_MEDIACODECAman Gupta2017-12-16
| | | | Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com>
* doc/libav-merge: remove line about VP9 superframe parsingJames Almer2017-12-15
| | | | | | | | It was addressed in a5679933c1b8b6bef5c5c3eb7c70d06c695066cf, 0c162854c1fa2a1e43ce5588b67842675f45e3c7 and 5a366f9770dd7b02b0721b2857d6baa96acdb0af. Signed-off-by: James Almer <jamrial@gmail.com>
* doc/libav-merge: Remove VAAPI VP8 decode hwaccel merge noteMark Thompson2017-12-15
| | | | | Done in 9f00fa536938130e3c7ad2640a61795770d419a1 and 40b75a943bcb6a4af00c44ef6e52cbfc3e6580d8.
* lavc/vp8: Support resolution changes in the VP8 decoder hwaccelJun Zhao2017-12-15
| | | | | | | | | | | | | Use the following command to reproduce this issue: make fate-vp8-size-change HWACCEL="vaapi -vaapi_device \ /dev/dri/renderD128 -hwaccel_output_format yuv420p" SAMPLES=../fate-suite/. At the same time, reconstruct the public logic as a function. Signed-off-by: Yun Zhou <yunx.z.zhou@intel.com> Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* avformat/hlsenc: Extend persistent http connections to playlistsKarthick J2017-12-15
| | | | | | | | Before this patch persistent http connections would work only for media segments. The playlists were still opening a new connection everytime. This patch extends persistent http connections to playlists as well. Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/hlsenc: Handle NULL input in IO open and close utility functionsKarthick J2017-12-15
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/hlsenc: Call avio_flush during persistent http connectionsKarthick J2017-12-15
| | | | | | | Since close is not called, during http persistent connection, flush needs to be called so that output is written on time. Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avfilter/x86/vf_interlace : avfilter/x86/vf_interlace : fix crash when using ↵Martin Vignali2017-12-15
| | | | | | unaligned data in low_pass complex related to ticket 6491
* avfilter/x86/vf_interlace : avoid crash when data are unalignedMartin Vignali2017-12-15
| | | | ticket 6491
* avformat/movenc: Add support for more colorspacesSteven Robertson2017-12-15
| | | | | | | | With FCPX 10.4, Apple has expanded the set of colorspace, primaries, and trc flags officially supported in QuickTime files. The expanded set matches the codepoints used in ffmpeg and many other specs. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/vp9: mark frame as finished on decode_tiles() failureMichael Niedermayer2017-12-15
| | | | | | | | | | | Fixes deadlock with framethreads Fixes: Netflix_Aerial_1080p_60fps_8bit_420.y4m.vp9.noaltref.webm.ivf.s69372_r01-05_b6-.ivf Fixes: Netflix_Aerial_1080p_60fps_10bit_420.y4m.vp9.noaltref.webm.ivf.s149104_r01-05_b6-.ivf Fixes: ducks_take_off_444_720p50.y4m.vp9.webm.ivf.s107375_r01-05_b6-.ivf Reported-by: James Zern <jzern@google.com> Reviewed-by: James Zern <jzern@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/drawbox+drawgrid - add option to prevent overwriting of source pixelsGyan Doshi2017-12-14
| | | | | | | | | | If the user-supplied color in drawbox and drawgrid filters is non-opaque, the box & grid painting overwrites the input's pixels (including alpha). Users typically expect the alpha of the specified color to only act as a key for compositing on top of the main input. Added option allows users to select between replacement and composition. Tested and documented.
* Merge commit '47687a2f8aca3f65b6fdd117b1cb66a7409a7fd1'James Almer2017-12-14
|\ | | | | | | | | | | | | | | | | * commit '47687a2f8aca3f65b6fdd117b1cb66a7409a7fd1': avcodec: add metadata to identify wrappers and hardware decoders This commit is a noop, see b945fed629a872d393f59d16fc5773574126ca88 Merged-by: James Almer <jamrial@gmail.com>
| * avcodec: add metadata to identify wrappers and hardware decoderswm42017-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Explicitly identify decoder/encoder wrappers with a common name. This saves API users from guessing by the name suffix. For example, they don't have to guess that "h264_qsv" is the h264 QSV implementation, and instead they can just check the AVCodec .codec and .wrapper_name fields. Explicitly mark AVCodec entries that are hardware decoders or most likely hardware decoders with new AV_CODEC_CAPs. The purpose is allowing API users listing hardware decoders in a more generic way. The proposed AVCodecHWConfig does not provide this information fully, because it's concerned with decoder configuration, not information about the fact whether the hardware is used or not. AV_CODEC_CAP_HYBRID exists specifically for QSV, which can have software implementations in case the hardware is not capable. Based on a patch by Philip Langdale <philipl@overt.org>. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '508378556631dc18d32247b4a4e35703758e1ca9'James Almer2017-12-14
|\| | | | | | | | | | | | | * commit '508378556631dc18d32247b4a4e35703758e1ca9': qsv: Support explicit lookahead downscaling Merged-by: James Almer <jamrial@gmail.com>
| * qsv: Support explicit lookahead downscalingLuca Barbato2017-12-12
| |
* | Merge commit 'f2e9a0ecbef5027f9532c49ffcdfc11d199f6150'James Almer2017-12-14
|\| | | | | | | | | | | | | * commit 'f2e9a0ecbef5027f9532c49ffcdfc11d199f6150': qsv/vp8dec: fixes memory leak issue Merged-by: James Almer <jamrial@gmail.com>
| * qsv/vp8dec: fixes memory leak issueLi, Zhong2017-12-12
| | | | | | | | | | Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
* | Merge commit '7c65a76b16bc3a44f1592acde2176f187a058797'James Almer2017-12-14
|\| | | | | | | | | | | | | * commit '7c65a76b16bc3a44f1592acde2176f187a058797': lavc/qsvenc: add error messeage if ICQ unsupported. Merged-by: James Almer <jamrial@gmail.com>
| * lavc/qsvenc: add error messeage if ICQ unsupported.Li, Zhong2017-12-12
| | | | | | | | | | Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
* | Merge commit 'bddb2ce179c57db6e3c79fdc3363c165d90850b0'James Almer2017-12-14
|\| | | | | | | | | | | | | * commit 'bddb2ce179c57db6e3c79fdc3363c165d90850b0': lavc/qsvenc: ICQ/VCM/QVBR are not avilable on Linux Merged-by: James Almer <jamrial@gmail.com>
| * lavc/qsvenc: ICQ/VCM/QVBR are not avilable on LinuxLi, Zhong2017-12-12
| | | | | | | | | | Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
* | Merge commit '6ff29343b01923e9b125fe7404ac8701cdfb1fe5'James Almer2017-12-14
|\| | | | | | | | | | | | | * commit '6ff29343b01923e9b125fe7404ac8701cdfb1fe5': lavc/qsvenc: set HRD buffer size Merged-by: James Almer <jamrial@gmail.com>
| * lavc/qsvenc: set HRD buffer sizeLi, Zhong2017-12-12
| | | | | | | | | | | | | | | | | | | | Hypothetical Reference Decoding (HRD) model assumes that data flows into a buffer of the fixed size BufferSizeInKB with a constant bitrate. Smaller BufferSizeInKB means smaller frame size variations, but more difficult to maintain HRD. Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
* | Merge commit '18a0f420269ff4c730422361c5c4d8eea096e900'James Almer2017-12-14
|\| | | | | | | | | | | | | | | | | | | * commit '18a0f420269ff4c730422361c5c4d8eea096e900': checkasm: Use LOCAL_ALIGNED for aligned variables on the stack This commit is a noop, see https://ffmpeg.org/pipermail/ffmpeg-devel/2015-December/184777.html Merged-by: James Almer <jamrial@gmail.com>
| * checkasm: Use LOCAL_ALIGNED for aligned variables on the stackMartin Storsjö2017-12-12
| | | | | | | | | | | | | | This fixes fate-checkasm-hevc_mc on ARMCC 5.0 after adding NEON HEVC MC assembly. Signed-off-by: Martin Storsjö <martin@martin.st>
* | avcodec: add metadata to identify wrappers and hardware decoderswm42017-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Explicitly identify decoder/encoder wrappers with a common name. This saves API users from guessing by the name suffix. For example, they don't have to guess that "h264_qsv" is the h264 QSV implementation, and instead they can just check the AVCodec .codec and .wrapper_name fields. Explicitly mark AVCodec entries that are hardware decoders or most likely hardware decoders with new AV_CODEC_CAPs. The purpose is allowing API users listing hardware decoders in a more generic way. The proposed AVCodecHWConfig does not provide this information fully, because it's concerned with decoder configuration, not information about the fact whether the hardware is used or not. AV_CODEC_CAP_HYBRID exists specifically for QSV, which can have software implementations in case the hardware is not capable. Based on a patch by Philip Langdale <philipl@overt.org>. Merges Libav commit 47687a2f8aca3f65b6fdd117b1cb66a7409a7fd1.
* | lavf/mpegts: mark packets with TEI flag as corruptedRodger Combs2017-12-13
| |
* | libavcodec/decode: remove duplicate includesMichael Niedermayer2017-12-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | ivfenc: add AV1 supportTristan Matthews2017-12-13
| | | | | | | | libaom tools work with ivf files.
* | patcheck: Add 'threshhold' to common typo listKelly Ledford2017-12-13
| | | | | | | | | | Signed-off-by: Kelly Ledford <kelly.ledford@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavfilter/af_dcshift.c: Fixed repeated spelling errorKelly Ledford2017-12-13
| | | | | | | | | | | | | | 'threshhold' should be 'threshold' Signed-off-by: Kelly Ledford <kelly.ledford@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | checkasm/vf_hflip : add test for vf_hflip byte and short simdMartin Vignali2017-12-13
| |
* | avfilter/vf_hflip : move context func init in ff_hflip_initMartin Vignali2017-12-13
| |
* | libavcodec/mpegvideo_parser: improve detection of progressive mpeg2Aman Gupta2017-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously many progressive mpeg2video samples were detected as interlaced by ffmpeg/ffprobe. For example, https://tmm1.s3.amazonaws.com/720p.ts Before: Input #0, mpegts, from 'https://tmm1.s3.amazonaws.com/720p.ts': Duration: 00:00:08.62, start: 18974.073233, bitrate: 9734 kb/s Program 2 Stream #0:0[0x12eb]: Video: mpeg2video (Main), yuv420p(tv, bottom first), 1280x720 ... After: Input #0, mpegts, from 'https://tmm1.s3.amazonaws.com/720p.ts': Duration: 00:00:08.62, start: 18974.073233, bitrate: 9734 kb/s Program 2 Stream #0:0[0x12eb]: Video: mpeg2video (Main), yuv420p(tv, progressive), 1280x720 ... Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/formats: fix wrong function name in error messageJun Zhao2017-12-13
| | | | | | | | | | | | | | | | Use perdefined micro __FUNCTION__ rather than hard coding function name to fix wrong function name in error message. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/mux: factorize AVFormatContext->avoid_negative_ts initializationJames Almer2017-12-12
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* | avfilter/vf_pseudocolor: add support for more formatsPaul B Mahol2017-12-12
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat/hlsenc: reindent after previous commitsSteven Liu2017-12-12
| |
* | doc/filters: re-arrange options for testsrc familyLou Logan2017-12-11
| | | | | | | | | | | | | | | | | | | | Additionally: * Mention that allrgb and allyuv do not support the "size" option. * Separate examples into subsection. Fixes ticket #6906. Signed-off-by: Lou Logan <lou@lrcd.com>
* | avfilter/avfiltergraph: remove ugly dead codePaul B Mahol2017-12-11
| | | | | | | | | | | | Remnant of old merge. Signed-off-by: Paul B Mahol <onemda@gmail.com>