pub trait StatelessCodec {
type FormatInfo;
type DecoderState<H: DecodedHandle, P>;
}
Required Associated Types§
Sourcetype FormatInfo
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.
Sourcetype DecoderState<H: DecodedHandle, P>
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.