Paul B Mahol
70463b7026
avfilter/avf_showspectrum: add terrain color map
6 years ago
Paul B Mahol
09fdfc11b7
avfilter/avf_showspectrum: add cividis colormap
6 years ago
Carl Eugen Hoyos
5ff080fdfa
lavf/apngdec: Return EOF for incomplete files.
...
Fixes ticket #7536 .
6 years ago
Paul B Mahol
0f0f840716
avfilter/af_aiir: implement rate option
6 years ago
Paul B Mahol
1d9fe1fdf6
avfilter/af_afir: implement rate option
6 years ago
Paul B Mahol
8dc5eb43b0
avfilter/af_afir: return early when giving video frame
6 years ago
Paul B Mahol
fcbde5e6a4
avfilter/af_afir: remove redundant code
6 years ago
Paul B Mahol
0c6d4e7ba4
avfilter/avf_showspectrum: add plasma color map
6 years ago
Paul B Mahol
ed58db4237
avfilter/avf_showspectrum: add viridis color map
6 years ago
Paul B Mahol
975510758c
avfilter/avf_showspectrum: improve magma colors
6 years ago
Zhong Li
d96ae9d5ea
lavc/qsv_overlay: suppress code scan complain
...
Suppress the complain "variables 'pix_fmt' is used but maybe
uninitialized".
Signed-off-by: Zhong Li <zhong.li@intel.com>
6 years ago
Linjie Fu
87368884a5
lavc/qsvdec: flush buffered data before reinit
...
Flush the buffered data in libmfx before video param reinit
in case the frames drop.
Cache the first frame causing the reinit and decode zero-size
pkt to flush the buffered pkt before reinit. After all the
buffered pkts being flushed, resume to reinit and decode.
Fix the issue in ticket #7399 .
[V2]: Move the definition of zero_pkt to where it is exactly
used.
Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Signed-off-by: Zhong Li <zhong.li@intel.com>
6 years ago
James Almer
beaa350e24
avcodec: libdav1d AV1 decoder wrapper.
...
Originally written by Ronald S. Bultje, with fixes, optimizations and
improvements by James Almer.
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
Mark Thompson
f5894178fb
cbs_av1: Support redundant frame headers
6 years ago
Mark Thompson
6bdb7712ae
cbs_av1: Fix header writing when already aligned
6 years ago
Ruiling Song
a587454fd0
doc/filters: add tonemap_opencl document.
...
Signed-off-by: Ruiling Song <ruiling.song@intel.com>
Signed-off-by: Gyan Doshi <gyandoshi@gmail.com>
6 years ago
Ruiling Song
952a299fd3
doc/filters: add document for opencl filters
...
Signed-off-by: Danil Iashchenko <danyaschenko@gmail.com>
Signed-off-by: Ruiling Song <ruiling.song@intel.com>
Signed-off-by: Gyan Doshi <gyandoshi@gmail.com>
6 years ago
Vittorio Giovara
d37faad0cd
mjpeg: Use profile names in the encoder and decoder
6 years ago
Vittorio Giovara
aefbb2bf02
proresdec2: Parse codec_tag and export profile information
6 years ago
Vittorio Giovara
cdc487bfc8
prores: Use profile names in the various encoders and decoders
...
Export FF_PROFILE_PRORES_* symbols publicly, add a missing one.
6 years ago
Vittorio Giovara
febaa63b0f
proresenc_anatoliy: Rename a profile name with the correct one
...
In all Apple documentation, this profile is called Prores 4444.
6 years ago
Valery Kot
be827e1d38
libopenh264enc: Handle sample_aspect_ratio
6 years ago
Mark Thompson
e9d2e3fdaa
configure: Add missing V4L2 M2M decoder BSF dependencies
6 years ago
Mark Thompson
a4fb2b1150
configure: Add missing IVF muxer BSF dependency
6 years ago
Martin Storsjö
d7638d8dfc
flvdec: Export unknown metadata packets as opaque data
...
Signed-off-by: Martin Storsjö <martin@martin.st>
6 years ago
Martin Storsjö
e7ed9d81bf
flvdec: Rename FLV_STREAM_TYPE_DATA into FLV_STREAM_TYPE_SUBTITLE
...
This is always treated as a subtitle at the moment anyway.
Signed-off-by: Martin Storsjö <martin@martin.st>
6 years ago
Martin Storsjö
882ae091d4
libx264: Pass the reordered_opaque field through the encoder
...
libx264 does have a field for opaque data to pass along with frames
through the encoder, but it is a pointer, while the libavcodec
reordered_opaque field is an int64_t. Therefore, allocate an array
within the libx264 wrapper, where reordered_opaque values in flight
are stored, and pass a pointer to this array to libx264.
Update the public libavcodec documentation for the AVCodecContext
field to explain this usage, and add a codec capability that allows
detecting whether an encoder handles this field.
Signed-off-by: Martin Storsjö <martin@martin.st>
6 years ago
Martin Storsjö
4e9cff2824
libavutil: Undeprecate the AVFrame reordered_opaque field
...
This was marked as deprecated (but only in the doxygen, not with an
actual deprecation attribute) in 81c623fae0
in 2011, but was
undeprecated in ad1ee5fa7
.
Signed-off-by: Martin Storsjö <martin@martin.st>
6 years ago
James Almer
89a0d33e3a
avcodec/cbs_av1: fix decoder/encoder_buffer_delay variable types
...
buffer_delay_length_minus_1 is five bits long, meaning decode_buffer_delay and
encoder_buffer_delay can have values up to 32 bits long.
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
Mark Thompson
34429182b9
configure: Fix av1_metadata BSF dependency
6 years ago
Marton Balint
8e5a2495a8
avformat/ftp: allow nonstandard 202 reply to OPTS UTF8
...
Fixes ticket #7481 .
Signed-off-by: Marton Balint <cus@passwd.hu>
6 years ago
Michael Niedermayer
c1cee05656
avcodec/cavsdec: Propagate error codes inside decode_mb_i()
...
Fixes: Timeout
Fixes: 10702/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CAVS_fuzzer-5669940938407936
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Michael Niedermayer
074187d599
avcodec/mpeg4videodec: Clear partitioned frame in decode_studio_vop_header()
...
partitioned_frame is also set/cleared in decode_vop_header()
Fixes: out of array read
Fixes: 9789/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fuzzer-5638681627983872
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Paul B Mahol
63fbec7477
avfilter/af_afade: remove unused code
6 years ago
Michael Niedermayer
470700bc96
avcodec/pictordec: Error out if more than one plane is unused
...
Fixes: Timeout
Fixes: 9797/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PICTOR_fuzzer-5664441659031552
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Michael Niedermayer
df91af140c
avcodec/mpegaudio_parser: Consume more than 0 bytes in case of the unsupported mp3adu case
...
Fixes: Timeout
Fixes: 10966/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MP3ADU_fuzzer-5348695024336896
Fixes: 10969/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MP3ADUFLOAT_fuzzer-5691669402877952
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Paul B Mahol
242f7bf202
avfilter/split: use ff_outlink_get_status()
6 years ago
Paul B Mahol
c8625e5c6f
avfilter/af_afade: do not use framequeue directly
6 years ago
Paul B Mahol
4b82b71041
avfilter/af_amerge: use ff_inlink_queued_samples()
6 years ago
Paul B Mahol
decc008929
avfilter/af_amultiply: make use of ff_inlink_queued_samples()
6 years ago
Paul B Mahol
639694eaa5
avfilter/vf_extractplanes: use ff_outlink_get_status()
6 years ago
Josh de Kock
1052578dad
fate/api-h264-slice-test: use cleaner error handling
...
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
Josh de Kock
8096f52049
fate/api-h264-slice-test: don't use ssize_t
...
Fixes ticket #7521
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
Michael Niedermayer
66425add27
avcodec/prosumer: Simplify bit juggling of the c variable in decompress()
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Michael Niedermayer
1dfa0b6f36
avcodec/prosumer: Remove always true check in decompress()
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Michael Niedermayer
506839a3e9
avcodec/prosumer: Remove unneeded ()
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Michael Niedermayer
9acdf17b2c
avcodec/prosumer: Check for bytestream eof in decompress()
...
Fixes: Infinite loop
Fixes: 10685/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PROSUMER_fuzzer-5652236881887232
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Philip Langdale
8e50215b5e
avfilter/vf_cuda_yadif: Avoid new syntax for vector initialisation
...
This requires a newer version of CUDA than we want to require.
6 years ago
Philip Langdale
1b41115ef7
avcodec/nvdec: Increase frame pool size to help deinterlacing
...
With the cuda yadif filter in use, the number of mapped decoder
frames could increase by two, as the filter holds on to additional
frames.
6 years ago
Philip Langdale
d5272e94ab
avfilter/vf_yadif_cuda: CUDA accelerated yadif deinterlacer
...
This is a cuda implementation of yadif, which gives us a way to
do deinterlacing when using the nvdec hwaccel. In that scenario
we don't have access to the nvidia deinterlacer.
6 years ago