Lines Matching refs:rSrcBuffer

424 static bool ImplCopyImage( BitmapBuffer& rDstBuffer, const BitmapBuffer& rSrcBuffer )  in ImplCopyImage()  argument
426 const int nSrcLinestep = rSrcBuffer.mnScanlineSize; in ImplCopyImage()
429 const PIXBYTE* pRawSrc = rSrcBuffer.mpBits; in ImplCopyImage()
433 if( BMP_FORMAT_TOP_DOWN & (rSrcBuffer.mnFormat ^ rDstBuffer.mnFormat) ) in ImplCopyImage()
435 pRawDst += (rSrcBuffer.mnHeight - 1) * nDstLinestep; in ImplCopyImage()
440 memcpy( pRawDst, pRawSrc, rSrcBuffer.mnHeight * nDstLinestep ); in ImplCopyImage()
448 for( int y = rSrcBuffer.mnHeight; --y >= 0; ) in ImplCopyImage()
462 BitmapBuffer& rDstBuffer, const BitmapBuffer& rSrcBuffer ) in ImplConvertToBitmap() argument
469 const int nSrcLinestep = rSrcBuffer.mnScanlineSize; in ImplConvertToBitmap()
475 if( BMP_FORMAT_TOP_DOWN & (rSrcBuffer.mnFormat ^ rDstBuffer.mnFormat) ) in ImplConvertToBitmap()
477 aDstLine.AddByteOffset( (rSrcBuffer.mnHeight - 1) * nDstLinestep ); in ImplConvertToBitmap()
481 for( int y = rSrcBuffer.mnHeight; --y >= 0; ) in ImplConvertToBitmap()
483 ImplConvertLine( aDstLine, rSrcLine, rSrcBuffer.mnWidth ); in ImplConvertToBitmap()
677 BitmapBuffer& rDstBuffer, const BitmapBuffer& rSrcBuffer, in ImplBlendToBitmap() argument
683 const int nSrcLinestep = rSrcBuffer.mnScanlineSize; in ImplBlendToBitmap()
695 if( (rSrcBuffer.mnFormat ^ rMskBuffer.mnFormat) & BMP_FORMAT_TOP_DOWN ) in ImplBlendToBitmap()
697 aMskLine.AddByteOffset( (rSrcBuffer.mnHeight - 1) * nMskLinestep ); in ImplBlendToBitmap()
702 if( (rSrcBuffer.mnFormat ^ rDstBuffer.mnFormat) & BMP_FORMAT_TOP_DOWN ) in ImplBlendToBitmap()
704 aDstLine.AddByteOffset( (rSrcBuffer.mnHeight - 1) * nDstLinestep ); in ImplBlendToBitmap()
708 for( int y = rSrcBuffer.mnHeight; --y >= 0; ) in ImplBlendToBitmap()
723 BitmapBuffer& rDstBuffer, const BitmapBuffer& rSrcBuffer, in ImplBlendToBitmap() argument
726 TrueColorPixelPtr<BMP_FORMAT_24BIT_TC_RGB> aSrcType; aSrcType.SetRawPtr( rSrcBuffer.mpBits ); in ImplBlendToBitmap()
727 … return ImplBlendToBitmap<BMP_FORMAT_24BIT_TC_RGB>( aSrcType, rDstBuffer, rSrcBuffer, rMskBuffer ); in ImplBlendToBitmap()
733 BitmapBuffer& rDstBuffer, const BitmapBuffer& rSrcBuffer, in ImplBlendToBitmap() argument
736 TrueColorPixelPtr<BMP_FORMAT_32BIT_TC_ARGB> aSrcType; aSrcType.SetRawPtr( rSrcBuffer.mpBits ); in ImplBlendToBitmap()
737 …return ImplBlendToBitmap<BMP_FORMAT_32BIT_TC_ARGB>( aSrcType, rDstBuffer, rSrcBuffer, rMskBuffer ); in ImplBlendToBitmap()
743 BitmapBuffer& rDstBuffer, const BitmapBuffer& rSrcBuffer, in ImplBlendToBitmap() argument
746 TrueColorPixelPtr<BMP_FORMAT_32BIT_TC_RGBA> aSrcType; aSrcType.SetRawPtr( rSrcBuffer.mpBits ); in ImplBlendToBitmap()
747 …return ImplBlendToBitmap<BMP_FORMAT_32BIT_TC_RGBA>( aSrcType, rDstBuffer, rSrcBuffer, rMskBuffer ); in ImplBlendToBitmap()