Class NalUnitUtil.SpsData
- java.lang.Object
-
- com.google.android.exoplayer2.util.NalUnitUtil.SpsData
-
- Enclosing class:
- NalUnitUtil
public static final class NalUnitUtil.SpsData extends Object
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)
-
-
-
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)
-
-