Expand description
Backend-specific *Extra carriers used as the
mediadecode::*Adapter::*Extra associated types.
Fields are private; values are read through getters and set through
with_* (consuming builders) / set_* (in-place mutators) — the
crate-wide encapsulation convention. const fn is used wherever
the field type permits (i.e. anything but Vec).
§The extras obey the amputation contract too
SideDataEntry carries its payload as an FfmpegBytes, not a
Vec<u8>. Those bytes ride on packets and frames that a graph fans
out, and the D-seat contract says a clone of a message is a
refcount bump — a Vec in the extras would have made a frame’s
payload cheap to clone and its metadata expensive, which is the
kind of asymmetry nobody remembers while profiling.
smpte_timecode stays a Vec<u32> on VideoFrameExtra: those
are parsed values, a handful of words, not bytes crossing a
boundary.
Structs§
- Attachment
Packet Extra - Per-
AttachmentPacketextras — fonts, cover art. - Audio
Frame Extra - Per-
AudioFrameextras. - Audio
Packet Extra - Per-
AudioPacketextras. - Content
Light Level - HDR10 content light level (
AV_FRAME_DATA_CONTENT_LIGHT_LEVEL). - Data
Packet Extra - Per-
DataPacketextras — timecode, KLV, timed ID3. - Image
Frame Extra - Per-
ImageFrameextras — cover art, an embedded thumbnail, a poster frame. - Mastering
Display - HDR10 mastering display metadata.
- Parameter
Footprint - The heap bytes an
AVCodecParametersholds — measured, never allocated. - Side
Data Entry - Raw side-data entry carrying the FFmpeg type id and the unparsed
byte buffer. Type ids correspond to FFmpeg’s
AV_FRAME_DATA_*/AV_PKT_DATA_*constants — seelibavutil/frame.handlibavcodec/packet.h. - Subtitle
Frame Extra - Per-
SubtitleFrameextras. - Subtitle
Packet Extra - Per-
SubtitlePacketextras. - Track
Extra - Per-
TrackInfoextras — the FFmpeg side of one track-table row. - Video
Frame Extra - Per-
VideoFrameextras carrying everything the unifiedmediadecode::ColorInfodoesn’t already cover. - Video
Packet Extra - Per-
VideoPacketextras.
Enums§
- Image
Orientation - Where the first stored row and column of a still belong on screen — the eight orientations EXIF names, tags 1 through 8.
- Picture
Type - Picture type per
AVFrame.pict_type.