Trait StatelessCodec

Source
pub trait StatelessCodec {
    type FormatInfo;
    type DecoderState<H: DecodedHandle, P>;
}

Required Associated Types§

Source

type FormatInfo

Type providing current format information for the codec: resolution, color format, etc.

For H.264 this would be the Sps, for VP8 or VP9 the frame header.

Source

type DecoderState<H: DecodedHandle, P>

State that needs to be kept during a decoding operation, typed by backend.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§