package vp8

Import Path
	golang.org/x/image/vp8 (on go.dev)

Dependency Relation
	imports 3 packages, and imported by one package

Involved Source Files Package vp8 implements a decoder for the VP8 lossy image format. The VP8 specification is RFC 6386. filter.go idct.go partition.go pred.go predfunc.go quant.go reconstruct.go token.go
Package-Level Type Names (total 2)
/* sort by: | */
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. 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. DecodeFrameHeader decodes the frame header. Init initializes the decoder to read at most n bytes from r. func NewDecoder() *Decoder
FrameHeader is a frame header, as specified in section 9.1. FirstPartitionLen uint32 Height int KeyFrame bool ShowFrame bool VersionNumber uint8 Width int XScale uint8 YScale uint8 func (*Decoder).DecodeFrameHeader() (fh FrameHeader, err error)
Package-Level Functions (only one)
NewDecoder returns a new Decoder.