Home | History | Annotate | Download | only in Tools

Lines Matching defs:blue

37 	PVRTuint8 red,green,blue,alpha;
42 PVRTint32 red,green,blue,alpha;
71 colour.blue = (PVRTuint8)(u32ColourData & 0x1e) | ((u32ColourData & 0x1e) >> 4); // 4->5 bits
79 colour.blue = (PVRTuint8)((u32ColourData & 0xe) << 1) | ((u32ColourData & 0xe) >> 2); // 3->5 bits
101 colour.blue = (PVRTuint8)((u32ColourData & 0x1f0000) >> 16); // 5->5 bits
109 colour.blue = (PVRTuint8)(((u32ColourData & 0xf0000) >> 15) | ((u32ColourData & 0xf0000) >> 19)); // 4->5 bits
132 Pixel128S hP = {(PVRTint32)P.red,(PVRTint32)P.green,(PVRTint32)P.blue,(PVRTint32)P.alpha};
133 Pixel128S hQ = {(PVRTint32)Q.red,(PVRTint32)Q.green,(PVRTint32)Q.blue,(PVRTint32)Q.alpha};
134 Pixel128S hR = {(PVRTint32)R.red,(PVRTint32)R.green,(PVRTint32)R.blue,(PVRTint32)R.alpha};
135 Pixel128S hS = {(PVRTint32)S.red,(PVRTint32)S.green,(PVRTint32)S.blue,(PVRTint32)S.alpha};
138 Pixel128S QminusP = {hQ.red - hP.red, hQ.green - hP.green, hQ.blue - hP.blue, hQ.alpha - hP.alpha};
139 Pixel128S SminusR = {hS.red - hR.red, hS.green - hR.green, hS.blue - hR.blue, hS.alpha - hR.alpha};
144 hP.blue *= ui32WordWidth;
148 hR.blue *= ui32WordWidth;
156 Pixel128S Result={4*hP.red, 4*hP.green, 4*hP.blue, 4*hP.alpha};
157 Pixel128S dY = {hR.red - hP.red, hR.green - hP.green, hR.blue - hP.blue, hR.alpha - hP.alpha};
163 pPixel[y*ui32WordWidth+x].blue = (PVRTint32)((Result.blue >> 7) + (Result.blue >> 2));
168 Result.blue += dY.blue;
174 hP.blue += QminusP.blue;
179 hR.blue += SminusR.blue;
188 Pixel128S Result={4*hP.red, 4*hP.green, 4*hP.blue, 4*hP.alpha};
189 Pixel128S dY = {hR.red - hP.red, hR.green - hP.green, hR.blue - hP.blue, hR.alpha - hP.alpha};
195 pPixel[y*ui32WordWidth+x].blue = (PVRTint32)((Result.blue >> 6) + (Result.blue >> 1));
200 Result.blue += dY.blue;
206 hP.blue += QminusP.blue;
211 hR.blue += SminusR.blue;
465 result.blueblue * (8-mod) + upscaledColourB[y*ui32WordWidth+x].blue * mod) / 8;
474 pColourData[y*ui32WordWidth+x].blue = (PVRTuint8)result.blue;
481 pColourData[y+x*ui32WordHeight].blue = (PVRTuint8)result.blue;
774 @Input blue Blue value of pixel
782 static unsigned int modifyPixel(int red, int green, int blue, int x, int y, unsigned int modBlock, int modTable)
794 blue = _CLAMP_(blue+pixelMod,0,255);
796 return ((red<<16) + (green<<8) + blue)|0xff000000;