Trait cros_codecs::decoder::stateless::StatelessCodec
source · pub trait StatelessCodec {
type FormatInfo;
type DecoderState<B: StatelessDecoderBackend<Self::FormatInfo>>;
}
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<B: StatelessDecoderBackend<Self::FormatInfo>>
type DecoderState<B: StatelessDecoderBackend<Self::FormatInfo>>
State that needs to be kept during a decoding operation, typed by backend.