Back to Exoplayer

FrameInfo (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/util/FrameInfo.html

latest2.6 KB
Original Source

Package com.google.android.exoplayer2.util

Class FrameInfo


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public classFrameInfoextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")

Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.

Value class specifying information about a decoded video frame.

Nested Class Summary

Nested Classes | Modifier and Type | Class | Description | | --- | --- | --- | | static class | FrameInfo.Builder | Deprecated.

A builder for FrameInfo instances. |

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | int | height | Deprecated.

The height of the frame, in pixels. | | long | offsetToAddUs | Deprecated.

The offset that must be added to the frame presentation timestamp, in microseconds. | | float | pixelWidthHeightRatio | Deprecated.

The ratio of width over height for each pixel. | | int | width | Deprecated.

The width of the frame, in pixels. |

Method Summary

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

- 

width

public final int width

Deprecated.

The width of the frame, in pixels.

- 

height

public final int height

Deprecated.

The height of the frame, in pixels.

- 

pixelWidthHeightRatio

public final float pixelWidthHeightRatio

Deprecated.

The ratio of width over height for each pixel.

- 

offsetToAddUs

public final long offsetToAddUs

Deprecated.

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.