- 19 Feb, 2018 3 commits
-
-
Aman Gupta authored
This refactor splits up the main mediacodec decode loop into two send/receive helpers, which are then used to rewrite the receive_frame callback and take full advantage of the new decoding api. Since we can now request packets on demand with ff_decode_get_packet(), the fifo buffer is no longer necessary and has been removed. This change was motivated by behavior observed on certain Android TV devices, featuring hardware mpeg2/h264 decoders which also deinterlace content (to produce multiple frames per field). Previously, this code caused buffering issues because queueInputBuffer() was always invoked before each dequeueOutputBuffer(), even though twice as many output buffers were being generated. With this patch, the decoder will always attempt to drain new frames first before sending more data into the underlying codec. Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com>
-
Tobias Rapp authored
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
-
Tobias Rapp authored
Prefer direct in/out channel count values over channel layout, when available. Fixes a pan filter bug (ticket #6790). Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
-
- 18 Feb, 2018 2 commits
-
-
Michael Niedermayer authored
Fixes: 5894/clusterfuzz-testcase-minimized-5315325420634112 Fixes: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int' Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: signed integer overflow: 3 + 2147483647 cannot be represented in type 'int' Fixes: 5888/clusterfuzz-testcase-minimized-5634701067812864 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 17 Feb, 2018 6 commits
-
-
Calvin Walton authored
These tests cover specific rounding behaviour, to ensure that I don't introduce any regressions with the rewritten "activate" callback based fps filter. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: Integer overflow Fixes: 5746/clusterfuzz-testcase-minimized-6270097623613440 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: OOM Fixes: 5733/clusterfuzz-testcase-minimized-4906757966004224 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: Timeout Fixes: 5653/clusterfuzz-testcase-5497680018014208 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: runtime error: shift exponent -7 is negative Fixes: 3902/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EXR_fuzzer-6081926122176512 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: 5567/clusterfuzz-testcase-minimized-5769966247739392 Fixes: runtime error: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 16 Feb, 2018 2 commits
-
-
Gyan Doshi authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Gyan Doshi authored
PCM_S16BE stream packets in MPEG-PS have a 3-byte header and are recognized as PCM_DVD by the demuxer which prevents their correct remuxing in MPEG-1/2 PS. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 15 Feb, 2018 5 commits
-
-
James Almer authored
See 651ee934 fcc4ed1eSigned-off-by: James Almer <jamrial@gmail.com>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: integer overflows Reported-by: "Xiaohan Wang (王消寒)" <xhwang@chromium.org> Based on limits in "8.5 Transform coefficient decoding process and picture construction process prior to deblocking filter process" Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Jérôme Martinez authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 14 Feb, 2018 6 commits
-
-
James Almer authored
This makes sure no field is ever used uninitialized. Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
-
James Almer authored
And remove the function altogether while at it. It's a duplicate of another. Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
-
Yusuke Nakamura authored
This effectively copies the side data elements from src instead of potentially merging them with those already existing in dst. This by extension also removes the only dependency on existing values in the dst packet. Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
-
Niklas Haas authored
Right now, the PTS always starts out as 0, which causes problems on a seek or when inserting this filter mid-stream. Initialize it instead to AV_NOPTS_VALUE and copy the PTS from the first frame instead if this is the case.
-
Carl Eugen Hoyos authored
Reviewed-by: Muhammad Faiz
-
Xiaohan Wang authored
When ff_h264_decode_mb_cavlc() failed due to wrong sl->qscale values, e.g. dquant out of range, set the qscale to be a valid value before returning -1 and exiting the function. The qscale value can be used later e.g. in loop filter. BUG=806122 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 13 Feb, 2018 1 commit
-
-
wm4 authored
These were needed for ABI compatibility with Libav. We don't need them anymore.
-
- 12 Feb, 2018 15 commits
-
-
Ray Tiley authored
This changes how NTSC VANC is extracted from the buffer. In NTSC the vanc data is interleaved between luma and chroma, and not just the luma as in high definition resolutions. In my testing this allows a decklink card encoding valid NTSC closed captions to pass the caption data to the x264 encoder. Updated with reviews from Devin Heitmueller and Marton Balint. Signed-off-by: Ray Tiley <raytiley@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
In a recent commit the default was changed from 0 (component) to 5 (unspecified), however some standards require using 0. With this option, the user will be able to do so. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Marton Balint <cus@passwd.hu>
-
Mark Thompson authored
* commit 'a674b312': build: Ignore generated mpeg12framerate test binary This commit is a noop, see fb791d28Merged-by: Mark Thompson <sw@jkqxz.net>
-
Mark Thompson authored
* commit '5b6213ef': avcodec/vc1dec: fix mby_start for interlaced content This commit is a noop, see c9f72e4bMerged-by: Mark Thompson <sw@jkqxz.net>
-
Mark Thompson authored
* commit '9b09792c': lavc/qsv: default la_ds to MFX_LOOKAHEAD_DS_UNKNOWN This commit is a noop: the code in FFmpeg is slightly different and never contained the invalid value. Merged-by: Mark Thompson <sw@jkqxz.net>
-
Mark Thompson authored
* commit '8bb9824f': qsvenc: AVBR is not supported on non-windows OS Merged-by: Mark Thompson <sw@jkqxz.net>
-
Mark Thompson authored
* commit 'e412d683': hwcontext: Perform usual uninitialisation on derived frames contexts This commit is a noop, see 0f93cef2Merged-by: Mark Thompson <sw@jkqxz.net>
-
Mark Thompson authored
* commit 'caecb850': hwcontext: Perform usual initialisation on derived device contexts This commit is a noop, see 309d6607Merged-by: Mark Thompson <sw@jkqxz.net>
-
Mark Thompson authored
* commit 'c6bc18bc': vf_hwupload/hwmap: Support setting a fixed pool size Merged-by: Mark Thompson <sw@jkqxz.net>
-
Mark Thompson authored
* commit 'e4cdef00': vf_scale_qsv: Support increasing hardware frame pool size Merged-by: Mark Thompson <sw@jkqxz.net>
-
Mark Thompson authored
Broken by d23fff0d.
-
Mark Thompson authored
* commit 'b128be17': vf_*_vaapi: Support increasing hardware frame pool size Rewritten to apply to common VAAPI code rather than specific filters. Merged-by: Mark Thompson <sw@jkqxz.net>
-
Mark Thompson authored
* commit '6d86cef0': lavfi: Add support for increasing hardware frame pool sizes Merged-by: Mark Thompson <sw@jkqxz.net>
-
Mark Thompson authored
* commit 'cad739da': lavc: Add per-thread surfaces in get_hw_frame_parameters() Merged-by: Mark Thompson <sw@jkqxz.net>
-
Mark Thompson authored
* commit '5b145290': lavc: Add support for increasing hardware frame pool sizes Merged-by: Mark Thompson <sw@jkqxz.net>
-