Documentation ¶
Overview ¶
Package av1 - parsing of av1 AV1CodecConfigurationRecord.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidMarker = errors.New("invalid marker value found in AV1CodecConfigurationRecord") ErrInvalidVersion = errors.New("unsupported AV1CodecConfigurationRecord version") ErrNonZeroReservedBits = errors.New("non-zero reserved bits found in AV1CodecConfigurationRecord") )
AV1 parsing errors
Functions ¶
This section is empty.
Types ¶
type CodecConfRec ¶
type CodecConfRec struct { Version byte SeqProfile byte SeqLevelIdx0 byte SeqTier0 byte HighBitdepth byte TwelveBit byte MonoChrome byte ChromaSubsamplingX byte ChromaSubsamplingY byte ChromaSamplePosition byte InitialPresentationDelayPresent byte InitialPresentationDelayMinusOne byte ConfigOBUs []byte }
CodecConfRec - AV1CodecConfigurationRecord Specified in https://github.com/AOMediaCodec/av1-isobmff/releases/tag/v1.2.0
func DecodeAV1CodecConfRec ¶
func DecodeAV1CodecConfRec(data []byte) (CodecConfRec, error)
DecodeAVCDecConfRec - decode an AV1CodecConfRec
func (*CodecConfRec) Encode ¶
func (a *CodecConfRec) Encode(w io.Writer) error
EncodeSW- write an AV1CodecConfRec to w
func (*CodecConfRec) EncodeSW ¶
func (a *CodecConfRec) EncodeSW(sw bits.SliceWriter) error
EncodeSW- write an AV1CodecConfRec to sw
Click to show internal directories.
Click to hide internal directories.