package

androidx.camera.video.internal.encoder

Interfaces

AudioEncoderInfoAudioEncoderInfo provides audio encoder related information and capabilities.
EncodedDataThe encoded data which is generated by the Encoder.
EncoderThe encoder interface.
Encoder.ByteBufferInputA ByteBufferInput is a BufferProvider implementation and provides InputBuffer to write input data to the encoder.
Encoder.EncoderInputThe encoder's input.
Encoder.SurfaceInputA SurfaceInput provides a as the interface to receive video raw data.
Encoder.SurfaceInput.OnSurfaceUpdateListenerAn interface for receiving the update event of the input of the encoder.
EncoderCallbackThe encoder callback event.
EncoderConfigThe configuration represents the required parameters to configure an encoder.
EncoderFactoryFactory to create Encoder
EncoderInfoEncoderInfo provides encoder related information and capabilities.
InputBufferInputBuffer is provided by the Encoder and used to feed data into the Encoder.
OutputConfigThe output config of an encoder.
TimeProviderThe time provider used to provider timestamps.
VideoEncoderInfoVideoEncoderInfo provides video encoder related information and capabilities.

Classes

AudioEncoderConfig
AudioEncoderConfig.BuilderThe builder of the config.
AudioEncoderInfoImplAudioEncoderInfoImpl provides audio encoder related information and capabilities.
BufferCopiedEncodedDataA class used to hold a copy of encoded data to prevent occupying the byte buffer of the media codec.
EncodedDataImpl
EncoderImplThe encoder implementation.
EncoderInfoImplAn EncoderInfo base implementation providing encoder related information and capabilities.
SwappedVideoEncoderInfoA VideoEncoderInfo wrapper that swaps the width and height constraints internally.
SystemTimeProviderA TimeProvider implementation based on System time.
VideoEncoderConfig
VideoEncoderConfig.BuilderThe builder of the config.
VideoEncoderDataSpaceDefines the three components of colors used by an encoder.
VideoEncoderInfoImplVideoEncoderInfoImpl provides video encoder related information and capabilities.

Annotation Types

EncodeException.ErrorTypeDescribes the error that occurred during encoding.