Пример #1
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) *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))))
}