示例#1
0
文件: swscale.go 项目: gale320/goav
//Convert an 8-bit paletted frame into a frame with a color depth of 32 bits.
func SwsConvertpalette8topacked32(s, d *uint8, px int, p *uint8) {
	C.sws_convertPalette8ToPacked32((*C.uint8_t)(s), (*C.uint8_t)(d), C.int(px), (*C.uint8_t)(p))
}
示例#2
0
文件: swscale.go 项目: hyhy01/goav
//void sws_convertPalette8ToPacked32 (const uint8_t *src, uint8_t *dst, int num_pixels, const uint8_t *palette)
//Convert an 8-bit paletted frame into a frame with a color depth of 32 bits.
func Sws_convertPalette8ToPacked32(s, d *C.uint8_t, px int, p *C.uint8_t) {
	C.sws_convertPalette8ToPacked32(s, d, C.int(px), p)
}