Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeMetadata = 100 TypeBinary = 101 TypeRGB24 = 102 TypeWebM = 103 TypeYCbCr = 104 TypeJPEG = 105 TypeRGBA = 106 )
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 ¶
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 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 Map ¶ added in v1.0.29
type Map struct { Node // contains filtered or unexported fields }
Map instance
type Multiplexer ¶ added in v1.0.33
type Multiplexer struct {
// contains filtered or unexported fields
}
func (*Multiplexer) Attach ¶ added in v1.0.33
func (m *Multiplexer) Attach(el avp.Element)
func (*Multiplexer) Close ¶ added in v1.0.33
func (m *Multiplexer) Close()
type Pipeline ¶ added in v1.0.33
type Pipeline struct {
// contains filtered or unexported fields
}
func NewPipeline ¶ added in v1.0.33
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.