Documentation ¶
Overview ¶
Package vp8 implements a decoder for the VP8 lossy image format.
The VP8 specification is RFC 6386.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
Decoder decodes VP8 bitstreams into frames. Decoding one frame consists of calling Init, DecodeFrameHeader and then DecodeFrame in that order. A Decoder can be re-used to decode multiple frames.
func (*Decoder) DecodeFrame ¶
DecodeFrame decodes the frame and returns it as an YCbCr image. The image's contents are valid up until the next call to Decoder.Init.
func (*Decoder) DecodeFrameHeader ¶
func (d *Decoder) DecodeFrameHeader() (fh FrameHeader, err error)
DecodeFrameHeader decodes the frame header.
Click to show internal directories.
Click to hide internal directories.