pub trait StatelessCodec<Backend>: Sizedwhere
Backend: StatelessVideoEncoderBackend<Self>,{
type Reference;
type Request;
type CodedPromise: BackendPromise<Output = CodedBitstreamBuffer>;
type ReferencePromise: BackendPromise<Output = Self::Reference>;
}
Expand description
Trait helping contain all codec specific and backend specific types
Required Associated Types§
Sourcetype Reference
type Reference
Codec specific representation of frame reference wrapping a backend reference type containing a codec specific frame metadata
Sourcetype CodedPromise: BackendPromise<Output = CodedBitstreamBuffer>
type CodedPromise: BackendPromise<Output = CodedBitstreamBuffer>
Codec specific BackendPromise
for CodedBitstreamBuffer
wrapping a backend specific
StatelessVideoEncoderBackend::CodedPromise
Sourcetype ReferencePromise: BackendPromise<Output = Self::Reference>
type ReferencePromise: BackendPromise<Output = Self::Reference>
Codec specific BackendPromise
for StatelessCodec::Reference
wrapping a
backend speficic StatelessVideoEncoderBackend::ReconPromise
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.