Lines Matching refs:nR

567 							const sal_uLong nR = *pReadScan++;  in ImplMakeGreyscales()  local
569 *pWriteScan++ = (sal_uInt8) ( ( nB * 28UL + nG * 151UL + nR * 77UL ) >> nShift ); in ImplMakeGreyscales()
585 const sal_uLong nR = *pReadScan++; in ImplMakeGreyscales() local
589 *pWriteScan++ = (sal_uInt8) ( ( nB * 28UL + nG * 151UL + nR * 77UL ) >> nShift ); in ImplMakeGreyscales()
2580 const sal_uLong nR = ( nVCLLut[ aCol.GetRed() ] + nD ) >> 16UL; in ImplDitherMatrix() local
2584 aIndex.SetIndex( (sal_uInt8) ( nVCLRLut[ nR ] + nVCLGLut[ nG ] + nVCLBLut[ nB ] ) ); in ImplDitherMatrix()
2597 const sal_uLong nR = ( nVCLLut[ aCol.GetRed() ] + 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
3002 for( nR = 0, nIndex = 0; nR < 256; nR += nColorOffset ) in ImplReducePopular()
3061 for( nR = 0, nIndex = 0; nR < 256; nR += nColorOffset ) in ImplReducePopular()
3064 …pIndexMap[ nIndex++ ] = (sal_uInt8) aNewPal.GetBestIndex( BitmapColor( (sal_uInt8) nR, (sal_uInt8)… in ImplReducePopular()
3221 long nR, nG, nB; in ImplMedianCut() local
3240 for( nR = nR1; nR <= nR2; nR++ ) in ImplMedianCut()
3246 nPixSum = pBuf[ RGB15( nR, nG, nB ) ]; in ImplMedianCut()
3250 nRSum += nR * nPixSum; in ImplMedianCut()
3276 for( nR = nR1; nR <= nR2; nR++ ) in ImplMedianCut()
3278 nPixNew += pBuf[ RGB15( nR, nG, nB ) ]; in ImplMedianCut()
3299 for( nR = nR1; nR <= nR2; nR++ ) in ImplMedianCut()
3301 nPixNew += pBuf[ RGB15( nR, nG, nB ) ]; in ImplMedianCut()
3317 nR = nR1 - 1; in ImplMedianCut()
3321 nR++, nPixOld = nPixNew; in ImplMedianCut()
3324 nPixNew += pBuf[ RGB15( nR, nG, nB ) ]; in ImplMedianCut()
3327 if( nR < nR2 ) in ImplMedianCut()
3329 ImplMedianCut( pBuf, rPal, nR1, nR, nG1, nG2, nB1, nB2, nColors >> 1, nPixNew, rIndex ); in ImplMedianCut()
3334 ImplMedianCut( pBuf, rPal, nR1, nR - 1, nG1, nG2, nB1, nB2, nColors >> 1, nPixOld, rIndex ); in ImplMedianCut()
3335 … ImplMedianCut( pBuf, rPal, nR, nR2, nG1, nG2, nB1, nB2, nColors >> 1, nPixels - nPixOld, rIndex ); in ImplMedianCut()