History

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.

Niklas Haas committed 2 years ago

Commit 33057671 parent 703288c6 files · +172 −5Browse files

Showing the changes to doc/APIchanges (1 of 6 files). Show all

Unified · Split

doc/APIchanges+5−0
@@ -2,6 +2,11 @@ The last version increases of all libraries were on 2024-03-07 · 1 unmodified line
22
33 API changes, most recent first:
44
5+2024-08-xx - xxxxxxxxxx - lavc 61.12.100 - avcodec.h
6+ Add avcodec_get_supported_config() and enum AVCodecConfig; deprecate
7+ AVCodec.pix_fmts, AVCodec.sample_fmts, AVCodec.supported_framerates,
8+ AVCodec.supported_samplerates and AVCodec.ch_layouts.
9+
510 2024-xx-xx - xxxxxxx - lavc 61.12.100 - defs.h
611 Add AV_PROFILE_HEVC_MULTIVIEW_MAIN
712

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t