示例#1
0
文件: swscale.go 项目: hyhy01/goav
//SwsVector * sws_getConstVec (double c, int length)
//Allocate and return a vector with length coefficients, all with the same value c.
func Sws_getConstVec(c float64, l int) *C.struct_SwsVector {
	return C.sws_getConstVec(C.double(c), C.int(l))
}
示例#2
0
//SwsVector * sws_getConstVec (double c, int length)
//Allocate and return a vector with length coefficients, all with the same value c.
func Sws_getConstVec(c float64, l int) *SwsVector {
	return (*SwsVector)(unsafe.Pointer(C.sws_getConstVec(C.double(c), C.int(l))))
}