Lines Matching refs:uint16
50 SetRGBColor16(rgb_color *col,uint16 color)
55 uint16 r16,g16,b16;
85 uint16 cindex = 0, cdelta = 765, delta = 765;
87 for (uint16 i = 0; i < 256; i++) {
114 static uint16
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);
122 uint16 color16 = color.alpha > 127 ? 0x8000 : 0;
139 static uint16
142 uint16 r16 = uint16(color.red * RATIO_8_TO_5_BIT);
143 uint16 g16 = uint16(color.green * RATIO_8_TO_6_BIT);
144 uint16 b16 = uint16(color.blue * RATIO_8_TO_5_BIT);
146 uint16 color16 = r16 << 11;
197 RGBColor::RGBColor(uint16 color)
258 uint16
274 uint16
340 RGBColor::SetColor(uint16 col16)