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 ¶
type Converter struct { Node // contains filtered or unexported fields }
Converter instance
func NewConverter ¶
NewConverter instance. Converter converts between media types.
Currently supports:
- YCbCR -> JPEG
type FileWriter ¶
type FileWriter struct { Leaf // contains filtered or unexported fields }
FileWriter instance
func NewFileWriter ¶
func NewFileWriter(path string, bufSize int) *FileWriter
NewFileWriter instance bufSize is the buffer size in bytes. Pass <=0 to disable buffering.
func (*FileWriter) Close ¶
func (w *FileWriter) Close()
type Filter ¶
type Filter struct { Node // contains filtered or unexported fields }
Filter instance
type Map ¶
type Map struct { Node // contains filtered or unexported fields }
Map instance
type Multiplexer ¶
type Multiplexer struct {
// contains filtered or unexported fields
}
func (*Multiplexer) Attach ¶
func (m *Multiplexer) Attach(el avp.Element)
func (*Multiplexer) Close ¶
func (m *Multiplexer) Close()
type Pipeline ¶
type Pipeline struct {
// contains filtered or unexported fields
}
func NewPipeline ¶
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.