Trait StatelessAV1EncoderBackend

Source
pub trait StatelessAV1EncoderBackend: StatelessVideoEncoderBackend<AV1> {
    // Required method
    fn encode_tile_group(
        &mut self,
        request: BackendRequest<Self::Picture, Self::Reconstructed>,
    ) -> StatelessBackendResult<(Self::ReconPromise, Self::CodedPromise)>;
}
Expand description

Trait for stateless encoder backend for H.264

Required Methods§

Source

fn encode_tile_group( &mut self, request: BackendRequest<Self::Picture, Self::Reconstructed>, ) -> StatelessBackendResult<(Self::ReconPromise, Self::CodedPromise)>

Submit a BackendRequest to the backend. This operation returns both a StatelessVideoEncoderBackend::ReconPromise and a StatelessVideoEncoderBackend::CodedPromise with resulting slice data.

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§