示例#1
0
文件: swscale.go 项目: hyhy01/goav
//void sws_normalizeVec (SwsVector *a, double height)
//Scale all the coefficients of a so that their sum equals height.
func Sws_normalizeVec(a *C.struct_SwsVector, h float64) {
	C.sws_normalizeVec(a, C.double(h))
}
示例#2
0
文件: vector.go 项目: gale320/goav
//Scale all the coefficients of a so that their sum equals height.
func (a *Vector) SwsNormalizevec(h float64) {
	C.sws_normalizeVec((*C.struct_SwsVector)(a), C.double(h))
}