summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* avfilter/vf_v360: fix fov calculation for stereographic outputPaul B Mahol2019-09-111-2/+2
|
* avcodec/mediacodec_surface: define and use FFANativeWindow to mimic NDK ↵Aman Gupta2019-09-102-5/+8
| | | | | | | | | interface This will make it easy to switch to ANativeWindow_fromSurface and ANativeWindow_release in the future. Signed-off-by: Aman Gupta <[email protected]>
* avcodec/mediacodecdec: warn when input buffers are not configured with ↵Aman Gupta2019-09-101-1/+6
| | | | | | | | | | | | | | | | proper size In rare circumstances, if the codec is not configured with the proper parameters the input buffers can be allocated with a size that's too small to hold an individual packet. Since MediaCodec expects exactly one incoming buffer with a given PTS, it is not valid to split data for a given PTS across two input buffers. See https://developer.android.com/reference/android/media/MediaCodec#data-processing: > Do not submit multiple input buffers with the same timestamp Signed-off-by: Aman Gupta <[email protected]>
* doc/filters: extend flip options in v360 filterPaul B Mahol2019-09-101-1/+1
|
* avfilter/vf_v360: increase v_fov max limitPaul B Mahol2019-09-101-1/+1
|
* avfilter/vf_v360: add support for stereographic as input projectionPaul B Mahol2019-09-102-1/+46
|
* avcodec/pnm_parser: Use memchr() in pnm_parse()Michael Niedermayer2019-09-101-2/+5
| | | | | | | | | Fixes: Timeout (45sec -> 0.5sec) Fixes: 16942/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PPM_fuzzer-5085393073995776 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avfilter/vf_fps: Avoid inlink fifo build up.Nikolas Bowe2019-09-101-1/+1
| | | | | | | When duplicating frames we need to schedule for activation again, otherwise frames can build up in the inlink fifo. Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/webp: fix decoding for trailing junkPascal Massimino2019-09-101-2/+5
| | | | | | | | | | | | | some bitstream have trailing junk, despite being valid webp data. In case of apparent error, abort the loop and let *got_frame decide whether this is an error or not. fixes trac #8107 (/#7612) Another possibility would be turning the loop into: while (!*got_frame) {...} Signed-off-by: Michael Niedermayer <[email protected]>
* lavf/avidec: fix memory leak in error handling pathJun Zhao2019-09-101-1/+3
| | | | | | | free the value in error handling path to avoid the memory leak. Signed-off-by: Jun Zhao <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/mips: Fix a warnning of indentation not reflect the block structure.Shiyou Yin2019-09-101-3/+3
| | | | | | | | The indentation of code dose not reflect the if block structure in 'apply_ltp_mips', and this will generate a warnning when build with '-Wall' or '-Wmisleading-indentation'. Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/h264: Fix poc_lsb in open gop contextNicolas Gaullier2019-09-102-1/+3
| | | | | When no IDR nor mmco_reset is found, prev_poc_lsb is undefined and shall not be assumed to be zero
* tools/target_dec_fuzzer: Adjust threshold for LSCRMichael Niedermayer2019-09-091-0/+1
| | | | | | | | Fixes: Timeout (12sec -> 3sec) Fixes: 15327/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LSCR_fuzzer-5702887719567360 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* doc/filters: fix typo in v360Paul B Mahol2019-09-091-1/+1
|
* avcodec/mediacodec_surface: drop unnecessary local variableAman Gupta2019-09-091-5/+1
| | | | Signed-off-by: Aman Gupta <[email protected]>
* avcodec/mediacodecdec_common: log codec name during configure/start failuresAman Gupta2019-09-091-4/+4
| | | | | Signed-off-by: Aman Gupta <[email protected]> Signed-off-by: Matthieu Bouron <[email protected]>
* avcodec/mediacodecdec_common: ensure current input buffer is always used ↵Aman Gupta2019-09-091-1/+1
| | | | | | | | | | correctly The loop may mutate the input buffer, so re-fetch it to ensure the current one is always used. Signed-off-by: Aman Gupta <[email protected]> Signed-off-by: Matthieu Bouron <[email protected]>
* avcodec/mediacodecdec_common: improve trace logging for end-of-streamAman Gupta2019-09-091-1/+1
| | | | | Signed-off-by: Aman Gupta <[email protected]> Signed-off-by: Matthieu Bouron <[email protected]>
* avcodec/mediacodecdec_common: warn when PTS is missingAman Gupta2019-09-091-1/+5
| | | | | | | MediaCodec decoders require PTS for proper operation. Signed-off-by: Aman Gupta <[email protected]> Signed-off-by: Matthieu Bouron <[email protected]>
* avfilter/vf_v360: add padding to u/v/kerPaul B Mahol2019-09-092-9/+15
| | | | Fixes use of uninitialized variables.
* swscale/swscale: delete unwanted assignmentsLimin Wang2019-09-091-2/+0
| | | | | Signed-off-by: Limin Wang <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* tests: Fix bash errors in lavf_container tests.Andrey Semashev2019-09-091-1/+1
| | | | | | | | | | | | | Because the lavf_container is sometimes called with only 2 arguments, fate tests produce bash errors like this: tests/fate-run.sh: 299: test: =: unexpected operator This commit fixes this. Reviewed-by: Limin Wang <[email protected]> Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avfilter/vf_v360: add guards against NaNsPaul B Mahol2019-09-091-0/+6
| | | | | Also normalize vector after rotation, it might be needed, otherwise one can get NaNs.
* avfilter/vf_v360: partialy revert previous commitPaul B Mahol2019-09-093-26/+4
| | | | roll/pitch can do exactly same thing.
* avfilter/vf_v360: extend stereographic projectionPaul B Mahol2019-09-093-9/+31
| | | | Add option to change central point projection.
* avfilter/vf_v360: factor vector normalization outPaul B Mahol2019-09-091-26/+31
|
* lavfi/concat: fix logic error in framerate checkJun Zhao2019-09-091-1/+1
| | | | | | | | fix logic error in framerate check, it's introduced by commit 3ad5d4df9ce794d3eeb0f526c5f3e446bf97c616 Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Jun Zhao <[email protected]>
* configure: check for a sufficiently recent enough AMF versionHendrik Leppkes2019-09-091-1/+1
| | | | | | | | Due to the recent addition of Vulkan support to AMF, we require more recent headers that include the new structures, which have been available since AMF 1.4.9 released in September 2018. Fixes Ticket #8125
* doc/filters: update v360Paul B Mahol2019-09-081-0/+12
|
* avfilter/vf_v360: add stereographic output projectionPaul B Mahol2019-09-082-0/+38
|
* avfilter/vf_v360: disallow too low h_fov/v_fovPaul B Mahol2019-09-081-2/+2
|
* lavfi/concat: allow to support inputs with different frame ratesCalvin Walton2019-09-084-2/+249
| | | | | | | | | | | | | | | | Right now, the concat filter does not set the frame_rate value on any of the out links. As a result, the default ffmpeg behaviour kicks in - to copy the framerate from the first input to the outputs. If a later input is higher framerate, this results in dropped frames; if a later input is lower framerate it might cause judder. This patch checks if all of the video inputs have the same framerate, and if not it sets the out link to use '1/0' as the frame rate, the value meaning "unknown/vfr". A test is added to verify the VFR behaviour. The existing test for CFR behaviour passes unchanged.
* avfilter/vf_v360: add aliases for some projectionsPaul B Mahol2019-09-081-6/+10
|
* avfilter/vf_scale: split the scale_frame function from filter_frame for ↵Limin Wang2019-09-081-4/+22
| | | | | | | activate function support Signed-off-by: Limin Wang <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avfilter/vf_v360: add options to h/w unflip input videoPaul B Mahol2019-09-073-27/+73
|
* avfilter/vf_v360: support transposed input/outputPaul B Mahol2019-09-073-5/+26
|
* avcodec/qdm2: Check frame sizeMichael Niedermayer2019-09-061-0/+5
| | | | | | | | Fixes: index 2304 out of bounds for type 'float [2304]' Fixes: 16332/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_QDM2_fuzzer-5679142481166336 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/vividas: check for tiny blocks using alignmentMichael Niedermayer2019-09-061-0/+4
| | | | | | | | | Ask for a sample for these Fixes: out of array access Fixes: 16624/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5762455661182976 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/vc1_pred: Fix refdist in scaleforopp()Michael Niedermayer2019-09-061-1/+2
| | | | | | | | Fixes: out of array access Fixes: 16601/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VC1IMAGE_fuzzer-5656105392275456 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avfilter/vf_showinfo: display GOP timecode side dataLimin Wang2019-09-061-0/+6
| | | | | Signed-off-by: Limin Wang <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* swscale/output: fix some code indentationsLinjie Fu2019-09-061-35/+35
| | | | | Signed-off-by: Linjie Fu <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/vorbisdec: fix FASTDIV usage for vr_type == 2Michael Niedermayer2019-09-061-1/+1
| | | | | | | | | | This reverts a hunk from f1ca40ee00402102046fc7e59606651930436b0e Fixes: out of array read Fixes: 16924/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VORBIS_fuzzer-5157893162139648 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* lavf/rawenc: Only accept the appropriate stream type for raw muxers.Carl Eugen Hoyos2019-09-061-0/+12
| | | | | | This does not affect the rawvideo muxer. Fixes ticket #7979.
* x86/vf_v360: use a faster horizontal add in remap4_8bit_line_avx2James Almer2019-09-061-7/+4
| | | | Signed-off-by: James Almer <[email protected]>
* x86/vf_v360: make remap{1,2}_8bit_line_avx2 work on x86_32James Almer2019-09-063-4/+11
| | | | Signed-off-by: James Almer <[email protected]>
* avfilter/vf_v360: add option to pick rotation orderPaul B Mahol2019-09-063-15/+100
|
* avfilter/vf_v360: reduce allocations by reusing duplicated remapsPaul B Mahol2019-09-062-15/+43
|
* avfilter/vf_v360: x86 SIMD for interpolationsPaul B Mahol2019-09-065-155/+394
|
* avfilter/vf_v360: add asserts to guard against invalid conditionsPaul B Mahol2019-09-061-0/+19
|
* avfilter/vf_v360: stop using floats in interpolationPaul B Mahol2019-09-061-20/+20
|