Expand description
Codec capability description.
Each codec implementation registered with the codec registry attaches one of these structs to declare what it can do, what its constraints are, and how the registry should rank it against alternative implementations of the same codec id.
The flag layout mirrors ffmpeg’s -codecs output:
D..... = Decoding supported
.E.... = Encoding supported
..V... = Video codec ..A... = Audio ..S... = Subtitle
..D... = Data ..T... = Attachment
...I.. = Intra-frame-only codec
....L. = Lossy compression
.....S = Lossless compressionStructs§
- Codec
Capabilities - What an implementation can do plus how it ranks vs alternatives.
Constants§
- DEFAULT_
PRIORITY - Default priority for software implementations. Lower numbers are preferred
at resolution time, so register hardware impls with a smaller value (e.g.
10) and software fallbacks with the default100.