Versions in this module Expand all Collapse all v1 v1.1.0 Jan 19, 2021 v1.0.0 Jan 9, 2021 Changes in this version + const MaxCpbCnt + const MaxDpbFrames + const MaxHeight + const MaxMbHeight + const MaxMbPicSize + const MaxMbWidth + const MaxMmcoCount + const MaxPpsCount + const MaxRefs + const MaxRplmCount + const MaxSliceGroups + const MaxSpsCount + const MaxWidth + const NalAud + const NalAuxiliarySlice + const NalDepthExtenSlice + const NalDpa + const NalDpb + const NalDpc + const NalDps + const NalEndSequence + const NalEndStream + const NalExtenSlice + const NalFillerData + const NalFuAInRtp + const NalFuBInRtp + const NalIdrSlice + const NalMtap16InRtp + const NalMtap24InRtp + const NalPps + const NalPrefix + const NalReserved17 + const NalReserved18 + const NalReserved22 + const NalReserved23 + const NalSei + const NalSlice + const NalSps + const NalSpsExt + const NalStapaInRtp + const NalStapbInRtp + const NalSubSps + const NalTypeBitmask + const NalUnspecified + const NalUnspecified24 + const NalUnspecified25 + const NalUnspecified26 + const NalUnspecified27 + const NalUnspecified28 + const NalUnspecified29 + const NalUnspecified30 + const NalUnspecified31 + const ParameterSetPps + const ParameterSetSps + const ProfileBaseline + const ProfileCAVLC444 + const ProfileConstrained + const ProfileConstrainedBaseline + const ProfileExtended + const ProfileHigh + const ProfileHigh10 + const ProfileHigh10Intra + const ProfileHigh422 + const ProfileHigh422Intra + const ProfileHigh444 + const ProfileHigh444Intra + const ProfileHigh444Predictive + const ProfileIntra + const ProfileMain + const ProfileMultiViewHigh + const ProfileStereoHigh + func IsFillerData(nt byte) bool + func IsIdrSlice(nt byte) bool + func IsPps(nt byte) bool + func IsSps(nt byte) bool + func MetadataIsReady(vm *codec.VideoMeta) bool + func NulType(nt byte) byte + type RawHRD struct + BitRateScale uint8 + BitRateValueMinus1 [MaxCpbCnt]uint32 + CbrFlag [MaxCpbCnt]uint8 + CpbCntMinus1 uint8 + CpbRemovalDelayLengthMinus1 uint8 + CpbSizeScale uint8 + CpbSizeValueMinus1 [MaxCpbCnt]uint32 + DpbOutputDelayLengthMinus1 uint8 + InitialCpbRemovalDelayLengthMinus1 uint8 + TimeOffsetLength uint8 + type RawNALUnitHeader struct + ForbiddenZeroBit uint8 + NalRefIdc uint8 + NalUnitType uint8 + func (h *RawNALUnitHeader) Set(nal uint8) (err error) + type RawSPS struct + BitDepthChromaMinus8 uint8 + BitDepthLumaMinus8 uint8 + ChromaFormatIdc uint8 + ConstraintSet0Flag uint8 + ConstraintSet1Flag uint8 + ConstraintSet2Flag uint8 + ConstraintSet3Flag uint8 + ConstraintSet4Flag uint8 + ConstraintSet5Flag uint8 + DeltaPicOrderAlwaysZeroFlag uint8 + Direct8x8InferenceFlag uint8 + FrameCropBottomOffset uint16 + FrameCropLeftOffset uint16 + FrameCropRightOffset uint16 + FrameCropTopOffset uint16 + FrameCroppingFlag uint8 + FrameMbsOnlyFlag uint8 + GapsInFrameNumAllowedFlag uint8 + LevelIdc uint8 + Log2MaxFrameNumMinus4 uint8 + Log2MaxPicOrderCntLsbMinus4 uint8 + MaxNumRefFrames uint8 + MbAdaptiveFrameFieldFlag uint8 + NalUnitHeader RawNALUnitHeader + NumRefFramesInPicOrderCntCycle uint8 + OffsetForNonRefPic int32 + OffsetForRefFrame [256]int32 + OffsetForTopToBottomField int32 + PicHeightInMapUnitsMinus1 uint16 + PicOrderCntType uint8 + PicWidthInMbsMinus1 uint16 + ProfileIdc uint8 + QpprimeYZeroTransformBypassFlag uint8 + ReservedZero2Bits uint8 + ScalingList4x4 [6][64]int8 + ScalingList8x8 [6][64]int8 + SeparateColourPlaneFlag uint8 + SeqParameterSetID uint8 + SeqScalingListPresentFlag [12]uint8 + SeqScalingMatrixPresentFlag uint8 + Vui RawVUI + VuiParametersPresentFlag uint8 + func (sps *RawSPS) Decode(data []byte) (err error) + func (sps *RawSPS) DecodeString(b64 string) error + func (sps *RawSPS) FrameRate() float64 + func (sps *RawSPS) Height() int + func (sps *RawSPS) IsFixedFrameRate() bool + func (sps *RawSPS) Width() int + type RawVUI struct + AspectRatioIdc uint8 + AspectRatioInfoPresentFlag uint8 + BitstreamRestrictionFlag uint8 + ChromaLocInfoPresentFlag uint8 + ChromaSampleLocTypeBottomField uint8 + ChromaSampleLocTypeTopField uint8 + ColourDescriptionPresentFlag uint8 + ColourPrimaries uint8 + FixedFrameRateFlag uint8 + Log2MaxMvLengthHorizontal uint8 + Log2MaxMvLengthVertical uint8 + LowDelayHrdFlag uint8 + MatrixCoefficients uint8 + MaxBitsPerMbDenom uint8 + MaxBytesPerPicDenom uint8 + MaxDecFrameBuffering uint8 + MaxNumReorderFrames uint8 + MotionVectorsOverPicBoundariesFlag uint8 + NalHrdParameters RawHRD + NalHrdParametersPresentFlag uint8 + NumUnitsInTick uint32 + OverscanAppropriateFlag uint8 + OverscanInfoPresentFlag uint8 + PicStructPresentFlag uint8 + SarHeight uint16 + SarWidth uint16 + TimeScale uint32 + TimingInfoPresentFlag uint8 + TransferCharacteristics uint8 + VclHrdParameters RawHRD + VclHrdParametersPresentFlag uint8 + VideoFormat uint8 + VideoFullRangeFlag uint8 + VideoSignalTypePresentFlag uint8