Searched refs:FLOAT_TO_USHORT (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/GuestHost/OpenGL/util/
H A Dpixel.c187 #define FLOAT_TO_USHORT(f) ((GLushort) ((f) * 65535.0)) macro
1018 usDst[i] = FLOAT_TO_USHORT(tmpRow[i*4+index]);
1067 usDst[i*2+0] = FLOAT_TO_USHORT(tmpRow[i*4+0]);
1068 usDst[i*2+1] = FLOAT_TO_USHORT(tmpRow[i*4+3]);
1144 usDst[i*3+r] = FLOAT_TO_USHORT(tmpRow[i*4+0]);
1145 usDst[i*3+1] = FLOAT_TO_USHORT(tmpRow[i*4+1]);
1146 usDst[i*3+b] = FLOAT_TO_USHORT(tmpRow[i*4+2]);
1263 usDst[i*4+r] = FLOAT_TO_USHORT(tmpRow[i*4+0]);
1264 usDst[i*4+1] = FLOAT_TO_USHORT(tmpRow[i*4+1]);
1265 usDst[i*4+b] = FLOAT_TO_USHORT(tmpRo
[all...]

Completed in 62 milliseconds