• Home
  • Raw
  • Download

Lines Matching refs:red

37 	PVRTuint8 red,green,blue,alpha;  member
42 PVRTint32 red,green,blue,alpha; member
69 colour.red = (PVRTuint8)((u32ColourData & 0x7c00) >> 10); // 5->5 bits in getColourA()
77 …colour.red = (PVRTuint8)((u32ColourData & 0xf00) >> 7) | ((u32ColourData & 0xf00) >> 11); // 4-… in getColourA()
99 colour.red = (PVRTuint8)((u32ColourData & 0x7c000000) >> 26); // 5->5 bits in getColourB()
107 …colour.red = (PVRTuint8)(((u32ColourData & 0xf000000) >> 23) | ((u32ColourData & 0xf000000) >> … in getColourB()
132 Pixel128S hP = {(PVRTint32)P.red,(PVRTint32)P.green,(PVRTint32)P.blue,(PVRTint32)P.alpha}; in interpolateColours()
133 Pixel128S hQ = {(PVRTint32)Q.red,(PVRTint32)Q.green,(PVRTint32)Q.blue,(PVRTint32)Q.alpha}; in interpolateColours()
134 Pixel128S hR = {(PVRTint32)R.red,(PVRTint32)R.green,(PVRTint32)R.blue,(PVRTint32)R.alpha}; in interpolateColours()
135 Pixel128S hS = {(PVRTint32)S.red,(PVRTint32)S.green,(PVRTint32)S.blue,(PVRTint32)S.alpha}; in interpolateColours()
138 …Pixel128S QminusP = {hQ.red - hP.red, hQ.green - hP.green, hQ.blue - hP.blue, hQ.alpha - hP.alpha}… in interpolateColours()
139 …Pixel128S SminusR = {hS.red - hR.red, hS.green - hR.green, hS.blue - hR.blue, hS.alpha - hR.alpha}… in interpolateColours()
142 hP.red *= ui32WordWidth; in interpolateColours()
146 hR.red *= ui32WordWidth; in interpolateColours()
156 Pixel128S Result={4*hP.red, 4*hP.green, 4*hP.blue, 4*hP.alpha}; in interpolateColours()
157 Pixel128S dY = {hR.red - hP.red, hR.green - hP.green, hR.blue - hP.blue, hR.alpha - hP.alpha}; in interpolateColours()
161 pPixel[y*ui32WordWidth+x].red = (PVRTint32)((Result.red >> 7) + (Result.red >> 2)); in interpolateColours()
166 Result.red += dY.red; in interpolateColours()
172 hP.red += QminusP.red; in interpolateColours()
177 hR.red += SminusR.red; in interpolateColours()
188 Pixel128S Result={4*hP.red, 4*hP.green, 4*hP.blue, 4*hP.alpha}; in interpolateColours()
189 Pixel128S dY = {hR.red - hP.red, hR.green - hP.green, hR.blue - hP.blue, hR.alpha - hP.alpha}; in interpolateColours()
193 pPixel[y*ui32WordWidth+x].red = (PVRTint32)((Result.red >> 6) + (Result.red >> 1)); in interpolateColours()
198 Result.red += dY.red; in interpolateColours()
204 hP.red += QminusP.red; in interpolateColours()
209 hR.red += SminusR.red; in interpolateColours()
463 …result.red = (upscaledColourA[y*ui32WordWidth+x].red * (8-mod) + upscaledColourB[y*ui32WordWidth… in pvrtcGetDecompressedPixels()
472 pColourData[y*ui32WordWidth+x].red = (PVRTuint8)result.red; in pvrtcGetDecompressedPixels()
479 pColourData[y+x*ui32WordHeight].red = (PVRTuint8)result.red; in pvrtcGetDecompressedPixels()
782 static unsigned int modifyPixel(int red, int green, int blue, int x, int y, unsigned int modBlock, … in modifyPixel() argument
792 red = _CLAMP_(red+pixelMod,0,255); in modifyPixel()
796 return ((red<<16) + (green<<8) + blue)|0xff000000; in modifyPixel()