Lines Matching refs:nY

130 			long			nY, nX, i, nSumR, nSumG, nSumB, nMatrixVal, nTmp;  in ImplConvolute3()  local
135 for( nY = 0; nY < 9; nY++ ) in ImplConvolute3()
136 for( nX = nTmp = 0, nMatrixVal = pMatrix[ nY ]; nX < 256; nX++, nTmp += nMatrixVal ) in ImplConvolute3()
137 pKoeff[ nY ][ nX ] = nTmp; in ImplConvolute3()
160 for( nY = 0; nY < nHeight; ) in ImplConvolute3()
204 pWriteAcc->SetPixel( nY, nX, BitmapColor( (sal_uInt8) MinMax( nSumR / nDivisor, 0, 255 ), in ImplConvolute3()
209 if( ++nY < nHeight ) in ImplConvolute3()
219 pRowTmp3[ i ] = pReadAcc->GetColor( pRows[ nY + 2 ], pColm[ i ] ); in ImplConvolute3()
277 long nY, nX, i; in ImplMedianFilter() local
306 for( nY = 0; nY < nHeight; ) in ImplMedianFilter()
338 … pWriteAcc->SetPixel( nY, nX, BitmapColor( (sal_uInt8) nR2, (sal_uInt8) nG2, (sal_uInt8) nB2 ) ); in ImplMedianFilter()
341 if( ++nY < nHeight ) in ImplMedianFilter()
351 pRowTmp3[ i ] = pReadAcc->GetColor( pRows[ nY + 2 ], pColm[ i ] ); in ImplMedianFilter()
416 long nX, nY, nSum1, nSum2; in ImplSobelGrey() local
425 for( nY = 1; nY <= nHeight; nY++ ) in ImplSobelGrey()
426 pVMap[ nY ] = nY - 1; in ImplSobelGrey()
429 for( nY = 0; nY < nHeight ; nY++ ) in ImplSobelGrey()
431 nGrey11 = pReadAcc->GetPixel( pVMap[ nY ], pHMap[ 0 ] ).GetIndex(); in ImplSobelGrey()
432 nGrey12 = pReadAcc->GetPixel( pVMap[ nY ], pHMap[ 1 ] ).GetIndex(); in ImplSobelGrey()
433 nGrey13 = pReadAcc->GetPixel( pVMap[ nY ], pHMap[ 2 ] ).GetIndex(); in ImplSobelGrey()
434 nGrey21 = pReadAcc->GetPixel( pVMap[ nY + 1 ], pHMap[ 0 ] ).GetIndex(); in ImplSobelGrey()
435 nGrey22 = pReadAcc->GetPixel( pVMap[ nY + 1 ], pHMap[ 1 ] ).GetIndex(); in ImplSobelGrey()
436 nGrey23 = pReadAcc->GetPixel( pVMap[ nY + 1 ], pHMap[ 2 ] ).GetIndex(); in ImplSobelGrey()
437 nGrey31 = pReadAcc->GetPixel( pVMap[ nY + 2 ], pHMap[ 0 ] ).GetIndex(); in ImplSobelGrey()
438 nGrey32 = pReadAcc->GetPixel( pVMap[ nY + 2 ], pHMap[ 1 ] ).GetIndex(); in ImplSobelGrey()
439 nGrey33 = pReadAcc->GetPixel( pVMap[ nY + 2 ], pHMap[ 2 ] ).GetIndex(); in ImplSobelGrey()
474 pWriteAcc->SetPixel( nY, nX, aGrey ); in ImplSobelGrey()
480 …nGrey11 = nGrey12; nGrey12 = nGrey13; nGrey13 = pReadAcc->GetPixel( pVMap[ nY ], nNextX ).GetIndex… in ImplSobelGrey()
481 …nGrey21 = nGrey22; nGrey22 = nGrey23; nGrey23 = pReadAcc->GetPixel( pVMap[ nY + 1 ], nNextX ).GetI… in ImplSobelGrey()
482 …nGrey31 = nGrey32; nGrey32 = nGrey33; nGrey33 = pReadAcc->GetPixel( pVMap[ nY + 2 ], nNextX ).GetI… in ImplSobelGrey()
542 long nX, nY, nNx, nNy, nDotL; in ImplEmbossGrey() local
557 for( nY = 1; nY <= nHeight; nY++ ) in ImplEmbossGrey()
558 pVMap[ nY ] = nY - 1; in ImplEmbossGrey()
561 for( nY = 0; nY < nHeight ; nY++ ) in ImplEmbossGrey()
563 nGrey11 = pReadAcc->GetPixel( pVMap[ nY ], pHMap[ 0 ] ).GetIndex(); in ImplEmbossGrey()
564 nGrey12 = pReadAcc->GetPixel( pVMap[ nY ], pHMap[ 1 ] ).GetIndex(); in ImplEmbossGrey()
565 nGrey13 = pReadAcc->GetPixel( pVMap[ nY ], pHMap[ 2 ] ).GetIndex(); in ImplEmbossGrey()
566 nGrey21 = pReadAcc->GetPixel( pVMap[ nY + 1 ], pHMap[ 0 ] ).GetIndex(); in ImplEmbossGrey()
567 nGrey22 = pReadAcc->GetPixel( pVMap[ nY + 1 ], pHMap[ 1 ] ).GetIndex(); in ImplEmbossGrey()
568 nGrey23 = pReadAcc->GetPixel( pVMap[ nY + 1 ], pHMap[ 2 ] ).GetIndex(); in ImplEmbossGrey()
569 nGrey31 = pReadAcc->GetPixel( pVMap[ nY + 2 ], pHMap[ 0 ] ).GetIndex(); in ImplEmbossGrey()
570 nGrey32 = pReadAcc->GetPixel( pVMap[ nY + 2 ], pHMap[ 1 ] ).GetIndex(); in ImplEmbossGrey()
571 nGrey33 = pReadAcc->GetPixel( pVMap[ nY + 2 ], pHMap[ 2 ] ).GetIndex(); in ImplEmbossGrey()
588 pWriteAcc->SetPixel( nY, nX, aGrey ); in ImplEmbossGrey()
594 …nGrey11 = nGrey12; nGrey12 = nGrey13; nGrey13 = pReadAcc->GetPixel( pVMap[ nY ], nNextX ).GetIndex… in ImplEmbossGrey()
595 …nGrey21 = nGrey22; nGrey22 = nGrey23; nGrey23 = pReadAcc->GetPixel( pVMap[ nY + 1 ], nNextX ).GetI… in ImplEmbossGrey()
596 …nGrey31 = nGrey32; nGrey32 = nGrey33; nGrey33 = pReadAcc->GetPixel( pVMap[ nY + 2 ], nNextX ).GetI… in ImplEmbossGrey()
656 for( long nY = 0; nY < nHeight ; nY++ ) in ImplSolarize() local
660 aCol = pWriteAcc->GetPixel( nY, nX ); in ImplSolarize()
663 pWriteAcc->SetPixel( nY, nX, aCol.Invert() ); in ImplSolarize()
712 for( long nY = 0; nY < nHeight ; nY++ ) in ImplSepia() local
722 aCol.SetIndex( pIndexMap[ pReadAcc->GetPixel( nY, nX ).GetIndex() ] ); in ImplSepia()
723 pWriteAcc->SetPixel( nY, nX, aCol ); in ImplSepia()
731 for( long nY = 0; nY < nHeight ; nY++ ) 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
822 for( nY = nY1, nSumR = nSumG = nSumB = 0; nY <= nY2; nY++ ) in ImplMosaic()
826 aCol = pReadAcc->GetPixel( nY, nX ); in ImplMosaic()
837 for( nY = nY1; nY <= nY2; nY++ ) in ImplMosaic()
839 pWriteAcc->SetPixel( nY, nX, aCol ); in ImplMosaic()
855 for( nY = nY1, nSumR = nSumG = nSumB = 0; nY <= nY2; nY++ ) in ImplMosaic()
859 const BitmapColor& rCol = pReadAcc->GetPaletteColor( pReadAcc->GetPixelIndex( nY, nX ) ); in ImplMosaic()
870 for( nY = nY1; nY <= nY2; nY++ ) in ImplMosaic()
872 pWriteAcc->SetPixel( nY, nX, aCol ); in ImplMosaic()
973 for( long nY = 0; nY < nHeight ; nY++ ) in ImplPopArt() local
975 pPopArtTable[ pWriteAcc->GetPixel( nY, nX ).GetIndex() ].mnCount++; in ImplPopArt()