Module cros_codecs::decoder::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
Structs
- A struct that serves as a basis to implement a stateless decoder.
Enums
- Error returned by the
StatelessVideoDecoder::decode
method. - Error returned by stateless backend methods.
Traits
- Common trait shared by all stateless video decoder backends, providing codec-independent methods.
- Stateless video decoder interface.
Type Definitions
- Result type returned by stateless backend methods.