Searched refs:u32ColourData (Results 1 – 1 of 1) sorted by relevance
48 PVRTuint32 u32ColourData; member62 static Pixel32 getColourA(PVRTuint32 u32ColourData) in getColourA() argument67 if ((u32ColourData & 0x8000) != 0) in getColourA()69 colour.red = (PVRTuint8)((u32ColourData & 0x7c00) >> 10); // 5->5 bits in getColourA()70 colour.green = (PVRTuint8)((u32ColourData & 0x3e0) >> 5); // 5->5 bits in getColourA()71 colour.blue = (PVRTuint8)(u32ColourData & 0x1e) | ((u32ColourData & 0x1e) >> 4); // 4->5 bits in getColourA()77 …colour.red = (PVRTuint8)((u32ColourData & 0xf00) >> 7) | ((u32ColourData & 0xf00) >> 11); // 4-… in getColourA()78 …colour.green = (PVRTuint8)((u32ColourData & 0xf0) >> 3) | ((u32ColourData & 0xf0) >> 7); // 4->… in getColourA()79 …colour.blue = (PVRTuint8)((u32ColourData & 0xe) << 1) | ((u32ColourData & 0xe) >> 2); // 3->… in getColourA()80 colour.alpha = (PVRTuint8)((u32ColourData & 0x7000) >> 11);// 3->4 bits - note 0 at right in getColourA()[all …]