Documentation ¶
Overview ¶
Package vp9 contains utilities to work with the VP9 codec.
Index ¶
Constants ¶
View Source
const (
// MaxFrameSize is the maximum size of a frame.
MaxFrameSize = 2 * 1024 * 1024
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Header ¶
type Header struct { Profile uint8 ShowExistingFrame bool FrameToShowMapIdx uint8 NonKeyFrame bool ShowFrame bool ErrorResilientMode bool ColorConfig *Header_ColorConfig FrameSize *Header_FrameSize }
Header is a VP9 Frame header. Specification: https://storage.googleapis.com/downloads.webmproject.org/docs/vp9/vp9-bitstream-specification-v0.6-20160331-draft.pdf
func (Header) ChromaSubsampling ¶
ChromaSubsampling returns the chroma subsampling format, in ISO-BMFF/vpcC format.
type Header_ColorConfig ¶
type Header_ColorConfig struct { TenOrTwelveBit bool BitDepth uint8 ColorSpace uint8 ColorRange bool SubsamplingX bool SubsamplingY bool }
Header_ColorConfig is the color_config member of an header.
type Header_FrameSize ¶
Header_FrameSize is the frame_size member of an header.
Click to show internal directories.
Click to hide internal directories.