Searched refs:xrgb (Results 1 – 2 of 2) sorted by relevance
2479 unsigned int xrgb = *(unsigned int*)(source + 4 * i); in readPixels() local2481 …dest32[i] = (xrgb & 0xFF00FF00) | ((xrgb & 0x000000FF) << 16) | ((xrgb & 0x00FF0000) >> 16) | 0xFF… in readPixels()2489 unsigned int xrgb = *(unsigned int*)(source + 4 * i); in readPixels() local2491 dest32[i] = xrgb | 0xFF000000; in readPixels()2562 unsigned int xrgb = *(unsigned int*)(source + 4 * i); in readPixels() local2565 b = (xrgb & 0x000000FF) * (1.0f / 0x000000FF); in readPixels()2566 g = (xrgb & 0x0000FF00) * (1.0f / 0x0000FF00); in readPixels()2567 r = (xrgb & 0x00FF0000) * (1.0f / 0x00FF0000); in readPixels()
555 unsigned short xrgb = *(unsigned short*)element; in read() local557 r = (xrgb & 0x7C00) * (1.0f / 0x7C00); in read()558 g = (xrgb & 0x03E0) * (1.0f / 0x03E0); in read()559 b = (xrgb & 0x001F) * (1.0f / 0x001F); in read()574 unsigned int xrgb = *(unsigned int*)element; in read() local576 r = (xrgb & 0x00FF0000) * (1.0f / 0x00FF0000); in read()577 g = (xrgb & 0x0000FF00) * (1.0f / 0x0000FF00); in read()578 b = (xrgb & 0x000000FF) * (1.0f / 0x000000FF); in read()1894 unsigned int xrgb = *(unsigned short*)sourceElement; in decodeX1R5G5B5() local1896 unsigned int r = (((xrgb & 0x7C00) * 134771 + 0x800000) >> 8) & 0x00FF0000; in decodeX1R5G5B5()[all …]