Documentation
¶
Index ¶
- Variables
- func AppendAVCC(dst []byte, u Unit, lengthSize int) ([]byte, error)
- func AppendAnnexB(dst []byte, u Unit, longStartCode bool) []byte
- func Escape(dst, src []byte) []byte
- func SplitAVCC(data []byte, lengthSize int) ([][]byte, error)
- func SplitAnnexB(data []byte) [][]byte
- func Unescape(dst, src []byte) []byte
- type Header
- type Scanner
- type Type
- type Unit
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func SplitAnnexB ¶
Types ¶
type Header ¶
func ParseHeader ¶
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
func NewScanner ¶
func NewScanner() *Scanner
type Type ¶
type Type uint8
const ( TypeUnspecified Type = 0 TypeSliceNonIDR Type = 1 TypeSliceDataPartA Type = 2 TypeSliceDataPartB Type = 3 TypeSliceDataPartC Type = 4 TypeSliceIDR Type = 5 TypeSEI Type = 6 TypeSPS Type = 7 TypePPS Type = 8 TypeAccessUnitDelim Type = 9 TypeEndOfSequence Type = 10 TypeEndOfStream Type = 11 TypeFillerData Type = 12 TypeSPSExtension Type = 13 TypePrefix Type = 14 TypeSubsetSPS Type = 15 TypeAuxSliceNoPart Type = 19 )
Click to show internal directories.
Click to hide internal directories.