androidx.media3.decoder


Annotations

DecoderInputBuffer.BufferReplacementMode

The buffer replacement mode.

Interfaces

CryptoConfig

Configuration for a decoder to allow it to decode encrypted media data.

Decoder

A media decoder.

DecoderOutputBuffer.Owner

Buffer owner.

Classes

Buffer

Base class for buffers with flags.

CryptoInfo

Metadata describing the structure of an encrypted input sample.

DecoderInputBuffer

Holds input for a decoder.

DecoderOutputBuffer

Output buffer decoded by a Decoder.

SimpleDecoder

Base class for Decoders that use their own decode thread and decode each input buffer immediately into a corresponding output buffer.

SimpleDecoderOutputBuffer

Buffer for SimpleDecoder output.

VideoDecoderOutputBuffer

Video decoder output buffer containing video frame data.

Exceptions

CryptoException

Thrown when a non-platform component fails to decrypt data.

DecoderException

Thrown when a Decoder error occurs.

DecoderInputBuffer.InsufficientCapacityException

Thrown when an attempt is made to write into a DecoderInputBuffer whose bufferReplacementMode is BUFFER_REPLACEMENT_MODE_DISABLED and who data capacity is smaller than required.