public final class

NalUnitUtil.SpsData

extends java.lang.Object

 java.lang.Object

↳androidx.media3.container.NalUnitUtil.SpsData

Overview

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

Summary

Fields
public final intbitDepthChromaMinus8

public final intbitDepthLumaMinus8

public final intcolorRange

public final intcolorSpace

public final intcolorTransfer

public final intconstraintsFlagsAndReservedZero2Bits

public final booleandeltaPicOrderAlwaysZeroFlag

public final booleanframeMbsOnlyFlag

public final intframeNumLength

public final intheight

public final intlevelIdc

public final intmaxNumRefFrames

public final intmaxNumReorderFrames

public final intpicOrderCntLsbLength

public final intpicOrderCountType

public final floatpixelWidthHeightRatio

public final intprofileIdc

public final booleanseparateColorPlaneFlag

public final intseqParameterSetId

public final intwidth

Constructors
publicSpsData(int profileIdc, int constraintsFlagsAndReservedZero2Bits, int levelIdc, int seqParameterSetId, int maxNumRefFrames, int width, int height, float pixelWidthHeightRatio, int bitDepthLumaMinus8, int bitDepthChromaMinus8, boolean separateColorPlaneFlag, boolean frameMbsOnlyFlag, int frameNumLength, int picOrderCountType, int picOrderCntLsbLength, boolean deltaPicOrderAlwaysZeroFlag, int colorSpace, int colorRange, int colorTransfer, int maxNumReorderFrames)

Methods
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public final int profileIdc

public final int constraintsFlagsAndReservedZero2Bits

public final int levelIdc

public final int seqParameterSetId

public final int maxNumRefFrames

public final int width

public final int height

public final float pixelWidthHeightRatio

public final int bitDepthLumaMinus8

public final int bitDepthChromaMinus8

public final boolean separateColorPlaneFlag

public final boolean frameMbsOnlyFlag

public final int frameNumLength

public final int picOrderCountType

public final int picOrderCntLsbLength

public final boolean deltaPicOrderAlwaysZeroFlag

public final int colorSpace

public final int colorRange

public final int colorTransfer

public final int maxNumReorderFrames

Constructors

public SpsData(int profileIdc, int constraintsFlagsAndReservedZero2Bits, int levelIdc, int seqParameterSetId, int maxNumRefFrames, int width, int height, float pixelWidthHeightRatio, int bitDepthLumaMinus8, int bitDepthChromaMinus8, boolean separateColorPlaneFlag, boolean frameMbsOnlyFlag, int frameNumLength, int picOrderCountType, int picOrderCntLsbLength, boolean deltaPicOrderAlwaysZeroFlag, int colorSpace, int colorRange, int colorTransfer, int maxNumReorderFrames)