Versions in this module Expand all Collapse all v0 v0.0.1 Dec 8, 2023 Changes in this version + const NaluTypeAud + const NaluTypeEobNut + const NaluTypeEosNut + const NaluTypeFdNut + const NaluTypePps + const NaluTypeSei + const NaluTypeSeiSuffix + const NaluTypeSliceBlaNlp + const NaluTypeSliceBlaWlp + const NaluTypeSliceBlaWradl + const NaluTypeSliceCranut + const NaluTypeSliceIdr + const NaluTypeSliceIdrNlp + const NaluTypeSliceRadlN + const NaluTypeSliceRadlR + const NaluTypeSliceRaslN + const NaluTypeSliceRaslR + const NaluTypeSliceRsvIrapVcl22 + const NaluTypeSliceRsvIrapVcl23 + const NaluTypeSliceRsvVcl24 + const NaluTypeSliceRsvVcl25 + const NaluTypeSliceRsvVcl26 + const NaluTypeSliceRsvVcl27 + const NaluTypeSliceRsvVcl28 + const NaluTypeSliceRsvVcl29 + const NaluTypeSliceRsvVcl30 + const NaluTypeSliceRsvVcl31 + const NaluTypeSliceStsaN + const NaluTypeSliceStsaR + const NaluTypeSliceTrailN + const NaluTypeSliceTrailR + const NaluTypeSliceTsaN + const NaluTypeSliceTsaR + const NaluTypeSliceVclN10 + const NaluTypeSliceVclN11 + const NaluTypeSliceVclN12 + const NaluTypeSliceVclN13 + const NaluTypeSliceVclN14 + const NaluTypeSliceVclN15 + const NaluTypeSps + const NaluTypeVps + var AudNalu = []byte + var ErrHevc = errors.New("err hevc") + var ErrShortBuffer = errors.New("err short buffer") + var NaluStartCode4 = []byte + var NaluTypeMapping = map[uint8]string + func BuildSeqHeaderFromVpsSpsPps(vps, sps, pps []byte) ([]byte, error) + func BuildVpsSpsPps2Annexb(vps, sps, pps []byte) ([]byte, error) + func IsIrapNalu(typ uint8) bool + func ParseNaluType(v uint8) uint8 + func ParseNaluTypeReadable(v uint8) string + func ParseSps(sps []byte, ctx *Context) error + func ParseVps(vps []byte, ctx *Context) error + func ParseVpsSpsPpsFromEnhancedSeqHeader(payload []byte) (vps, sps, pps []byte, err error) + func ParseVpsSpsPpsFromSeqHeader(payload []byte) (vps, sps, pps []byte, err error) + func ParseVpsSpsPpsFromSeqHeaderWithoutMalloc(payload []byte) (vps, sps, pps []byte, err error) + func VpsSpsPpsEnhancedSeqHeader2Annexb(payload []byte) ([]byte, error) + func VpsSpsPpsSeqHeader2Annexb(payload []byte) ([]byte, error) + type Context struct + PicHeightInLumaSamples uint32 + PicWidthInLumaSamples uint32