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 H.264 stream Data field will contain bitmap data in the pixel format specified in the decoder
type H264Decoder ¶
type H264Decoder struct {
// contains filtered or unexported fields
}
func New ¶
func New(pxlFmt PixelFormat) (*H264Decoder, error)
New creates new H264Decoder It accepts expected pixel format for the output which
func (*H264Decoder) Close ¶
func (h *H264Decoder) Close()
Close free ups memory used for decoder structures It needs to be called to prevent memory leaks
type PixelFormat ¶
type PixelFormat int
Click to show internal directories.
Click to hide internal directories.