Lines Matching refs:rgb
213 \param rgb The RGB 15 color value (R[14:10]G[9:5]B[4:0]).
218 PaletteConverter::IndexForRGB15(uint16 rgb) const
220 return fColorMap->index_map[rgb];
246 \param rgb The RGB 16 color value (R[15:11]G[10:5]B[4:0]).
251 PaletteConverter::IndexForRGB16(uint16 rgb) const
253 return fColorMap->index_map[((rgb >> 1) & 0x7fe0) | (rgb & 0x1f)];
279 \param rgb The RGB 32 color value (R[31:24]G[23:16]B[15:8]).
284 PaletteConverter::IndexForRGB24(uint32 rgb) const
286 return fColorMap->index_map[((rgb & 0xf8000000) >> 17)
287 | ((rgb & 0xf80000) >> 14)
288 | ((rgb & 0xf800) >> 11)];
315 \param rgb The RGB 32A color value (R[31:24]G[23:16]B[15:8]A[7:0]).