@UnstableApi
public class FrameInfo


Value class specifying information about a decoded video frame.

Summary

Public fields

final Format

The Format of the frame.

final long

The offset that must be added to the frame presentation timestamp, in microseconds.

Public constructors

FrameInfo(Format format, long offsetToAddUs)

Creates an instance.

Public fields

format

public final Format format

The Format of the frame.

The colorInfo must be set, and the width and height must be greater than 0.

offsetToAddUs

public final long offsetToAddUs

The offset that must be added to the frame presentation timestamp, in microseconds.

Public constructors

FrameInfo

public FrameInfo(Format format, long offsetToAddUs)

Creates an instance.

Parameters
Format format

See format.

long offsetToAddUs

See offsetToAddUs.