Module cros_codecs::decoder

source ·
Expand description

Encoded stream decoding.

A decoder turns an encoded stream into its corresponding decoded frames. This module provides several decoders for various codecs and backends.

At the moment, only a stateless decoder interface is provided.

Modules

Structs

Enums

  • Instructs the decoder on whether it should block on the decode operations. Nonblocking mode is conditional on backend support.
  • Events that can be retrieved using the next_event method of a decoder.

Traits

  • The handle type used by the decoder backend. The only requirement from implementors is that they give access to the underlying handle and that they can be (cheaply) cloned.
  • Trait for objects allowing to negotiate the output format of a decoder.
  • A trait for types that can be mapped into the client’s address space.
  • Trait for a pool of surfaces in a particular format.