Package com.google.android.exoplayer2.transformer
-
Interface Summary Interface Description Codec Provides a layer of abstraction for interacting with decoders and encoders.Codec.DecoderFactory A factory for decoder instances.Codec.EncoderFactory A factory for encoder instances.EncoderSelector Selector ofMediaCodec
encoder instances.GlEffect Interface for a video frame effect with aSingleFrameGlTextureProcessor
implementation.GlMatrixTransformation Specifies a 4x4 transformationMatrix
to apply in the vertex shader for each frame.MatrixTransformation Specifies a 3x3 transformationMatrix
to apply in the vertex shader for each frame.SingleFrameGlTextureProcessor Manages a GLSL shader program for processing a frame.Transformer.DebugViewProvider Provider for views to show diagnostic information during transformation, for debugging.Transformer.Listener A listener for the transformation events. -
Class Summary Class Description DefaultCodec A defaultCodec
implementation that usesMediaCodec
.DefaultEncoderFactory A default implementation ofCodec.EncoderFactory
.EncoderUtil Utility methods forMediaCodec
encoders.Presentation Controls how a frame is presented with options to set the output resolution, crop the input, and choose how to map the input pixels onto the output frame geometry (for example, by stretching the input frame to match the specified output frame, or fitting the input frame using letterboxing).Presentation.Builder A builder forPresentation
instances.ProgressHolder Holds a progress percentage.ScaleToFitTransformation Specifies a simple rotation and/or scale to apply in the vertex shader.ScaleToFitTransformation.Builder A builder forScaleToFitTransformation
instances.TransformationRequest A media transformation request.TransformationRequest.Builder A builder forTransformationRequest
instances.TransformationResult Information about the result of a successful transformation.TransformationResult.Builder A builder forTransformationResult
instances.Transformer A transformer to transform media inputs.Transformer.Builder A builder forTransformer
instances.VideoEncoderSettings Represents the video encoder settings.VideoEncoderSettings.Builder BuildsVideoEncoderSettings
instances. -
Exception Summary Exception Description FrameProcessingException Thrown when an exception occurs while applying effects to video frames.TransformationException Thrown when a non-locally recoverable transformation failure occurs. -
Annotation Types Summary Annotation Type Description Presentation.Layout Strategies controlling the layout of input pixels in the output frame.TransformationException.ErrorCode Codes that identify causes ofTransformer
errors.Transformer.ProgressState Progress state.VideoEncoderSettings.BitrateMode The allowed values forbitrateMode
, one of Constant quality:MediaCodecInfo.EncoderCapabilities.BITRATE_MODE_CQ
.