Class 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 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)