Trait StatelessVideoEncoderBackend

Source
pub trait StatelessVideoEncoderBackend<Codec>: Sized
where 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§

Source

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.

Source

type Reconstructed: 'static

Backend’s reconstructed frame handle.

Source

type CodedPromise: BackendPromise<Output = Vec<u8>>

Backend’s specific BackendPromise for bitstream, a result of StatelessCodec::Request submission.

Source

type ReconPromise: BackendPromise<Output = Self::Reconstructed>

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§