public final class

NalUnitUtil.SpsData

extends java.lang.Object

 java.lang.Object

↳androidx.media3.extractor.NalUnitUtil.SpsData

Overview

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

Summary

Fields
public final intconstraintsFlagsAndReservedZero2Bits

public final booleandeltaPicOrderAlwaysZeroFlag

public final booleanframeMbsOnlyFlag

public final intframeNumLength

public final intheight

public final intlevelIdc

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 width, int height, float pixelWidthHeightRatio, boolean separateColorPlaneFlag, boolean frameMbsOnlyFlag, int frameNumLength, int picOrderCountType, int picOrderCntLsbLength, boolean deltaPicOrderAlwaysZeroFlag)

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 width

public final int height

public final float pixelWidthHeightRatio

public final boolean separateColorPlaneFlag

public final boolean frameMbsOnlyFlag

public final int frameNumLength

public final int picOrderCountType

public final int picOrderCntLsbLength

public final boolean deltaPicOrderAlwaysZeroFlag

Constructors

public SpsData(int profileIdc, int constraintsFlagsAndReservedZero2Bits, int levelIdc, int seqParameterSetId, int width, int height, float pixelWidthHeightRatio, boolean separateColorPlaneFlag, boolean frameMbsOnlyFlag, int frameNumLength, int picOrderCountType, int picOrderCntLsbLength, boolean deltaPicOrderAlwaysZeroFlag)