@UnstableApi
class FrameInfo


Value class specifying information about a decoded video frame.

Summary

Nested types

A builder for FrameInfo instances.

Public properties

ColorInfo!

The ColorInfo of the frame.

Int

The height of the frame, in pixels.

Long

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

Float

The ratio of width over height for each pixel.

Int

The width of the frame, in pixels.

Public properties

colorInfo

val colorInfoColorInfo!

The ColorInfo of the frame.

height

val heightInt

The height of the frame, in pixels.

offsetToAddUs

val offsetToAddUsLong

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

This offset is not part of the input timestamps. It is added to the frame timestamps before processing, and is retained in the output timestamps.

pixelWidthHeightRatio

val pixelWidthHeightRatioFloat

The ratio of width over height for each pixel.

width

val widthInt

The width of the frame, in pixels.