Module stateless

Source
Expand description

Stateless decoders.

Stateless here refers to the backend API targeted by these decoders. The decoders themselves do hold the decoding state so the backend doesn’t need to.

The StatelessDecoder struct is the basis of all stateless decoders. It is created by combining a codec codec to a backend, after which bitstream units can be submitted through the StatelessDecoder::decode method.

Modules§

av1
h264
h265
vp8
vp9

Structs§

StatelessDecoder
A struct that serves as a basis to implement a stateless decoder.
StatelessDecoderFormatNegotiator
Helper to implement DecoderFormatNegotiator for stateless decoders.

Enums§

DecodeError
Error returned by the StatelessVideoDecoder::decode method.
NewPictureError
Error returned by new_picture methods of the backend, usually to indicate which kind of resource is needed before the picture can be successfully created.
NewStatelessDecoderError
PoolLayer
Controls the pool returned by StatelessVideoDecoder::frame_pool.
StatelessBackendError
Error returned by stateless backend methods.

Traits§

StatelessCodec
StatelessDecoderBackend
Common trait shared by all stateless video decoder backends, providing codec-independent methods.
StatelessDecoderBackendPicture
Specifies the type of picture that a backend will create for a given codec.
StatelessVideoDecoder
Stateless video decoder interface.
TryFormat

Type Aliases§

DynStatelessVideoDecoder
NewPictureResult
StatelessBackendResult
Result type returned by stateless backend methods.