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§
Structs§
- Stateless
Decoder - A struct that serves as a basis to implement a stateless decoder.
- Stateless
Decoder Format Negotiator - Helper to implement
DecoderFormatNegotiatorfor stateless decoders.
Enums§
- Decode
Error - Error returned by the
StatelessVideoDecoder::decodemethod. - NewPicture
Error - Error returned by
new_picturemethods of the backend, usually to indicate which kind of resource is needed before the picture can be successfully created. - NewStateless
Decoder Error - Pool
Layer - Controls the pool returned by
StatelessVideoDecoder::frame_pool. - Stateless
Backend Error - Error returned by stateless backend methods.
Traits§
- Stateless
Codec - Stateless
Decoder Backend - Common trait shared by all stateless video decoder backends, providing codec-independent methods.
- Stateless
Decoder Backend Picture - Specifies the type of picture that a backend will create for a given codec.
- Stateless
Video Decoder - Stateless video decoder interface.
- TryFormat
Type Aliases§
- DynStateless
Video Decoder - NewPicture
Result - Stateless
Backend Result - Result type returned by stateless backend methods.