Back to Exoplayer

NalUnitUtil.SpsData (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/util/NalUnitUtil.SpsData.html

latest4.6 KB
Original Source

Package com.google.android.exoplayer2.util

Class NalUnitUtil.SpsData


public static final classNalUnitUtil.SpsDataextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")

Holds data parsed from a H.264 sequence parameter set NAL unit.

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | @com.google.android.exoplayer2.C.ColorRange int | colorRange | | | @com.google.android.exoplayer2.C.ColorSpace int | colorSpace | | | @com.google.android.exoplayer2.C.ColorTransfer int | colorTransfer | | | int | constraintsFlagsAndReservedZero2Bits | | | boolean | deltaPicOrderAlwaysZeroFlag | | | boolean | frameMbsOnlyFlag | | | int | frameNumLength | | | int | height | | | int | levelIdc | | | int | maxNumRefFrames | | | int | picOrderCntLsbLength | | | int | picOrderCountType | | | float | pixelWidthHeightRatio | | | int | profileIdc | | | boolean | separateColorPlaneFlag | | | int | seqParameterSetId | | | int | width | |

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | SpsData​(int profileIdc, int constraintsFlagsAndReservedZero2Bits, int levelIdc, int seqParameterSetId, int maxNumRefFrames, int width, int height, float pixelWidthHeightRatio, boolean separateColorPlaneFlag, boolean frameMbsOnlyFlag, int frameNumLength, int picOrderCountType, int picOrderCntLsbLength, boolean deltaPicOrderAlwaysZeroFlag, @com.google.android.exoplayer2.C.ColorSpace int colorSpace, @com.google.android.exoplayer2.C.ColorRange int colorRange, @com.google.android.exoplayer2.C.ColorTransfer int colorTransfer) | |

Method Summary

- 

Methods inherited from class java.lang.Object

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

Field Detail

- 

profileIdc

public final int profileIdc
- 

constraintsFlagsAndReservedZero2Bits

public final int constraintsFlagsAndReservedZero2Bits
- 

levelIdc

public final int levelIdc
- 

seqParameterSetId

public final int seqParameterSetId
- 

maxNumRefFrames

public final int maxNumRefFrames
- 

width

public final int width
- 

height

public final int height
- 

pixelWidthHeightRatio

public final float pixelWidthHeightRatio
- 

separateColorPlaneFlag

public final boolean separateColorPlaneFlag
- 

frameMbsOnlyFlag

public final boolean frameMbsOnlyFlag
- 

frameNumLength

public final int frameNumLength
- 

picOrderCountType

public final int picOrderCountType
- 

picOrderCntLsbLength

public final int picOrderCntLsbLength
- 

deltaPicOrderAlwaysZeroFlag

public final boolean deltaPicOrderAlwaysZeroFlag
- 

colorSpace

public final @com.google.android.exoplayer2.C.ColorSpace int colorSpace
- 

colorRange

public final @com.google.android.exoplayer2.C.ColorRange int colorRange
- 

colorTransfer

public final @com.google.android.exoplayer2.C.ColorTransfer int colorTransfer

Constructor Detail

- 

SpsData

public SpsData​(int profileIdc,
               int constraintsFlagsAndReservedZero2Bits,
               int levelIdc,
               int seqParameterSetId,
               int maxNumRefFrames,
               int width,
               int height,
               float pixelWidthHeightRatio,
               boolean separateColorPlaneFlag,
               boolean frameMbsOnlyFlag,
               int frameNumLength,
               int picOrderCountType,
               int picOrderCntLsbLength,
               boolean deltaPicOrderAlwaysZeroFlag,
               @com.google.android.exoplayer2.C.ColorSpace int colorSpace,
               @com.google.android.exoplayer2.C.ColorRange int colorRange,
               @com.google.android.exoplayer2.C.ColorTransfer int colorTransfer)