aboutsummaryrefslogtreecommitdiff
path: root/libavcodec
AgeCommit message (Collapse)Author
2020-08-25avcodec/aacdec_template: add more checks to make sure only 22.2 gets to 22.2Jan Ekström
Validates the set channel layout as well as verifies that the received layout to the function matches the reference layout, so that it matches the implemented re-ordering logic. Fixes #8845
2020-08-25avcodec/aacdec_template: keep tabs on layout in sniff_channel_orderJan Ekström
This way the layout set at various points can be checked instead of only having the layout at the end.
2020-08-23avcodec/av1_parser: read frame properties directly from AV1RawFrameHeaderJames Almer
Simplifies code Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: James Almer <jamrial@gmail.com>
2020-08-23avcodec/cbs_av1: infer frame_type when parsing a show_existing_frame frameJames Almer
Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: James Almer <jamrial@gmail.com>
2020-08-23avcodec/cbs_av1: infer frame sizes when not coded in the bitstreamJames Almer
This makes them available for all frames within a Temporal Unit. Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: James Almer <jamrial@gmail.com>
2020-08-23cbs_av1: Fix test for presence of buffer_removal_time elementMark Thompson
The frame must be in both the spatial and temporal layers for the operating point, not just one of them.
2020-08-23avcodec/v4l2_m2m_enc: reindent after previous commitAndriy Gelman
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2020-08-23avcodec/v4l2_m2m_enc: buffer frame if it cannot be enqueuedAndriy Gelman
Currently if the frame buffers are full, the frame is unrefed and dropped. Instead buffer the frame so that it is enqueued in the next v4l2_receive_packet() call. The behavior was observed on DragonBoard 410c. Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2020-08-23avcodec/cbs_av1: always store temporal_id and spatial_id in ↵James Almer
CodedBitstreamAV1Context Also infer them when not coded in the bitstream. Reviewed-by: jkqxz Signed-off-by: James Almer <jamrial@gmail.com>
2020-08-23avcodec/cbs_av1: fix storage size for render_{width,height}_minus_1James Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2020-08-23avcodec/gif: fix disposal method for first frame and transparent gifsPaul B Mahol
Fixes #7902
2020-08-23avcodec/notchlc: add initial alpha supportPaul B Mahol
2020-08-22avcodec/dvbsubdec: error out on unsupported coding methodsClément Bœsch
2020-08-22avcodec/dvbsubdec: request samples for missing coding methodsClément Bœsch
2020-08-22avcodec/dvbsubenc: fix onject/object typoClément Bœsch
2020-08-22avcodec/dvbsubenc: reindent after previous commitClément Bœsch
2020-08-22avcodec/dvbsubenc: merge rectangle encode code blocksClément Bœsch
2020-08-22avcodec/dvbsub: add "enc" suffix to encoderClément Bœsch
2020-08-22avcodec/dvbsub: remove useless indirection in dvbsub_encode.Clément Bœsch
2020-08-22avcodec/rzpaenc: Remove set-but-unused variableAndreas Rheinhardt
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-08-21avcodec/libaomdec: Set SAR based on RenderWidth and RenderHeightDerek Buitenhuis
This is the same thing we do in libdav1d.c Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2020-08-21avcodec/proresenc: infer array lengthsMichael Bradshaw
Signed-off-by: Michael Bradshaw <mjbshaw@google.com>
2020-08-21avcodec: add RPZA encoderPaul B Mahol
2020-08-21avcodec/proresenc: add support for PQ and HLGMichael Bradshaw
Signed-off-by: Michael Bradshaw <mjbshaw@google.com>
2020-08-21avcodec/qdmc: reduce insanely huge tablesPaul B Mahol
2020-08-20avcodec/h2645_parse: reset the H2645NAL type value before parsing a NAL headerJames Almer
This will prevent reporting a bogus value in the log message when the header parsing fails. Signed-off-by: James Almer <jamrial@gmail.com>
2020-08-20avcodec/h2645_parse: skip empty NAL units earlierJames Almer
No point in trying to parse nonexistent header bits. Signed-off-by: James Almer <jamrial@gmail.com>
2020-08-20avcodec/h2645_parse: always return 0 on successful ↵James Almer
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>
2020-08-20avcodec/decode: move the ff_decode_frame_props() prototype to the proper headerJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2020-08-20libavcodec/proresdec2: Setup qmat_chroma according to RDD36Harry Mallon
Signed-off-by: Harry Mallon <harry.mallon@codex.online> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-08-20lavc/libkvazaar: export encoded frame statsJun Zhao
Export choosen pict_type and qp. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2020-08-16avcodec/v4l2_context: return EAGAIN to signal full buffersAndriy Gelman
Return proper error when frame buffers are full. This path is triggered on the DragonBoard 410c since the encoding API change in commit 827d6fe73d2f5472c1c2. Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com> Reviewed-by: Mark Thompson <sw@jkqxz.net>
2020-08-16avcodec/utils: calculate frame number of HEVC if the framerate > 30FPSLimin Wang
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2020-08-15avcodec/bsf: improve the doxy for av_bsf_flush()James Almer
Mention an example scenario where the function should be used. Signed-off-by: James Almer <jamrial@gmail.com>
2020-08-15avcodec/qsvenc_h264: add missing atsc_a53.h includeJames Almer
Regression since 0de01da1d2 Signed-off-by: James Almer <jamrial@gmail.com>
2020-08-15avcodec: move ff_alloc_a53_sei() to atsc_53James Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2020-08-15avcodec/hevc_sei: use ff_parse_a53_cc() to parse A53 Closed CaptionsJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2020-08-15avcodec/h264_sei: use ff_parse_a53_cc() to parse A53 Closed CaptionsJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2020-08-15avcodec/libdav1d: add support for A53 Closed CaptionsJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2020-08-15avcodec: split off A53 Closed Caption parsing code into its own fileJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2020-08-14avcodec/libsvtav1: remove unneeded svt_av1_enc_deinit_handle()Limin Wang
It's for FF_CODEC_CAP_INIT_CLEANUP flag. Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2020-08-14avcodec/mpeg12enc: support mpeg2 encoder const levelLimin Wang
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2020-08-14avcodec: extend CFHD descriptionPaul B Mahol
2020-08-13avcodec/av1_parse: use macro for MAX_OBU_HEADER_SIZEXu Guangxin
Signed-off-by: James Almer <jamrial@gmail.com>
2020-08-12cbs: Mention all codecs in unit type commentMark Thompson
2020-08-12lavc/snowenc: Expose an option to set the rc_eq expressionAlexander Strasser
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>
2020-08-12lavc/aac_ac3_parser: fix potential overflow when averaging bitrateAlexander Strasser
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>
2020-08-12avcodec/sheervideo: reduce size of vlc tables to normal valuesPaul B Mahol
2020-08-12avcodec/libsvtav1: fix copy and paste errorLimin Wang
Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2020-08-11avcodec/agm: Mark fill_pixels() as av_always_inlineMichael Niedermayer
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>