Searched defs:calc (Results 1 - 1 of 1) sorted by relevance
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/ |
H A D | dpsXcmu.c | 1048 #define calc(i, max, mult) ((((i / test.mult) % \ macro 1050 r = ((unsigned short) calc(i, red_max, red_mult) >> 8) - 1052 g = ((unsigned short) calc(i, green_max, green_mult) >> 8) - 1054 b = ((unsigned short) calc(i, blue_max, blue_mult) >> 8) - 1056 #undef calc macro 1259 #define calc(i, max, mult) ((((i / colorCube->mult) % \ macro 1261 color.red = (unsigned short) calc(n, red_max, red_mult); 1262 color.green = (unsigned short) calc(n, green_max, green_mult); 1263 color.blue = (unsigned short) calc(n, blue_max, blue_mult); 1264 #undef calc macro [all...] |
Completed in 205 milliseconds