pub trait StatelessVideoEncoderBackend<Codec>: Sizedwhere
Codec: StatelessCodec<Self>,{
type Picture: 'static;
type Reconstructed: 'static;
type CodedPromise: BackendPromise<Output = Vec<u8>>;
type ReconPromise: BackendPromise<Output = Self::Reconstructed>;
}
Expand description
Generic trait for stateless encoder backends
Required Associated Types§
Sourcetype Picture: 'static
type Picture: 'static
Backend’s specific representation of the input frame, transformed with import_picture
.
Might be a wrapper of the input handle with additional backend specific data or a copy of
an input frame in internal backend’s representation.
Sourcetype Reconstructed: 'static
type Reconstructed: 'static
Backend’s reconstructed frame handle.
Sourcetype CodedPromise: BackendPromise<Output = Vec<u8>>
type CodedPromise: BackendPromise<Output = Vec<u8>>
Backend’s specific BackendPromise
for bitstream, a result of
StatelessCodec::Request
submission.
Sourcetype ReconPromise: BackendPromise<Output = Self::Reconstructed>
type ReconPromise: BackendPromise<Output = Self::Reconstructed>
Backend’s specific BackendPromise
for StatelessVideoEncoderBackend::Reconstructed
,
a result of StatelessCodec::Request
submission.
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.