Versions in this module Expand all Collapse all v0 v0.3.1 Aug 30, 2020 v0.3.0 Aug 8, 2020 v0.2.0 Jul 18, 2020 v0.1.0 Jun 27, 2020 Changes in this version + type DecodedImage struct + func (f *DecodedImage) Height() uint32 + func (f *DecodedImage) IsKeyFrame() bool + func (f *DecodedImage) Plane(n int) []byte + func (f *DecodedImage) Stride(n int) int + func (f *DecodedImage) ToBytes(format decoder.ColorFormat) []uint8 + func (f *DecodedImage) ToRGBA() *image.RGBA + func (f *DecodedImage) Width() uint32 + type VP8Decoder struct + func NewVP8Decoder() (*VP8Decoder, error) + func (d *VP8Decoder) Close() error + func (d *VP8Decoder) NewFrameBuilder() *decoder.FrameBuilder + func (d *VP8Decoder) Process(src <-chan *decoder.Frame, out chan<- decoder.DecodedImage) + type VP9Decoder struct + func NewVP9Decoder() (*VP9Decoder, error) + func (d *VP9Decoder) Close() error + func (d *VP9Decoder) NewFrameBuilder() *decoder.FrameBuilder + func (d *VP9Decoder) Process(src <-chan *decoder.Frame, out chan<- decoder.DecodedImage) + type VP9FrameBuffer struct + func (p *VP9FrameBuffer) AddRef() int + func (p *VP9FrameBuffer) GetData() *C.uint8_t + func (p *VP9FrameBuffer) GetDataSize() C.size_t + func (p *VP9FrameBuffer) HasOneRef() bool + func (p *VP9FrameBuffer) Release() + func (p *VP9FrameBuffer) SetSize(size C.size_t) + type VP9FrameBufferPool struct + func (p *VP9FrameBufferPool) Clear() + func (p *VP9FrameBufferPool) GetFrameBuffer(minSize C.size_t) (*VP9FrameBuffer, error) + func (p *VP9FrameBufferPool) GetNumBuffersInUse() int + func (p *VP9FrameBufferPool) Init(ctx *C.vpx_codec_ctx_t) error + type VP9Packet struct + B bool + D bool + E bool + F bool + G bool + Height []uint16 + I bool + L bool + N_G uint8 + N_S uint8 + P bool + PDiff []uint8 + Payload []byte + PictureID int16 + SID uint8 + TID uint8 + TL0PICIDX uint8 + U bool + V bool + Width []uint16 + Y bool + func (p *VP9Packet) Unmarshal(packet []byte) ([]byte, error) + type VP9PartitionHeadChecker struct + func (*VP9PartitionHeadChecker) IsPartitionHead(packet []byte) bool + type VP9Payloader struct + Rand *rand.Rand + func (p *VP9Payloader) Payload(mtu int, payload []byte) [][]byte