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§
Sourcefn decode_next(&mut self) -> Result<Option<DecodedFrame>>
fn decode_next(&mut self) -> Result<Option<DecodedFrame>>
Decode the next frame from the bitstream source.
Returns None at end-of-stream.