Lines Matching refs:YPos
362 @Input yPos The y Position within the current word.
367 static PVRTint32 getModulationValues(PVRTint32 i32ModulationValues[16][8],PVRTint32 i32ModulationModes[16][8],PVRTuint32 xPos,PVRTuint32 yPos,PVRTuint8 ui8Bpp)
374 if(i32ModulationModes[xPos][yPos]==0)
376 return RepVals0[i32ModulationValues[xPos][yPos]];
381 if(((xPos^yPos)&1)==0)
383 return RepVals0[i32ModulationValues[xPos][yPos]];
388 else if(i32ModulationModes[xPos][yPos] == 1)
390 return (RepVals0[i32ModulationValues[xPos][yPos-1]] +
391 RepVals0[i32ModulationValues[xPos][yPos+1]] +
392 RepVals0[i32ModulationValues[xPos-1][yPos]] +
393 RepVals0[i32ModulationValues[xPos+1][yPos]] + 2) / 4;
396 else if(i32ModulationModes[xPos][yPos] == 2)
398 return (RepVals0[i32ModulationValues[xPos-1][yPos]] +
399 RepVals0[i32ModulationValues[xPos+1][yPos]] + 1) / 2;
404 return (RepVals0[i32ModulationValues[xPos][yPos-1]] +
405 RepVals0[i32ModulationValues[xPos][yPos+1]] + 1) / 2;
410 return i32ModulationValues[xPos][yPos];
524 @Input YPos Pixel Y position
533 static PVRTuint32 TwiddleUV(PVRTuint32 XSize, PVRTuint32 YSize, PVRTuint32 XPos, PVRTuint32 YPos)
537 PVRTuint32 MaxValue=YPos;
544 _ASSERT(YPos < YSize);
559 if(YPos & SrcBitPos)