Lines Matching refs:PVRTuint8
37 PVRTuint8 red,green,blue,alpha;
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()
72 colour.alpha = (PVRTuint8)0xf;// 0->4 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()
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()
102 colour.alpha = (PVRTuint8)0xf;// 0 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()
124 Pixel128S *pPixel, PVRTuint8 ui8Bpp) in interpolateColours()
227 …fsetY, PVRTint32 i32ModulationValues[16][8], PVRTint32 i32ModulationModes[16][8], PVRTuint8 ui8Bpp) in unpackModulations()
367 …Values[16][8],PVRTint32 i32ModulationModes[16][8],PVRTuint32 xPos,PVRTuint32 yPos,PVRTuint8 ui8Bpp) in getModulationValues()
425 PVRTuint8 ui8Bpp) in pvrtcGetDecompressedPixels()
472 pColourData[y*ui32WordWidth+x].red = (PVRTuint8)result.red; in pvrtcGetDecompressedPixels()
473 pColourData[y*ui32WordWidth+x].green = (PVRTuint8)result.green; in pvrtcGetDecompressedPixels()
474 pColourData[y*ui32WordWidth+x].blue = (PVRTuint8)result.blue; in pvrtcGetDecompressedPixels()
475 pColourData[y*ui32WordWidth+x].alpha = (PVRTuint8)result.alpha; in pvrtcGetDecompressedPixels()
479 pColourData[y+x*ui32WordHeight].red = (PVRTuint8)result.red; in pvrtcGetDecompressedPixels()
480 pColourData[y+x*ui32WordHeight].green = (PVRTuint8)result.green; in pvrtcGetDecompressedPixels()
481 pColourData[y+x*ui32WordHeight].blue = (PVRTuint8)result.blue; in pvrtcGetDecompressedPixels()
482 pColourData[y+x*ui32WordHeight].alpha = (PVRTuint8)result.alpha; in pvrtcGetDecompressedPixels()
593 const PVRTuint8 ui8Bpp) in mapDecompressedData()
627 static int pvrtcDecompress( PVRTuint8 *pCompressedData, in pvrtcDecompress()
631 PVRTuint8 ui8Bpp) in pvrtcDecompress()
727 …int retval = pvrtcDecompress((PVRTuint8*)pCompressedData,pDecompressedData,XTrueDim,YTrueDim,(Do2b… in PVRTDecompressPVRTC()