docs/doc/reference/com/google/android/exoplayer2/util/FrameInfo.html
Package com.google.android.exoplayer2.util
[@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 Classes | Modifier and Type | Class | Description |
| --- | --- | --- |
| static class | FrameInfo.Builder |
Deprecated.
A builder for FrameInfo instances.
|
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. |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public final int width
Deprecated.
The width of the frame, in pixels.
-
public final int height
Deprecated.
The height of the frame, in pixels.
-
public final float pixelWidthHeightRatio
Deprecated.
The ratio of width over height for each pixel.
-
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.