Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeMetadata = 100 TypeBinary = 101 TypeRGB24 = 102 TypeWebM = 103 TypeYCbCr = 104 TypeJPEG = 105 )
Types for samples
Variables ¶
View Source
var ( // ErrAttachNotSupported returned when attaching elements is not supported ErrAttachNotSupported = errors.New("attach not supported") // ErrElementAlreadyAttached returned when attaching an element that is already attached ErrElementAlreadyAttached = errors.New("element already attached") )
Functions ¶
This section is empty.
Types ¶
type Converter ¶ added in v1.0.17
type Converter struct { Node // contains filtered or unexported fields }
Converter instance
func NewConverter ¶ added in v1.0.17
NewConverter instance. Converter converts between media types.
Currently supports:
- YCbCR -> JPEG
type Decoder ¶ added in v1.0.16
type Decoder struct { Node // contains filtered or unexported fields }
Decoder instance
func NewDecoder ¶ added in v1.0.16
NewDecoder instance. Decoder takes as input VPX streams and decodes it into a YCbCr image.
type FileWriter ¶
type FileWriter struct { Leaf // contains filtered or unexported fields }
FileWriter instance
type Filter ¶ added in v1.0.18
type Filter struct { Node // contains filtered or unexported fields }
Filter instance
type SampleWriter ¶
type SampleWriter struct {
Node
}
SampleWriter for writing samples
func NewSampleWriter ¶
func NewSampleWriter() *SampleWriter
NewSampleWriter creates a new sample writer
func (*SampleWriter) Close ¶
func (w *SampleWriter) Close() error
Click to show internal directories.
Click to hide internal directories.