Searched refs:fixnumber (Results 1 - 1 of 1) sorted by path

/xsrc/external/mit/xf86-video-sis/dist/src/
H A Dinitextx.c1541 float fixnumber = (float)(1 << (coe_bit_number - 1)); local in function:SiS_CalcXTapScaler
1565 WeightMat[i][0] = roundandconv(W[0] / WW * fixnumber);
1566 WeightMat[i][1] = roundandconv(W[1] / WW * fixnumber);
1567 WeightMat[i][2] = roundandconv(W[2] / WW * fixnumber);
1568 WeightMat[i][3] = (int)fixnumber - WeightMat[i][0] - WeightMat[i][1] - WeightMat[i][2];
1583 WeightMat[i][0] = roundandconv(W[0]/WW * fixnumber);
1584 WeightMat[i][1] = roundandconv(W[1]/WW * fixnumber);
1585 WeightMat[i][2] = roundandconv(W[2]/WW * fixnumber);
1586 WeightMat[i][3] = roundandconv(W[3]/WW * fixnumber);
1587 WeightMat[i][4] = roundandconv(W[4]/WW * fixnumber);
[all...]

Completed in 8 milliseconds