• Home
  • Raw
  • Download

Lines Matching refs:ui32WordWidth

126 	PVRTuint32 ui32WordWidth=4;  in interpolateColours()  local
129 ui32WordWidth=8; in interpolateColours()
142 hP.red *= ui32WordWidth; in interpolateColours()
143 hP.green *= ui32WordWidth; in interpolateColours()
144 hP.blue *= ui32WordWidth; in interpolateColours()
145 hP.alpha *= ui32WordWidth; in interpolateColours()
146 hR.red *= ui32WordWidth; in interpolateColours()
147 hR.green *= ui32WordWidth; in interpolateColours()
148 hR.blue *= ui32WordWidth; in interpolateColours()
149 hR.alpha *= ui32WordWidth; in interpolateColours()
154 for (unsigned int x=0; x < ui32WordWidth; x++) in interpolateColours()
161 pPixel[y*ui32WordWidth+x].red = (PVRTint32)((Result.red >> 7) + (Result.red >> 2)); in interpolateColours()
162 pPixel[y*ui32WordWidth+x].green = (PVRTint32)((Result.green >> 7) + (Result.green >> 2)); in interpolateColours()
163 pPixel[y*ui32WordWidth+x].blue = (PVRTint32)((Result.blue >> 7) + (Result.blue >> 2)); in interpolateColours()
164 pPixel[y*ui32WordWidth+x].alpha = (PVRTint32)((Result.alpha >> 5) + (Result.alpha >> 1)); in interpolateColours()
191 for (unsigned int x=0; x < ui32WordWidth; x++) in interpolateColours()
193 pPixel[y*ui32WordWidth+x].red = (PVRTint32)((Result.red >> 6) + (Result.red >> 1)); in interpolateColours()
194 pPixel[y*ui32WordWidth+x].green = (PVRTint32)((Result.green >> 6) + (Result.green >> 1)); in interpolateColours()
195 pPixel[y*ui32WordWidth+x].blue = (PVRTint32)((Result.blue >> 6) + (Result.blue >> 1)); in interpolateColours()
196 pPixel[y*ui32WordWidth+x].alpha = (PVRTint32)((Result.alpha >> 4) + (Result.alpha)); in interpolateColours()
435 PVRTuint32 ui32WordWidth=4; in pvrtcGetDecompressedPixels() local
438 ui32WordWidth=8; in pvrtcGetDecompressedPixels()
442 unpackModulations(Q, ui32WordWidth, 0, i32ModulationValues, i32ModulationModes, ui8Bpp); in pvrtcGetDecompressedPixels()
444 …unpackModulations(S, ui32WordWidth, ui32WordHeight, i32ModulationValues, i32ModulationModes, ui8Bp… in pvrtcGetDecompressedPixels()
456 for (unsigned int x=0; x < ui32WordWidth; x++) in pvrtcGetDecompressedPixels()
458 …PVRTint32 mod = getModulationValues(i32ModulationValues,i32ModulationModes,x+ui32WordWidth/2,y+ui3… in pvrtcGetDecompressedPixels()
463 …result.red = (upscaledColourA[y*ui32WordWidth+x].red * (8-mod) + upscaledColourB[y*ui32WordWidth in pvrtcGetDecompressedPixels()
464 …result.green = (upscaledColourA[y*ui32WordWidth+x].green * (8-mod) + upscaledColourB[y*ui32WordWid… in pvrtcGetDecompressedPixels()
465 …result.blue = (upscaledColourA[y*ui32WordWidth+x].blue * (8-mod) + upscaledColourB[y*ui32WordWidt… in pvrtcGetDecompressedPixels()
467 …else result.alpha = (upscaledColourA[y*ui32WordWidth+x].alpha * (8-mod) + upscaledColourB[y*ui32Wo… 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()
595 PVRTuint32 ui32WordWidth=4; in mapDecompressedData() local
598 ui32WordWidth=8; in mapDecompressedData()
602 for (unsigned int x=0; x < ui32WordWidth/2; x++) in mapDecompressedData()
605 … * width + words.P[0] *ui32WordWidth + x + ui32WordWidth/2)] = pWord[y*ui32WordWidth+x]; // map P in mapDecompressedData()
608 …* width + words.Q[0] *ui32WordWidth + x)] = pWord[y*ui32WordWidth+x+ui32WordWidth/2]; // map Q in mapDecompressedData()
611 …* width + words.R[0] *ui32WordWidth + x + ui32WordWidth/2)] = pWord[(y+ui32WordHeight/2)*ui32WordW… in mapDecompressedData()
614 …* width + words.S[0] *ui32WordWidth + x)] = pWord[(y+ui32WordHeight/2)*ui32WordWidth+x+ui32Wor… in mapDecompressedData()
633 PVRTuint32 ui32WordWidth=4; in pvrtcDecompress() local
636 ui32WordWidth=8; in pvrtcDecompress()
642 int i32NumXWords = (int)(ui32Width / ui32WordWidth); in pvrtcDecompress()
648 pPixels = (Pixel32*)malloc(ui32WordWidth*ui32WordHeight*sizeof(Pixel32)); in pvrtcDecompress()
694 return ui32Width * ui32Height / (PVRTuint32)(ui32WordWidth/2); in pvrtcDecompress()