Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllocatedPicture ¶
type AllocatedPicture struct { Picture // contains filtered or unexported fields }
func NewPicture ¶
func NewPicture(img image.Image) *AllocatedPicture
func (*AllocatedPicture) Encode ¶
func (p *AllocatedPicture) Encode(w io.Writer, config *Config) error
func (*AllocatedPicture) Free ¶
func (p *AllocatedPicture) Free() error
func (*AllocatedPicture) Init ¶
func (p *AllocatedPicture) Init() error
type RGBAPicture ¶
type RGBAPicture struct {
// contains filtered or unexported fields
}
func NewNRGBAImage ¶
func NewNRGBAImage(img *image.NRGBA) *RGBAPicture
func NewRGBAImage ¶
func NewRGBAImage(img *image.RGBA) *RGBAPicture
func (*RGBAPicture) Bounds ¶
func (p *RGBAPicture) Bounds() image.Rectangle
func (*RGBAPicture) Pixels ¶
func (p *RGBAPicture) Pixels() []uint8
func (*RGBAPicture) RGBA ¶
func (p *RGBAPicture) RGBA() bool
func (*RGBAPicture) Stride ¶
func (p *RGBAPicture) Stride() int
type YUVAPicture ¶
type YUVAPicture struct {
// contains filtered or unexported fields
}
func NewYUVAPicture ¶
func NewYUVAPicture(img *image.YCbCr) *YUVAPicture
func (*YUVAPicture) Bounds ¶
func (p *YUVAPicture) Bounds() image.Rectangle
func (*YUVAPicture) RGBA ¶
func (*YUVAPicture) RGBA() bool
func (*YUVAPicture) UVStride ¶
func (p *YUVAPicture) UVStride() int
func (*YUVAPicture) YStride ¶
func (p *YUVAPicture) YStride() int
Click to show internal directories.
Click to hide internal directories.