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

/haiku/src/servers/app/
H A DRGBColor.cpp21 #define RATIO_8_TO_5_BIT .121568627451 macro
117 uint16 r16 = uint16(color.red * RATIO_8_TO_5_BIT);
118 uint16 g16 = uint16(color.green * RATIO_8_TO_5_BIT);
119 uint16 b16 = uint16(color.blue * RATIO_8_TO_5_BIT);
142 uint16 r16 = uint16(color.red * RATIO_8_TO_5_BIT);
144 uint16 b16 = uint16(color.blue * RATIO_8_TO_5_BIT);

Completed in 80 milliseconds