Lines Matching refs:nX
130 long nY, nX, i, nSumR, nSumG, nSumB, nMatrixVal, nTmp; in ImplConvolute3() local
136 for( nX = nTmp = 0, nMatrixVal = pMatrix[ nY ]; nX < 256; nX++, nTmp += nMatrixVal ) in ImplConvolute3()
137 pKoeff[ nY ][ nX ] = nTmp; in ImplConvolute3()
162 for( nX = 0; nX < nWidth; nX++ ) in ImplConvolute3()
165 nSumR = ( pTmp = pKoeff[ 0 ] )[ ( pColor = pRowTmp1 + nX )->GetRed() ]; in ImplConvolute3()
178 nSumR += ( pTmp = pKoeff[ 3 ] )[ ( pColor = pRowTmp2 + nX )->GetRed() ]; in ImplConvolute3()
191 nSumR += ( pTmp = pKoeff[ 6 ] )[ ( pColor = pRowTmp3 + nX )->GetRed() ]; in ImplConvolute3()
204 pWriteAcc->SetPixel( nY, nX, BitmapColor( (sal_uInt8) MinMax( nSumR / nDivisor, 0, 255 ), in ImplConvolute3()
277 long nY, nX, i; in ImplMedianFilter() local
308 for( nX = 0; nX < nWidth; nX++ ) in ImplMedianFilter()
310 nR1 = ( pColor = pRowTmp1 + nX )->GetRed(), nG1 = pColor->GetGreen(), nB1 = pColor->GetBlue(); in ImplMedianFilter()
314 nR4 = ( pColor = pRowTmp2 + nX )->GetRed(), nG4 = pColor->GetGreen(), nB4 = pColor->GetBlue(); in ImplMedianFilter()
318 nR7 = ( pColor = pRowTmp3 + nX )->GetRed(), nG7 = pColor->GetGreen(), nB7 = pColor->GetBlue(); in ImplMedianFilter()
338 … pWriteAcc->SetPixel( nY, nX, BitmapColor( (sal_uInt8) nR2, (sal_uInt8) nG2, (sal_uInt8) nB2 ) ); in ImplMedianFilter()
416 long nX, nY, nSum1, nSum2; in ImplSobelGrey() local
420 for( nX = 1; nX <= nWidth; nX++ ) in ImplSobelGrey()
421 pHMap[ nX ] = nX - 1; in ImplSobelGrey()
441 for( nX = 0; nX < nWidth; nX++ ) in ImplSobelGrey()
474 pWriteAcc->SetPixel( nY, nX, aGrey ); in ImplSobelGrey()
476 if( nX < ( nWidth - 1 ) ) in ImplSobelGrey()
478 const long nNextX = pHMap[ nX + 3 ]; in ImplSobelGrey()
542 long nX, nY, nNx, nNy, nDotL; in ImplEmbossGrey() local
552 for( nX = 1; nX <= nWidth; nX++ ) in ImplEmbossGrey()
553 pHMap[ nX ] = nX - 1; in ImplEmbossGrey()
573 for( nX = 0; nX < nWidth; nX++ ) in ImplEmbossGrey()
588 pWriteAcc->SetPixel( nY, nX, aGrey ); in ImplEmbossGrey()
590 if( nX < ( nWidth - 1 ) ) in ImplEmbossGrey()
592 const long nNextX = pHMap[ nX + 3 ]; in ImplEmbossGrey()
658 for( long nX = 0; nX < nWidth; nX++ ) in ImplSolarize() local
660 aCol = pWriteAcc->GetPixel( nY, nX ); in ImplSolarize()
663 pWriteAcc->SetPixel( nY, nX, aCol.Invert() ); in ImplSolarize()
720 for( long nX = 0; nX < nWidth; nX++ ) in ImplSepia() local
722 aCol.SetIndex( pIndexMap[ pReadAcc->GetPixel( nY, nX ).GetIndex() ] ); in ImplSepia()
723 pWriteAcc->SetPixel( nY, nX, aCol ); in ImplSepia()
733 for( long nX = 0; nX < nWidth; nX++ ) in ImplSepia() local
735 aCol.SetIndex( pReadAcc->GetPixel( nY, nX ).GetLuminance() ); in ImplSepia()
736 pWriteAcc->SetPixel( nY, nX, aCol ); in ImplSepia()
801 long nX, nY, nX1, nX2, nY1, nY2, nSumR, nSumG, nSumB; in ImplMosaic() local
824 for( nX = nX1; nX <= nX2; nX++ ) in ImplMosaic()
826 aCol = pReadAcc->GetPixel( nY, nX ); in ImplMosaic()
838 for( nX = nX1; nX <= nX2; nX++ ) in ImplMosaic()
839 pWriteAcc->SetPixel( nY, nX, aCol ); in ImplMosaic()
857 for( nX = nX1; nX <= nX2; nX++ ) in ImplMosaic()
859 const BitmapColor& rCol = pReadAcc->GetPaletteColor( pReadAcc->GetPixelIndex( nY, nX ) ); in ImplMosaic()
871 for( nX = nX1; nX <= nX2; nX++ ) in ImplMosaic()
872 pWriteAcc->SetPixel( nY, nX, aCol ); in ImplMosaic()
974 for( long nX = 0; nX < nWidth; nX++ ) in ImplPopArt() local
975 pPopArtTable[ pWriteAcc->GetPixel( nY, nX ).GetIndex() ].mnCount++; in ImplPopArt()