Versions in this module Expand all Collapse all v2 v2.0.0 Jun 30, 2023 Changes in this version + const MaxNALUSize + const MaxNALUsPerGroup + type DTSExtractor struct + func NewDTSExtractor() *DTSExtractor + func (d *DTSExtractor) Extract(au [][]byte, pts time.Duration) (time.Duration, error) + type NALUType uint8 + const NALUType_AUD_NUT + const NALUType_AggregationUnit + const NALUType_BLA_N_LP + const NALUType_BLA_W_LP + const NALUType_BLA_W_RADL + const NALUType_CRA_NUT + const NALUType_EOB_NUT + const NALUType_EOS_NUT + const NALUType_FD_NUT + const NALUType_FragmentationUnit + const NALUType_IDR_N_LP + const NALUType_IDR_W_RADL + const NALUType_PACI + const NALUType_PPS_NUT + const NALUType_PREFIX_SEI_NUT + const NALUType_RADL_N + const NALUType_RADL_R + const NALUType_RASL_N + const NALUType_RASL_R + const NALUType_RSV_IRAP_VCL22 + const NALUType_RSV_IRAP_VCL23 + const NALUType_RSV_VCL_N10 + const NALUType_RSV_VCL_N12 + const NALUType_RSV_VCL_N14 + const NALUType_RSV_VCL_R11 + const NALUType_RSV_VCL_R13 + const NALUType_RSV_VCL_R15 + const NALUType_SPS_NUT + const NALUType_STSA_N + const NALUType_STSA_R + const NALUType_SUFFIX_SEI_NUT + const NALUType_TRAIL_N + const NALUType_TRAIL_R + const NALUType_TSA_N + const NALUType_TSA_R + const NALUType_VPS_NUT + func (nt NALUType) String() string + type PPS struct + DependentSliceSegmentsEnabledFlag bool + ID uint32 + NumExtraSliceHeaderBits uint8 + OutputFlagPresentFlag bool + SPSID uint32 + func (p *PPS) Unmarshal(buf []byte) error + type SPS struct + AmpEnabledFlag bool + BitDepthChromaMinus8 uint32 + BitDepthLumaMinus8 uint32 + ChromaFormatIdc uint32 + ConformanceWindow *SPS_ConformanceWindow + ID uint8 + Log2DiffMaxMinLumaCodingBlockSize uint32 + Log2DiffMaxMinLumaTransformBlockSize uint32 + Log2DiffMaxMinPcmLumaCodingBlockSize uint32 + Log2MaxPicOrderCntLsbMinus4 uint32 + Log2MinLumaCodingBlockSizeMinus3 uint32 + Log2MinLumaTransformBlockSizeMinus2 uint32 + Log2MinPcmLumaCodingBlockSizeMinus3 uint32 + LongTermRefPicsPresentFlag bool + MaxDecPicBufferingMinus1 []uint32 + MaxLatencyIncreasePlus1 []uint32 + MaxNumReorderPics []uint32 + MaxSubLayersMinus1 uint8 + MaxTransformHierarchyDepthInter uint32 + MaxTransformHierarchyDepthIntra uint32 + PcmEnabledFlag bool + PcmLoopFilterDisabledFlag bool + PcmSampleBitDepthChromaMinus1 uint8 + PcmSampleBitDepthLumaMinus1 uint8 + PicHeightInLumaSamples uint32 + PicWidthInLumaSamples uint32 + ProfileTierLevel SPS_ProfileTierLevel + SampleAdaptiveOffsetEnabledFlag bool + ScalingListDataPresentFlag bool + ScalingListEnabledFlag bool + SeparateColourPlaneFlag bool + ShortTermRefPicSets []*SPS_ShortTermRefPicSet + StrongIntraSmoothingEnabledFlag bool + SubLayerOrderingInfoPresentFlag bool + TemporalIDNestingFlag bool + TemporalMvpEnabledFlag bool + VPSID uint8 + VUI *SPS_VUI + func (s *SPS) Unmarshal(buf []byte) error + func (s SPS) FPS() float64 + func (s SPS) Height() int + func (s SPS) Width() int + type SPS_ConformanceWindow struct + BottomOffset uint32 + LeftOffset uint32 + RightOffset uint32 + TopOffset uint32 + type SPS_DefaultDisplayWindow struct + BottomOffset uint32 + LeftOffset uint32 + RightOffset uint32 + TopOffset uint32 + type SPS_ProfileTierLevel struct + GeneralFrameOnlyConstraintFlag bool + GeneralInterlacedSourceFlag bool + GeneralIntraConstraintFlag bool + GeneralLevelIdc uint8 + GeneralLowerBitRateConstraintFlag bool + GeneralMax10bitConstraintFlag bool + GeneralMax12bitConstraintFlag bool + GeneralMax14BitConstraintFlag bool + GeneralMax420ChromaConstraintFlag bool + GeneralMax422ChromeConstraintFlag bool + GeneralMax8bitConstraintFlag bool + GeneralMaxMonochromeConstraintFlag bool + GeneralNonPackedConstraintFlag bool + GeneralOnePictureOnlyConstraintFlag bool + GeneralProfileCompatibilityFlag [32]bool + GeneralProfileIdc uint8 + GeneralProfileSpace uint8 + GeneralProgressiveSourceFlag bool + GeneralTierFlag uint8 + SubLayerLevelPresentFlag []bool + SubLayerProfilePresentFlag []bool + type SPS_ShortTermRefPicSet struct + AbsDeltaRpsMinus1 uint32 + DeltaIdxMinus1 uint32 + DeltaPocS0Minus1 []uint32 + DeltaPocS1Minus1 []uint32 + DeltaRpsSign bool + InterRefPicSetPredictionFlag bool + NumNegativePics uint32 + NumPositivePics uint32 + UsedByCurrPicS0Flag []bool + UsedByCurrPicS1Flag []bool + type SPS_TimingInfo struct + NumTicksPOCDiffOneMinus1 uint32 + NumUnitsInTick uint32 + POCProportionalToTimingFlag bool + TimeScale uint32 + type SPS_VUI struct + AspectRatioIdc uint8 + AspectRatioInfoPresentFlag bool + ChromaLocInfoPresentFlag bool + ChromaSampleLocTypeBottomField uint32 + ChromaSampleLocTypeTopField uint32 + ColourDescriptionPresentFlag bool + ColourPrimaries uint8 + DefaultDisplayWindow *SPS_DefaultDisplayWindow + FieldSeqFlag bool + FrameFieldInfoPresentFlag bool + MatrixCoefficients uint8 + NeutralChromaIndicationFlag bool + OverscanAppropriateFlag bool + OverscanInfoPresentFlag bool + SarHeight uint16 + SarWidth uint16 + TimingInfo *SPS_TimingInfo + TransferCharacteristics uint8 + VideoFormat uint8 + VideoFullRangeFlag bool + VideoSignalTypePresentFlag bool