Documentation ¶
Index ¶
Constants ¶
View Source
const ( PixelFormatRGB = iota PixelFormatBGR )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Frame ¶
Frame represents decoded frame from VP8 stream Data field will contain bitmap data in the pixel format specified in the decoder
type PixelFormat ¶
type PixelFormat int
type VP8Decoder ¶
type VP8Decoder struct {
// contains filtered or unexported fields
}
func New ¶
func New(pxlFmt PixelFormat) (*VP8Decoder, error)
New creates new VP8Decoder It accepts expected pixel format for the output which
func (*VP8Decoder) Close ¶
func (h *VP8Decoder) Close()
Close free ups memory used for decoder structures It needs to be called to prevent memory leaks
Click to show internal directories.
Click to hide internal directories.