Lines Matching refs:u32ColourData
48 PVRTuint32 u32ColourData; member
62 static Pixel32 getColourA(PVRTuint32 u32ColourData) in getColourA() argument
67 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()
92 static Pixel32 getColourB(PVRTuint32 u32ColourData) in getColourB() argument
97 if (u32ColourData & 0x80000000) in getColourB()
99 colour.red = (PVRTuint8)((u32ColourData & 0x7c000000) >> 26); // 5->5 bits in getColourB()
100 colour.green = (PVRTuint8)((u32ColourData & 0x3e00000) >> 21); // 5->5 bits in getColourB()
101 colour.blue = (PVRTuint8)((u32ColourData & 0x1f0000) >> 16); // 5->5 bits in getColourB()
107 …colour.red = (PVRTuint8)(((u32ColourData & 0xf000000) >> 23) | ((u32ColourData & 0xf000000) >> … in getColourB()
108 …colour.green = (PVRTuint8)(((u32ColourData & 0xf00000) >> 19) | ((u32ColourData & 0xf00000) >> … in getColourB()
109 …colour.blue = (PVRTuint8)(((u32ColourData & 0xf0000) >> 15) | ((u32ColourData & 0xf0000) >> … in getColourB()
110 colour.alpha = (PVRTuint8)((u32ColourData & 0x70000000) >> 27);// 3->4 bits - note 0 at right in getColourB()
229 PVRTuint32 WordModMode = word.u32ColourData & 0x1; in unpackModulations()
447 interpolateColours(getColourA(P.u32ColourData), getColourA(Q.u32ColourData), in pvrtcGetDecompressedPixels()
448 getColourA(R.u32ColourData), getColourA(S.u32ColourData), in pvrtcGetDecompressedPixels()
450 interpolateColours(getColourB(P.u32ColourData), getColourB(Q.u32ColourData), in pvrtcGetDecompressedPixels()
451 getColourB(R.u32ColourData), getColourB(S.u32ColourData), in pvrtcGetDecompressedPixels()
676 P.u32ColourData = pWordMembers[WordOffsets[0]+1]; in pvrtcDecompress()
678 Q.u32ColourData = pWordMembers[WordOffsets[1]+1]; in pvrtcDecompress()
680 R.u32ColourData = pWordMembers[WordOffsets[2]+1]; in pvrtcDecompress()
682 S.u32ColourData = pWordMembers[WordOffsets[3]+1]; in pvrtcDecompress()