aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/amfdec.c
Commit message (Collapse)AuthorAgeFilesLines
* all: fix typos found by codespellTimo Rothenpieler4 days1-1/+1
|
* avcodec/amfdec: Add VP9 AMF decodernyanmisaka2025-06-261-4/+12
|
* avcodec/amfdec,rkmppdec: Use correct extradata with BSFsAndreas Rheinhardt2025-06-171-2/+6
| | | | | | | | | | | | | | | | | Otherwise the extradata used would be ISOBMFF if the input is even though we use the *_mp4toannexb BSFs to convert it to annex B to feed it to the actual decoder. (The mediacodec decoders also use said BSFs, yet they process the extradata in a way that works even when using the ISOBMFF extradata; in fact, using the converted extradata would break their check for whether to warn for missing extradata for the ISOBMFF without-in-band-header profiles. Furthermore, there are several users of the *_mp4toannexb BSFs that don't ever touch extradata. They have not been touched.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/codec_internal, all: Use macros to set deprecated AVCodec fieldsAndreas Rheinhardt2025-03-101-1/+1
| | | | | | | | | | | | | | The aim of this is twofold: a) Clang warns when setting a deprecated field in a definition and because several of the widely set AVCodec fields are deprecated, one gets several hundred warnings from Clang for an ordinary build. Yet fortunately Clang (unlike GCC) allows to disable deprecation warnings inside a definition, so that one can create simple macros to set these fields that also suppress deprecation warnings for Clang. This has already been done in fdff1b9cbfd8cf5a9810c29efa4baf13a4786742 for AVCodec.channel_layouts. b) Using macros will allow to easily migrate these fields to internal ones. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec: add amfdec.Evgeny Pavlov2025-02-041-0/+716
Added AMF based h264, hevc, av1 decoders. Co-authored-by: Dmitrii Ovchinnikov <ovchinnikov.dmitrii@gmail.com> v2: added encoder reinitialisation v3: use AMF_SURFACE_UNKNOWN to int decoder(ctx->output_format before)