diff options
author | Niklas Haas <git@haasn.dev> | 2024-04-03 22:19:28 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2024-09-08 13:59:25 +0200 |
commit | 3305767560a6303f474fffa3afb10c500059b455 (patch) | |
tree | c94bba9e72eebcbf78288a7e1c02f2797dd58854 /ffbuild | |
parent | 703288cec6522655e8533c89efa3cd6df9613b99 (diff) | |
download | ffmpeg-3305767560a6303f474fffa3afb10c500059b455.tar.gz |
avcodec: add avcodec_get_supported_config()
This replaces the myriad of existing lists in AVCodec by a unified API
call, allowing us to (ultimately) trim down the sizeof(AVCodec) quite
substantially, while also making this more trivially extensible.
In addition to the already covered lists, add two new entries for color
space and color range, mirroring the newly added negotiable fields in
libavfilter.
Once the deprecation period passes for the existing public fields, the
rough plan is to move the commonly used fields (such as
pix_fmt/sample_fmt) into FFCodec, possibly as a union of audio and video
configuration types, and then implement the rarely used fields with
custom callbacks.
Diffstat (limited to 'ffbuild')
0 files changed, 0 insertions, 0 deletions