@UnstableApi
class FrameInfo


Value class specifying information about a decoded video frame.

Summary

Public constructors

FrameInfo(format: Format!, offsetToAddUs: Long)

Creates an instance.

Public properties

Format!

The Format of the frame.

Long

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

Public constructors

FrameInfo

FrameInfo(format: Format!, offsetToAddUs: Long)

Creates an instance.

Parameters
format: Format!

See format.

offsetToAddUs: Long

See offsetToAddUs.

Public properties

format

val format: Format!

The Format of the frame.

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

offsetToAddUs

val offsetToAddUs: Long

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