Lines Matching refs:rSrc

312     const TrueColorPixelPtr<SRCFMT>& rSrc )  in ImplConvertPixel()  argument
314 rDst.SetColor( rSrc.GetRed(), rSrc.GetGreen(), rSrc.GetBlue() ); in ImplConvertPixel()
315 rDst.SetAlpha( rSrc.GetAlpha() ); in ImplConvertPixel()
323 const TrueColorPixelPtr<BMP_FORMAT_16BIT_TC_LSB_MASK>& rSrc ) in ImplConvertPixel() argument
326 const PIXBYTE* pSrc = rSrc.GetRawPtr(); in ImplConvertPixel()
336 const TrueColorPixelPtr<SRCFMT>& rSrc, int nPixelCount ) in ImplConvertLine() argument
339 TrueColorPixelPtr<SRCFMT> aSrc( rSrc ); in ImplConvertLine()
353 const TrueColorPixelPtr<SRCFMT>& rSrc, unsigned nAlphaVal ) in ImplBlendPixels() argument
356 ImplConvertPixel( rDst, rSrc ); in ImplBlendPixels()
364 int nS = rSrc.GetRed(); in ImplBlendPixels()
368 nS = rSrc.GetGreen(); in ImplBlendPixels()
372 nS = rSrc.GetBlue(); in ImplBlendPixels()
385 const TrueColorPixelPtr<SRCFMT>& rSrc, const TrueColorPixelPtr<MASKFMT>& rMsk, in ImplBlendLines() argument
390 TrueColorPixelPtr<SRCFMT> aSrc( rSrc ); in ImplBlendLines()
404 const TrueColorPixelPtr<SRCFMT>& rSrc, unsigned nAlphaVal, in ImplBlendLines() argument
408 ImplConvertLine( rDst, rSrc, nPixelCount ); in ImplBlendLines()
411 TrueColorPixelPtr<SRCFMT> aSrc( rSrc ); in ImplBlendLines()
494 inline bool ImplConvertFromBitmap( BitmapBuffer& rDst, const BitmapBuffer& rSrc ) in ImplConvertFromBitmap() argument
496 TrueColorPixelPtr<SRCFMT> aSrcType; aSrcType.SetRawPtr( rSrc.mpBits ); in ImplConvertFromBitmap()
517 return ImplConvertToBitmap<BMP_FORMAT_16BIT_TC_MSB_MASK>( aSrcType, rDst, rSrc ); in ImplConvertFromBitmap()
519 return ImplConvertToBitmap<BMP_FORMAT_16BIT_TC_LSB_MASK>( aSrcType, rDst, rSrc ); in ImplConvertFromBitmap()
522 return ImplConvertToBitmap<BMP_FORMAT_24BIT_TC_BGR>( aSrcType, rDst, rSrc ); in ImplConvertFromBitmap()
524 return ImplConvertToBitmap<BMP_FORMAT_24BIT_TC_RGB>( aSrcType, rDst, rSrc ); in ImplConvertFromBitmap()
527 return ImplConvertToBitmap<BMP_FORMAT_32BIT_TC_ABGR>( aSrcType, rDst, rSrc ); in ImplConvertFromBitmap()
530 return ImplConvertToBitmap<BMP_FORMAT_32BIT_TC_ARGB>( aSrcType, rDst, rSrc ); in ImplConvertFromBitmap()
532 return ImplConvertToBitmap<BMP_FORMAT_32BIT_TC_BGRA>( aSrcType, rDst, rSrc ); in ImplConvertFromBitmap()
535 return ImplConvertToBitmap<BMP_FORMAT_32BIT_TC_RGBA>( aSrcType, rDst, rSrc ); in ImplConvertFromBitmap()
540 if( rSrc.mnWidth * rSrc.mnHeight >= 4000 ) in ImplConvertFromBitmap()
545 rSrc.mnFormat, rDst.mnFormat ); in ImplConvertFromBitmap()
556 bool ImplFastBitmapConversion( BitmapBuffer& rDst, const BitmapBuffer& rSrc, in ImplFastBitmapConversion() argument
583 if( rSrc.mnWidth < rTR.mnSrcX + rTR.mnSrcWidth ) in ImplFastBitmapConversion()
585 if( rSrc.mnHeight < rTR.mnSrcY + rTR.mnSrcHeight ) in ImplFastBitmapConversion()
594 const sal_uLong nSrcFormat = rSrc.mnFormat & ~BMP_FORMAT_TOP_DOWN; in ImplFastBitmapConversion()
599 if( rSrc.maColorMask.GetRedMask() != 0xF800 in ImplFastBitmapConversion()
600 || rSrc.maColorMask.GetGreenMask()!= 0x07E0 in ImplFastBitmapConversion()
601 || rSrc.maColorMask.GetBlueMask() != 0x001F ) in ImplFastBitmapConversion()
613 if( rSrc.maPalette != rDst.maPalette ) in ImplFastBitmapConversion()
615 return ImplCopyImage( rDst, rSrc ); in ImplFastBitmapConversion()
637 return ImplConvertFromBitmap<BMP_FORMAT_16BIT_TC_MSB_MASK>( rDst, rSrc ); in ImplFastBitmapConversion()
639 return ImplConvertFromBitmap<BMP_FORMAT_16BIT_TC_LSB_MASK>( rDst, rSrc ); in ImplFastBitmapConversion()
642 return ImplConvertFromBitmap<BMP_FORMAT_24BIT_TC_BGR>( rDst, rSrc ); in ImplFastBitmapConversion()
644 return ImplConvertFromBitmap<BMP_FORMAT_24BIT_TC_RGB>( rDst, rSrc ); in ImplFastBitmapConversion()
647 return ImplConvertFromBitmap<BMP_FORMAT_32BIT_TC_ABGR>( rDst, rSrc ); in ImplFastBitmapConversion()
650 return ImplConvertFromBitmap<BMP_FORMAT_32BIT_TC_ARGB>( rDst, rSrc ); in ImplFastBitmapConversion()
652 return ImplConvertFromBitmap<BMP_FORMAT_32BIT_TC_BGRA>( rDst, rSrc ); in ImplFastBitmapConversion()
655 return ImplConvertFromBitmap<BMP_FORMAT_32BIT_TC_RGBA>( rDst, rSrc ); in ImplFastBitmapConversion()
660 if( rSrc.mnWidth * rSrc.mnHeight >= 4000 ) in ImplFastBitmapConversion()
665 …G2( "ImplFastBitmapConversion for not accelerated case (0x%04X->0x%04X)", rSrc.mnFormat, rDst.mnFo… in ImplFastBitmapConversion()
753 bool ImplBlendFromBitmap( BitmapBuffer& rDst, const BitmapBuffer& rSrc, const BitmapBuffer& rMsk ) in ImplBlendFromBitmap() argument
755 TrueColorPixelPtr<SRCFMT> aSrcType; aSrcType.SetRawPtr( rSrc.mpBits ); in ImplBlendFromBitmap()
776 return ImplBlendToBitmap<BMP_FORMAT_16BIT_TC_MSB_MASK>( aSrcType, rDst, rSrc, rMsk ); in ImplBlendFromBitmap()
778 return ImplBlendToBitmap<BMP_FORMAT_16BIT_TC_LSB_MASK>( aSrcType, rDst, rSrc, rMsk ); in ImplBlendFromBitmap()
781 return ImplBlendToBitmap<BMP_FORMAT_24BIT_TC_BGR>( aSrcType, rDst, rSrc, rMsk ); in ImplBlendFromBitmap()
783 return ImplBlendToBitmap<BMP_FORMAT_24BIT_TC_RGB>( aSrcType, rDst, rSrc, rMsk ); in ImplBlendFromBitmap()
786 return ImplBlendToBitmap<BMP_FORMAT_32BIT_TC_ABGR>( aSrcType, rDst, rSrc, rMsk ); in ImplBlendFromBitmap()
789 return ImplBlendToBitmap<BMP_FORMAT_32BIT_TC_ARGB>( aSrcType, rDst, rSrc, rMsk ); in ImplBlendFromBitmap()
791 return ImplBlendToBitmap<BMP_FORMAT_32BIT_TC_BGRA>( aSrcType, rDst, rSrc, rMsk ); in ImplBlendFromBitmap()
794 return ImplBlendToBitmap<BMP_FORMAT_32BIT_TC_RGBA>( aSrcType, rDst, rSrc, rMsk ); in ImplBlendFromBitmap()
799 if( rSrc.mnWidth * rSrc.mnHeight >= 4000 ) in ImplBlendFromBitmap()
804 rSrc.mnFormat, rMsk.mnFormat, rDst.mnFormat ); in ImplBlendFromBitmap()
867 const BitmapBuffer& rSrc = *rSrcRA.ImplGetBitmapBuffer(); in ImplFastBitmapBlending() local
870 const sal_uLong nSrcFormat = rSrc.mnFormat & ~BMP_FORMAT_TOP_DOWN; in ImplFastBitmapBlending()
875 if( rSrc.maColorMask.GetRedMask() != 0xF800 in ImplFastBitmapBlending()
876 || rSrc.maColorMask.GetGreenMask()!= 0x07E0 in ImplFastBitmapBlending()
877 || rSrc.maColorMask.GetBlueMask() != 0x001F) in ImplFastBitmapBlending()
904 return ImplBlendFromBitmap<BMP_FORMAT_16BIT_TC_MSB_MASK>( rDst, rSrc, rMsk ); in ImplFastBitmapBlending()
906 return ImplBlendFromBitmap<BMP_FORMAT_16BIT_TC_LSB_MASK>( rDst, rSrc, rMsk ); in ImplFastBitmapBlending()
909 return ImplBlendFromBitmap<BMP_FORMAT_24BIT_TC_BGR>( rDst, rSrc, rMsk ); in ImplFastBitmapBlending()
911 return ImplBlendFromBitmap<BMP_FORMAT_24BIT_TC_RGB>( rDst, rSrc, rMsk ); in ImplFastBitmapBlending()
914 return ImplBlendFromBitmap<BMP_FORMAT_32BIT_TC_ABGR>( rDst, rSrc, rMsk ); in ImplFastBitmapBlending()
917 return ImplBlendFromBitmap<BMP_FORMAT_32BIT_TC_ARGB>( rDst, rSrc, rMsk ); in ImplFastBitmapBlending()
919 return ImplBlendFromBitmap<BMP_FORMAT_32BIT_TC_BGRA>( rDst, rSrc, rMsk ); in ImplFastBitmapBlending()
922 return ImplBlendFromBitmap<BMP_FORMAT_32BIT_TC_RGBA>( rDst, rSrc, rMsk ); in ImplFastBitmapBlending()
927 if( rSrc.mnWidth * rSrc.mnHeight >= 4000 ) in ImplFastBitmapBlending()
932 rSrc.mnFormat, rMsk.mnFormat, rDst.mnFormat ); in ImplFastBitmapBlending()