Documentation ¶
Overview ¶
Package av1 contains utilities to work with the AV1 codec.
Index ¶
Constants ¶
View Source
const ( // MaxOBUSize is the maximum size of a OBU. MaxOBUSize = 3 * 1024 * 1024 // MaxOBUsPerTemporalUnit is the maximum number of OBUs per temporal unit. MaxOBUsPerTemporalUnit = 10 )
Variables ¶
This section is empty.
Functions ¶
func BitstreamUnmarshal ¶
BitstreamUnmarshal extracts OBUs from a bitstream. Optionally, it also removes the size field from OBUs. Specification: https://aomediacodec.github.io/av1-spec/#low-overhead-bitstream-format
func ContainsKeyFrame ¶
ContainsKeyFrame checks whether OBUs contain a key frame.
func LEB128Marshal ¶
LEB128Marshal encodes an unsigned integer with the LEB128 format. Specification: https://aomediacodec.github.io/av1-spec/#leb128
func LEB128Unmarshal ¶
LEB128Unmarshal decodes an unsigned integer from the LEB128 format. Specification: https://aomediacodec.github.io/av1-spec/#leb128
Types ¶
type OBUHeader ¶
OBUHeader is a OBU header. Specification: https://aomediacodec.github.io/av1-spec/#obu-header-syntax
Click to show internal directories.
Click to hide internal directories.