Ejemplo n.º 1
0
//SwsVector * sws_getGaussianVec (double variance, double quality)
//Return a normalized Gaussian curve used to filter stuff quality = 3 is high quality, lower is lower quality.
func Sws_getGaussianVec(v, q float64) *C.struct_SwsVector {
	return C.sws_getGaussianVec(C.double(v), C.double(q))
}
Ejemplo n.º 2
0
//SwsVector * sws_getGaussianVec (double variance, double quality)
//Return a normalized Gaussian curve used to filter stuff quality = 3 is high quality, lower is lower quality.
func Sws_getGaussianVec(v, q float64) *SwsVector {
	return (*SwsVector)(unsafe.Pointer(C.sws_getGaussianVec(C.double(v), C.double(q))))
}