Trait StatelessDecoderBackendPicture

Source
pub trait StatelessDecoderBackendPicture<Codec: StatelessCodec> {
    type Picture;
}
Expand description

Specifies the type of picture that a backend will create for a given codec.

The picture type is state that is preserved from the start of a given frame to its submission to the backend. Some codecs don’t need it, in this case they can just set Picture to ().

Required Associated Types§

Source

type Picture

Backend-specific type representing a frame being decoded. Useful for decoders that need to render a frame in several steps and to preserve its state in between.

Backends that don’t use this can simply set it to ().

Implementors§