androidx.media3.effect


Annotations

DebugTraceUtil.Component

Components logged by logEvent.

DebugTraceUtil.Event

Events logged by logEvent.

DefaultVideoFrameProcessor.WorkingColorSpace

Specifies the color space that frames passed to intermediate GlShaderPrograms will be represented in.

Presentation.Layout

Strategies controlling the layout of input pixels in the output frame.

Interfaces

ByteBufferGlEffect.Processor

A processor that takes in ByteBuffers that represent input image data, and produces results of type <T>.

ColorLut

Specifies color transformations using color lookup tables to apply to each frame in the fragment shader.

ConvolutionFunction1D

An interface for 1 dimensional convolution functions.

ConvolutionFunction1D.Provider

A configurable provider for ConvolutionFunction1D instances.

DefaultVideoFrameProcessor.ReleaseOutputTextureCallback

Releases the output information stored for textures before and at presentationTimeUs.

GlEffect

Interface for a video frame effect with a GlShaderProgram implementation.

GlMatrixTransformation

Specifies a 4x4 transformation Matrix to apply in the vertex shader for each input frame.

GlShaderProgram

Processes frames from one OpenGL 2D texture to another.

GlShaderProgram.ErrorListener

Listener for video frame processing errors.

GlShaderProgram.InputListener

Listener for input-related video frame processing events.

GlShaderProgram.OutputListener

Listener for output-related video frame processing events.

GlTextureProducer

A component that outputs OpenGL textures.

GlTextureProducer.Listener

Listener for texture output.

MatrixTransformation

Specifies a 3x3 transformation Matrix to apply in the vertex shader for each frame.

RgbMatrix

Specifies a 4x4 RGB color transformation matrix to apply to each frame in the fragment shader.

TimestampAdjustment.TimestampMap

Maps input timestamps to output timestamps asynchronously.

VideoCompositor

Interface for a video compositor that combines frames from multiple input sources to produce output frames.

VideoCompositor.Listener

Listener for errors.

VideoCompositorSettings

Settings for the VideoCompositor.

Classes

AlphaScale

Scales the alpha value (i.e. the translucency) of a frame.

BaseGlShaderProgram

A base implementation of GlShaderProgram.

BitmapOverlay

Creates TextureOverlays from Bitmaps.

Brightness

Modifies brightness of an input frame.

ByteBufferGlEffect

A GlEffect implementation that runs an asynchronous Processor on video frame data passed in as a ByteBufferGlEffect.Image.

ByteBufferGlEffect.Image

A class that represents image data is backed by a ByteBuffer.

Contrast

A RgbMatrix to control the contrast of video frames.

Crop

Specifies a crop to apply in the vertex shader.

DebugTraceUtil

A debugging tracing utility.

DefaultGlObjectsProvider

Implementation of GlObjectsProvider that configures an EGLContext to share data with a preexisting sharedEglContext.

DefaultVideoCompositor

A basic VideoCompositor implementation that takes in frames from input sources' streams and combines them into one output stream.

DefaultVideoFrameProcessor

A VideoFrameProcessor implementation that applies GlEffect instances using OpenGL on a background thread.

DefaultVideoFrameProcessor.Factory

A factory for DefaultVideoFrameProcessor instances.

DefaultVideoFrameProcessor.Factory.Builder

A builder for DefaultVideoFrameProcessor.Factory instances.

DrawableOverlay

Creates a TextureOverlay from Drawable.

FrameCache

Caches the input frames.

FrameDropEffect

Drops frames to lower average frame rate to around targetFrameRate.

GaussianBlur

A SeparableConvolution to apply a Gaussian blur on image data.

GaussianBlurWithFrameOverlaid

A SeparableConvolution to apply a Gaussian blur on image data.

GaussianFunction

Implementation of a symmetric Gaussian function with a limited domain.

HslAdjustment

Adjusts the HSL (Hue, Saturation, and Lightness) of a frame.

HslAdjustment.Builder

A builder for HslAdjustment instances.

LanczosResample

A GlEffect that applies a Lanczos-windowed sinc function when resampling an image.

MultipleInputVideoGraph

A VideoGraph that handles multiple input streams.

OverlayEffect

Applies a list of TextureOverlays to a frame in FIFO order (the last overlay in the list is displayed on top).

OverlaySettings

Contains information to control how an input texture (for example, a VideoCompositor or TextureOverlay) is displayed on a background.

OverlaySettings.Builder

A builder for OverlaySettings instances.

PassthroughShaderProgram

A GlShaderProgram that passes a frame from the input to the output listener without copying.

Presentation

Controls how a frame is presented with options to set the output resolution 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).

PreviewingSingleInputVideoGraph

A Previewing specific implementation of .

PreviewingSingleInputVideoGraph.Factory

A factory for creating a PreviewingSingleInputVideoGraph.

RgbAdjustment

Scales the red, green, and blue color channels of a frame.

RgbAdjustment.Builder

A builder for RgbAdjustment instances.

RgbFilter

Provides common color filters.

ScaleAndRotateTransformation

Specifies a simple rotation and/or scale to apply in the vertex shader.

ScaleAndRotateTransformation.Builder

A builder for ScaleAndRotateTransformation instances.

SeparableConvolution

A GlEffect for performing separable convolutions.

SeparableConvolutionShaderProgram

A GlShaderProgram for performing separable convolutions.

SingleColorLut

Transforms the colors of a frame by applying the same color lookup table to each frame.

SingleFrameGlShaderProgram

This class is deprecated.

Use BaseGlShaderProgram instead.

SingleInputVideoGraph

A VideoGraph that handles one input stream.

SpeedChangeEffect

Applies a speed change by updating the frame timestamps.

TextOverlay

Creates a TextureOverlay from text.

TextureOverlay

Creates overlays from OpenGL textures.

TimestampAdjustment

Changes the frame timestamps using the TimestampMap.

TimestampAdjustmentShaderProgram

Changes the frame timestamps using the TimestampMap.

TimestampWrapper

Applies a GlEffect from startTimeUs to endTimeUs, and no change on all other timestamps.