Lines Matching refs:nX
296 sal_uLong nX = 0UL; in ImplDecodeRLE() local
316 if( nX < nWidth ) in ImplDecodeRLE()
317 rAcc.SetPixelIndex( nY, nX++, cTmp >> 4 ); in ImplDecodeRLE()
319 if( nX < nWidth ) in ImplDecodeRLE()
320 rAcc.SetPixelIndex( nY, nX++, cTmp & 0x0f ); in ImplDecodeRLE()
325 if( nX < nWidth ) in ImplDecodeRLE()
326 rAcc.SetPixelIndex( nY, nX++, *pRLE >> 4 ); in ImplDecodeRLE()
338 if( nX < nWidth ) in ImplDecodeRLE()
339 rAcc.SetPixelIndex( nY, nX++, *pRLE ); in ImplDecodeRLE()
351 nX = 0UL; in ImplDecodeRLE()
357 nX += *pRLE++; in ImplDecodeRLE()
371 if( nX < nWidth ) in ImplDecodeRLE()
372 rAcc.SetPixelIndex( nY, nX++, cTmp >> 4 ); in ImplDecodeRLE()
374 if( nX < nWidth ) in ImplDecodeRLE()
375 rAcc.SetPixelIndex( nY, nX++, cTmp & 0x0f ); in ImplDecodeRLE()
378 if( ( nCountByte & 1 ) && ( nX < nWidth ) ) in ImplDecodeRLE()
379 rAcc.SetPixelIndex( nY, nX++, cTmp >> 4 ); in ImplDecodeRLE()
383 for( sal_uLong i = 0UL; ( i < nCountByte ) && ( nX < nWidth ); i++ ) in ImplDecodeRLE()
384 rAcc.SetPixelIndex( nY, nX++, cTmp ); in ImplDecodeRLE()
477 for( long nX = 0L, nShift = 8L; nX < nWidth; nX++ ) in ImplReadDIBBits() local
485 rAcc.SetPixelIndex( nY, nX, (cTmp >> --nShift) & 1); in ImplReadDIBBits()
501 for( long nX = 0L, nShift = 2L; nX < nWidth; nX++ ) in ImplReadDIBBits() local
509 rAcc.SetPixelIndex( nY, nX, (cTmp >> ( --nShift << 2UL ) ) & 0x0f); in ImplReadDIBBits()
523 for( long nX = 0L; nX < nWidth; nX++ ) in ImplReadDIBBits() local
524 rAcc.SetPixelIndex( nY, nX, *pTmp++ ); in ImplReadDIBBits()
539 for( long nX = 0L; nX < nWidth; nX++ ) in ImplReadDIBBits() local
542 rAcc.SetPixel( nY, nX, aColor ); in ImplReadDIBBits()
557 for( long nX = 0L; nX < nWidth; nX++ ) in ImplReadDIBBits() local
562 rAcc.SetPixel( nY, nX, aPixelColor ); in ImplReadDIBBits()
582 for( long nX = 0L; nX < nWidth; nX++ ) in ImplReadDIBBits() local
585 rAcc.SetPixel( nY, nX, aColor ); in ImplReadDIBBits()
586 pAccAlpha->SetPixelIndex(nY, nX, sal_uInt8(0xff) - aAlpha); in ImplReadDIBBits()
597 for( long nX = 0L; nX < nWidth; nX++ ) in ImplReadDIBBits() local
600 rAcc.SetPixel( nY, nX, aColor ); in ImplReadDIBBits()
852 sal_uLong nX; in ImplWriteRLE() local
865 nX = nBufCount = 0UL; in ImplWriteRLE()
867 while( nX < nWidth ) in ImplWriteRLE()
870 cPix = rAcc.GetPixelIndex( nY, nX++ ); in ImplWriteRLE()
872 while( ( nX < nWidth ) && ( nCount < 255L ) in ImplWriteRLE()
873 && ( cPix == rAcc.GetPixelIndex( nY, nX ) ) ) in ImplWriteRLE()
875 nX++; in ImplWriteRLE()
888 nSaveIndex = nX - 1UL; in ImplWriteRLE()
891 while( ( nX < nWidth ) && ( nCount < 256L ) in ImplWriteRLE()
892 && ( cPix = rAcc.GetPixelIndex( nY, nX ) ) != cLast ) in ImplWriteRLE()
894 nX++; nCount++; in ImplWriteRLE()
900 nX--; in ImplWriteRLE()
1053 for( long nX = 0L, nShift = 8L; nX < nWidth; nX++ ) in ImplWriteDIBBits() local
1062 cTmp |= rAcc.GetPixelIndex( nY, nX ) << --nShift; in ImplWriteDIBBits()
1078 for( long nX = 0L, nShift = 2L; nX < nWidth; nX++ ) in ImplWriteDIBBits() local
1087 cTmp |= rAcc.GetPixelIndex( nY, nX ) << ( --nShift << 2L ); in ImplWriteDIBBits()
1101 for( long nX = 0L; nX < nWidth; nX++ ) in ImplWriteDIBBits() local
1102 *pTmp++ = rAcc.GetPixelIndex( nY, nX ); in ImplWriteDIBBits()
1121 for( long nX = 0L; nX < nWidth; nX++ ) in ImplWriteDIBBits() local
1125 aPixelColor = rAcc.GetColor( nY, nX ); in ImplWriteDIBBits()
1135 … *pTmp++ = (sal_uInt8)0xff - (sal_uInt8)pAccAlpha->GetPixelIndex( nY, nX ); in ImplWriteDIBBits()