Clément Bœsch
a469d29c08
avcodec/dvbsubdec: error out on unsupported coding methods
5 years ago
Clément Bœsch
b0f96f663c
avcodec/dvbsubdec: request samples for missing coding methods
5 years ago
Clément Bœsch
eb4d220ae1
avcodec/dvbsubenc: fix onject/object typo
5 years ago
Clément Bœsch
80d2a33d83
avcodec/dvbsubenc: reindent after previous commit
5 years ago
Clément Bœsch
5fc075d53e
avcodec/dvbsubenc: merge rectangle encode code blocks
5 years ago
Clément Bœsch
4dbd055d5a
avcodec/dvbsub: add "enc" suffix to encoder
5 years ago
Clément Bœsch
346309a795
avcodec/dvbsub: remove useless indirection in dvbsub_encode.
5 years ago
Andreas Rheinhardt
01a580f141
avcodec/rzpaenc: Remove set-but-unused variable
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
5 years ago
Derek Buitenhuis
3fc3d712a9
avcodec/libaomdec: Set SAR based on RenderWidth and RenderHeight
...
This is the same thing we do in libdav1d.c
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
5 years ago
Michael Bradshaw
b97eb35308
avcodec/proresenc: infer array lengths
...
Signed-off-by: Michael Bradshaw <mjbshaw@google.com>
5 years ago
Paul B Mahol
6158029dfc
avcodec: add RPZA encoder
5 years ago
Michael Bradshaw
b30f737f7a
avcodec/proresenc: add support for PQ and HLG
...
Signed-off-by: Michael Bradshaw <mjbshaw@google.com>
5 years ago
Paul B Mahol
d2206f0c5b
avcodec/qdmc: reduce insanely huge tables
5 years ago
James Almer
23bbb01077
avcodec/h2645_parse: reset the H2645NAL type value before parsing a NAL header
...
This will prevent reporting a bogus value in the log message when
the header parsing fails.
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
James Almer
1e41a9be34
avcodec/h2645_parse: skip empty NAL units earlier
...
No point in trying to parse nonexistent header bits.
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
James Almer
a4d28ea030
avcodec/h2645_parse: always return 0 on successful h{264,evc}_parse_nal_header() calls
...
HEVC NALs are no longer being skipped based on their nuh_layer_id
value since ad326379c6
.
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
James Almer
c56d787fe3
avcodec/decode: move the ff_decode_frame_props() prototype to the proper header
...
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
Harry Mallon
a606e3b339
libavcodec/proresdec2: Setup qmat_chroma according to RDD36
...
Signed-off-by: Harry Mallon <harry.mallon@codex.online>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Jun Zhao
d5abb11738
lavc/libkvazaar: export encoded frame stats
...
Export choosen pict_type and qp.
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
5 years ago
Andriy Gelman
5df9724e42
avcodec/v4l2_context: return EAGAIN to signal full buffers
...
Return proper error when frame buffers are full. This path is triggered
on the DragonBoard 410c since the encoding API change in commit
827d6fe73d
.
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
Reviewed-by: Mark Thompson <sw@jkqxz.net>
5 years ago
Limin Wang
d7af6d1469
avcodec/utils: calculate frame number of HEVC if the framerate > 30FPS
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
James Almer
161d7f3fee
avcodec/bsf: improve the doxy for av_bsf_flush()
...
Mention an example scenario where the function should be used.
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
James Almer
34a385b340
avcodec/qsvenc_h264: add missing atsc_a53.h include
...
Regression since 0de01da1d2
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
James Almer
0de01da1d2
avcodec: move ff_alloc_a53_sei() to atsc_53
...
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
James Almer
1ab3ae6fd5
avcodec/hevc_sei: use ff_parse_a53_cc() to parse A53 Closed Captions
...
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
James Almer
c93ba51ef3
avcodec/h264_sei: use ff_parse_a53_cc() to parse A53 Closed Captions
...
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
James Almer
6c1bf7c02e
avcodec/libdav1d: add support for A53 Closed Captions
...
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
James Almer
1841921277
avcodec: split off A53 Closed Caption parsing code into its own file
...
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
Limin Wang
392a2d0790
avcodec/libsvtav1: remove unneeded svt_av1_enc_deinit_handle()
...
It's for FF_CODEC_CAP_INIT_CLEANUP flag.
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
Limin Wang
ad49dd7694
avcodec/mpeg12enc: support mpeg2 encoder const level
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
Paul B Mahol
9f702fc8f4
avcodec: extend CFHD description
5 years ago
Xu Guangxin
6a941b5691
avcodec/av1_parse: use macro for MAX_OBU_HEADER_SIZE
...
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
Mark Thompson
bb59bdbcd1
cbs: Mention all codecs in unit type comment
5 years ago
Alexander Strasser
b40dd2fdab
lavc/snowenc: Expose an option to set the rc_eq expression
...
Snow uses the ratecontrol module, but does not expose a way to set
the rc_eq expression. The default expression, set in the ratecontrol
module, will always be used.
Make it possible to set rc_eq by adding an AVOption to snowenc.
The option definition is mostly a copy from the mpegvideo common
options definition of rc_eq (libavcodec/mpegvideo.h), with some
minor style adjustments to be closer to the other snowenc option
initializer expressions.
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
5 years ago
Alexander Strasser
ecd71916d1
lavc/aac_ac3_parser: fix potential overflow when averaging bitrate
...
The new code is analog to how it's done in our mpegaudio parser.
Acked-by: Jun Zhao <barryjzhao@tencent.com>
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
5 years ago
Paul B Mahol
f95dac666c
avcodec/sheervideo: reduce size of vlc tables to normal values
5 years ago
Limin Wang
ed39d28ce7
avcodec/libsvtav1: fix copy and paste error
...
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
Michael Niedermayer
6d7e522103
avcodec/agm: Mark fill_pixels() as av_always_inline
...
Speedup from 275sec to 142sec
Testcase: 24426/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AGM_fuzzer-5639724379930624
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Paul B Mahol
3f58dbca72
avcodec/cfhdenc: mark filter as always inline
5 years ago
Paul B Mahol
ba0825626a
avcodec/cfhdenc: optimize writting of small runcodes
5 years ago
Paul B Mahol
16b79f3d3a
avcodec/cfhdenc: improve quality vs size ratio
5 years ago
Michael Niedermayer
a5ac81952e
avcodec/jpeg2000dec: Check remaining data in packed_headers_stream before use
...
Fixes: out of array read
Fixes: 24487/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5165847820369920
Fixes: 24636/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5700973918683136
Fixes: 24683/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-6202883897556992
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Paul B Mahol
4ad77086b9
avcodec/cfhd: improve SampleIndex tag output
...
This tag is used for jumping to different channels in bitstream.
5 years ago
Paul B Mahol
17d1454a5f
avcodec/cfhd: log version tags too
5 years ago
Paul B Mahol
fc3546bece
avcodec/cfhd: read prescale table tag
...
Currently unused. Remove prescale shift tag as it
is not part of this codec.
5 years ago
Paul B Mahol
3ff7171a85
avcodec/cfhd: use init_get_bits8()
5 years ago
Paul B Mahol
25d07e1394
avcodec/cfhd: reindent
5 years ago
Paul B Mahol
8c7ea0c344
avcodec/cfhd: check if band encoding is valid
...
Also simplify lossless check as value of 5 for band encoding
always specify lossless mode.
5 years ago
Gautam Ramakrishnan
9ce787d61e
libavcodec/j2kenc: Support for all Progression orders
...
This patch allows for selecting the progression order
in the j2k encoder. However, all components and resolution
levels will use the same progression order and will not
feature the use of progression order change markers.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Paul B Mahol
14b84a2e99
avcodec/cfhdenc: free alpha buffer on closing
5 years ago