Skip to main content

VideoFrame

Type Alias VideoFrame 

Source
pub type VideoFrame = VideoFrame<PixelFormat, VideoFrameExtra, FfmpegBuffer>;
Expand description

Decoded video frame pre-parameterized with this crate’s pixel format / extras / view carrier.

Its planes are windows into the decoder’s own frame buffer wherever the geometry proves they may be — see the frame row of the lane table in mediadecode::adapter. A frame held is a pool slot held: on a hardware or fixed-pool decoder, retaining these past the next receive_frame starves the decoder. Use OwnedVideoFrame when a frame has to outlive the decode loop.

Aliased Type§

pub struct VideoFrame { /* private fields */ }