Skip to main content

FrameDecoder

Trait FrameDecoder 

Source
pub trait FrameDecoder: Send + 'static {
    // Required method
    fn decode_next(&mut self) -> Result<Option<DecodedFrame>>;
}
Expand description

Video frame decoder producing GPU-resident NV12 frames.

Required Methods§

Source

fn decode_next(&mut self) -> Result<Option<DecodedFrame>>

Decode the next frame from the bitstream source.

Returns None at end-of-stream.

Implementors§