Lines Matching refs:rSrcBuffer

89 static void	ImplPALToPAL( const BitmapBuffer& rSrcBuffer, BitmapBuffer& rDstBuffer,  in ImplPALToPAL()  argument
94 const ColorMask& rSrcMask = rSrcBuffer.maColorMask; in ImplPALToPAL()
96 BitmapPalette aColMap( rSrcBuffer.maPalette.GetEntryCount() ); in ImplPALToPAL()
102 if( ( i < nDstCount ) && ( rSrcBuffer.maPalette[ i ] == rDstBuffer.maPalette[ i ] ) ) in ImplPALToPAL()
105 …aIndex.SetIndex( sal::static_int_cast<sal_uInt8>(rDstBuffer.maPalette.GetBestIndex( rSrcBuffer.maP… in ImplPALToPAL()
123 static void ImplPALToTC( const BitmapBuffer& rSrcBuffer, BitmapBuffer& rDstBuffer, in ImplPALToTC() argument
128 const ColorMask& rSrcMask = rSrcBuffer.maColorMask; in ImplPALToTC()
130 const BitmapColor* pColBuf = rSrcBuffer.maPalette.ImplGetColorBuffer(); in ImplPALToTC()
132 if( BMP_SCANLINE_FORMAT( rSrcBuffer.mnFormat ) == BMP_FORMAT_1BIT_MSB_PAL ) in ImplPALToTC()
153 else if( BMP_SCANLINE_FORMAT( rSrcBuffer.mnFormat ) == BMP_FORMAT_4BIT_MSN_PAL ) in ImplPALToTC()
172 else if( BMP_SCANLINE_FORMAT( rSrcBuffer.mnFormat ) == BMP_FORMAT_8BIT_PAL ) in ImplPALToTC()
200 static void ImplTCToTC( const BitmapBuffer& rSrcBuffer, BitmapBuffer& rDstBuffer, in ImplTCToTC() argument
205 const ColorMask& rSrcMask = rSrcBuffer.maColorMask; in ImplTCToTC()
208 if( BMP_SCANLINE_FORMAT( rSrcBuffer.mnFormat ) == BMP_FORMAT_24BIT_TC_BGR ) in ImplTCToTC()
244 static void ImplTCToPAL( const BitmapBuffer& rSrcBuffer, BitmapBuffer& rDstBuffer, in ImplTCToPAL() argument
249 const ColorMask& rSrcMask = rSrcBuffer.maColorMask; in ImplTCToPAL()
251 BitmapPalette aColMap( rSrcBuffer.maPalette.GetEntryCount() ); in ImplTCToPAL()
292 const BitmapBuffer& rSrcBuffer, const SalTwoRect& rTwoRect, in StretchAndConvert() argument
301 switch( BMP_SCANLINE_FORMAT( rSrcBuffer.mnFormat ) ) in StretchAndConvert()
398 bool bFastConvert = ImplFastBitmapConversion( *pDstBuffer, rSrcBuffer, rTwoRect ); in StretchAndConvert()
413 pSrcScan = new Scanline[ rSrcBuffer.mnHeight ]; in StretchAndConvert()
461 if( BMP_SCANLINE_ADJUSTMENT( rSrcBuffer.mnFormat ) == BMP_FORMAT_TOP_DOWN ) in StretchAndConvert()
462 pTmpScan = rSrcBuffer.mpBits, nOffset = rSrcBuffer.mnScanlineSize; in StretchAndConvert()
465 pTmpScan = rSrcBuffer.mpBits + ( rSrcBuffer.mnHeight - 1 ) * rSrcBuffer.mnScanlineSize; in StretchAndConvert()
466 nOffset = -rSrcBuffer.mnScanlineSize; in StretchAndConvert()
469 for( i = 0L; i < rSrcBuffer.mnHeight; i++, pTmpScan += nOffset ) in StretchAndConvert()
485 if( rSrcBuffer.mnBitCount <= 8 && pDstBuffer->mnBitCount <= 8 ) in StretchAndConvert()
487 ImplPALToPAL( rSrcBuffer, *pDstBuffer, pFncGetPixel, pFncSetPixel, in StretchAndConvert()
490 else if( rSrcBuffer.mnBitCount <= 8 && pDstBuffer->mnBitCount > 8 ) in StretchAndConvert()
492 ImplPALToTC( rSrcBuffer, *pDstBuffer, pFncGetPixel, pFncSetPixel, in StretchAndConvert()
495 else if( rSrcBuffer.mnBitCount > 8 && pDstBuffer->mnBitCount > 8 ) in StretchAndConvert()
497 ImplTCToTC( rSrcBuffer, *pDstBuffer, pFncGetPixel, pFncSetPixel, in StretchAndConvert()
502 ImplTCToPAL( rSrcBuffer, *pDstBuffer, pFncGetPixel, pFncSetPixel, in StretchAndConvert()