Lines Matching refs:nG
566 const sal_uLong nG = *pReadScan++; in ImplMakeGreyscales() local
569 *pWriteScan++ = (sal_uInt8) ( ( nB * 28UL + nG * 151UL + nR * 77UL ) >> nShift ); in ImplMakeGreyscales()
586 const sal_uLong nG = *pReadScan++; in ImplMakeGreyscales() local
589 *pWriteScan++ = (sal_uInt8) ( ( nB * 28UL + nG * 151UL + nR * 77UL ) >> nShift ); in ImplMakeGreyscales()
2581 const sal_uLong nG = ( nVCLLut[ aCol.GetGreen() ] + nD ) >> 16UL; in ImplDitherMatrix() local
2584 aIndex.SetIndex( (sal_uInt8) ( nVCLRLut[ nR ] + nVCLGLut[ nG ] + nVCLBLut[ nB ] ) ); in ImplDitherMatrix()
2598 const sal_uLong nG = ( nVCLLut[ aCol.GetGreen() ] + nD ) >> 16UL; in ImplDitherMatrix() local
2601 aIndex.SetIndex( (sal_uInt8) ( nVCLRLut[ nR ] + nVCLGLut[ nG ] + nVCLBLut[ nB ] ) ); in ImplDitherMatrix()
2998 long nX, nY, nR, nG, nB, nIndex; in ImplReducePopular() local
3004 for( nG = 0; nG < 256; nG += nColorOffset ) in ImplReducePopular()
3062 for( nG = 0; nG < 256; nG += nColorOffset ) in ImplReducePopular()
3064 … (sal_uInt8) aNewPal.GetBestIndex( BitmapColor( (sal_uInt8) nR, (sal_uInt8) nG, (sal_uInt8) nB ) ); in ImplReducePopular()
3221 long nR, nG, nB; in ImplMedianCut() local
3242 for( nG = nG1; nG <= nG2; nG++ ) in ImplMedianCut()
3246 nPixSum = pBuf[ RGB15( nR, nG, nB ) ]; in ImplMedianCut()
3251 nGSum += nG * nPixSum; in ImplMedianCut()
3277 for( nG = nG1; nG <= nG2; nG++ ) in ImplMedianCut()
3278 nPixNew += pBuf[ RGB15( nR, nG, nB ) ]; in ImplMedianCut()
3294 nG = nG1 - 1; in ImplMedianCut()
3298 nG++, nPixOld = nPixNew; in ImplMedianCut()
3301 nPixNew += pBuf[ RGB15( nR, nG, nB ) ]; in ImplMedianCut()
3304 if( nG < nG2 ) in ImplMedianCut()
3306 ImplMedianCut( pBuf, rPal, nR1, nR2, nG1, nG, nB1, nB2, nColors >> 1, nPixNew, rIndex ); in ImplMedianCut()
3307 …ImplMedianCut( pBuf, rPal, nR1, nR2, nG + 1, nG2, nB1, nB2, nColors >> 1, nPixels - nPixNew, rInde… in ImplMedianCut()
3311 ImplMedianCut( pBuf, rPal, nR1, nR2, nG1, nG - 1, nB1, nB2, nColors >> 1, nPixOld, rIndex ); in ImplMedianCut()
3312 … ImplMedianCut( pBuf, rPal, nR1, nR2, nG, nG2, nB1, nB2, nColors >> 1, nPixels - nPixOld, rIndex ); in ImplMedianCut()
3322 for( nG = nG1; nG <= nG2; nG++ ) in ImplMedianCut()
3324 nPixNew += pBuf[ RGB15( nR, nG, nB ) ]; in ImplMedianCut()