# Package com.google.android.exoplayer2.mediacodec

- Interface Summary
  Interface | Description
  --- | ---
  MediaCodecAdapter | Abstracts `MediaCodec` operations.
  MediaCodecAdapter.Factory | A factory for `MediaCodecAdapter` instances.
  MediaCodecAdapter.OnFrameRenderedListener | Listener to be called when an output frame has rendered on the output surface.
  MediaCodecSelector | Selector of `MediaCodec` instances.

- Class Summary
  Class | Description
  --- | ---
  DefaultMediaCodecAdapterFactory | The default `MediaCodecAdapter.Factory`.
  MediaCodecAdapter.Configuration | Configuration parameters for a `MediaCodecAdapter`.
  MediaCodecInfo | Information about a `MediaCodec` for a given mime type.
  MediaCodecRenderer | An abstract renderer that uses `MediaCodec` to decode samples for rendering.
  MediaCodecUtil | A utility class for querying the available codecs.
  SynchronousMediaCodecAdapter | A `MediaCodecAdapter` that operates the underlying `MediaCodec` in synchronous mode.
  SynchronousMediaCodecAdapter.Factory | A factory for `SynchronousMediaCodecAdapter` instances.

- Exception Summary
  Exception | Description
  --- | ---
  MediaCodecDecoderException | Thrown when a failure occurs in a `MediaCodec` decoder.
  MediaCodecRenderer.DecoderInitializationException | Thrown when a failure occurs instantiating a decoder.
  MediaCodecUtil.DecoderQueryException | Thrown when an error occurs querying the device for its underlying media capabilities.