androidx.media3.common.video


Interfaces

Frame

Holds a frame of video data.

FrameProcessor

Consumes frames, and outputs to a FrameWriter.

FrameProcessor.Factory

Factory for FrameProcessor instances.

FrameProcessor.Listener

Listener for FrameProcessor events.

FrameWriter

Allocates Frame instances, allowing callers to dequeue and fill them, before processing the filled frames.

FrameWriter.Info

Describes the capabilities of a FrameWriter.

HardwareBufferFrame

A Frame backed by a HardwareBuffer.

HardwareBufferFrame.Builder

A Builder for HardwareBufferFrame instances.

HardwareBufferNativeHelpers

Wrapper for HardwareBuffer JNI methods.

SurfaceHolderFrameWriter.Listener

A listener for SurfaceHolderFrameWriter events.

Classes

AsyncFrame

A data class storing a Frame and a SyncFenceWrapper that must be waited on before accessing the frame's data.

HardwareBufferPool

A pool of HardwareBuffers.

HardwareBufferPool.HardwareBufferWithFence

Wrapper around a HardwareBuffer and an acquireFence.

SurfaceHolderFrameWriter

A FrameWriter that outputs frames to a SurfaceHolder.

SyncFenceWrapper

A wrapper for SyncFence that exists on all API levels.

Annotations

Frame.Usage

Flags that define how frames are used.