Skip to main content

Module extras

Module extras 

Source
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).

Structs§

AudioFrameExtra
Per-AudioFrame extras.
AudioPacketExtra
Per-AudioPacket extras.
ContentLightLevel
HDR10 content light level (AV_FRAME_DATA_CONTENT_LIGHT_LEVEL).
MasteringDisplay
HDR10 mastering display metadata.
SideDataEntry
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 — see libavutil/frame.h and libavcodec/packet.h.
SubtitleFrameExtra
Per-SubtitleFrame extras.
SubtitlePacketExtra
Per-SubtitlePacket extras.
VideoFrameExtra
Per-VideoFrame extras carrying everything the unified mediadecode::ColorInfo doesn’t already cover.
VideoPacketExtra
Per-VideoPacket extras.

Enums§

PictureType
Picture type per AVFrame.pict_type.