Lines Matching refs:pDstBuffer
46 pDstBuffer->mnBitCount = BitCount; \
297 BitmapBuffer* pDstBuffer = new BitmapBuffer; in StretchAndConvert() local
355 pDstBuffer->mnBitCount = 1; in StretchAndConvert()
361 pDstBuffer->mnFormat = nDstBitmapFormat; in StretchAndConvert()
362 pDstBuffer->mnWidth = rTwoRect.mnDestWidth; in StretchAndConvert()
363 pDstBuffer->mnHeight = rTwoRect.mnDestHeight; in StretchAndConvert()
364 pDstBuffer->mnScanlineSize = AlignedWidth4Bytes( pDstBuffer->mnBitCount * pDstBuffer->mnWidth ); in StretchAndConvert()
367 pDstBuffer->mpBits = new sal_uInt8[ pDstBuffer->mnScanlineSize * pDstBuffer->mnHeight ]; in StretchAndConvert()
372 pDstBuffer->mpBits = NULL; in StretchAndConvert()
373 delete pDstBuffer; in StretchAndConvert()
385 pDstBuffer->maPalette = *pDstPal; in StretchAndConvert()
394 pDstBuffer->maColorMask = *pDstMask; in StretchAndConvert()
398 bool bFastConvert = ImplFastBitmapConversion( *pDstBuffer, rSrcBuffer, rTwoRect ); in StretchAndConvert()
400 return pDstBuffer; in StretchAndConvert()
427 delete pDstBuffer; in StretchAndConvert()
473 if( BMP_SCANLINE_ADJUSTMENT( pDstBuffer->mnFormat ) == BMP_FORMAT_TOP_DOWN ) in StretchAndConvert()
474 pTmpScan = pDstBuffer->mpBits, nOffset = pDstBuffer->mnScanlineSize; in StretchAndConvert()
477 pTmpScan = pDstBuffer->mpBits + ( nDstDY - 1 ) * pDstBuffer->mnScanlineSize; in StretchAndConvert()
478 nOffset = -pDstBuffer->mnScanlineSize; 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()
512 return pDstBuffer; in StretchAndConvert()