Lines Matching refs:aSrcBuf
215 BitmapBuffer aSrcBuf; in ImplCreateDIB() local
219 aSrcBuf.mnFormat = BMP_FORMAT_TOP_DOWN; in ImplCreateDIB()
220 aSrcBuf.mnWidth = nWidth; in ImplCreateDIB()
221 aSrcBuf.mnHeight = nHeight; in ImplCreateDIB()
222 aSrcBuf.mnBitCount = pImage->bits_per_pixel; in ImplCreateDIB()
223 aSrcBuf.mnScanlineSize = pImage->bytes_per_line; in ImplCreateDIB()
224 aSrcBuf.mpBits = (sal_uInt8*) pImage->data; in ImplCreateDIB()
230 switch( aSrcBuf.mnBitCount ) in ImplCreateDIB()
234 …aSrcBuf.mnFormat |= ( LSBFirst == pImage->bitmap_bit_order ? BMP_FORMAT_1BIT_LSB_PAL : BMP_FORMAT_… in ImplCreateDIB()
241 …aSrcBuf.mnFormat |= ( LSBFirst == pImage->bitmap_bit_order ? BMP_FORMAT_4BIT_LSN_PAL : BMP_FORMAT_… in ImplCreateDIB()
248 aSrcBuf.mnFormat |= BMP_FORMAT_8BIT_PAL; in ImplCreateDIB()
256 … aSrcBuf.maColorMask = ColorMask( pImage->red_mask, pImage->green_mask, pImage->blue_mask ); in ImplCreateDIB()
260 aSrcBuf.mnFormat |= BMP_FORMAT_16BIT_TC_LSB_MASK; in ImplCreateDIB()
264 aSrcBuf.mnFormat |= BMP_FORMAT_16BIT_TC_MSB_MASK; in ImplCreateDIB()
273 aSrcBuf.mnFormat |= BMP_FORMAT_24BIT_TC_RGB; in ImplCreateDIB()
275 aSrcBuf.mnFormat |= BMP_FORMAT_24BIT_TC_BGR; in ImplCreateDIB()
284 …aSrcBuf.mnFormat |= ( pSalDisp->GetVisual(nScreen).red_mask == 0xFF ? BMP_FORMAT_32BIT_TC_RGBA : … in ImplCreateDIB()
286 …aSrcBuf.mnFormat |= ( pSalDisp->GetVisual(nScreen).red_mask == 0xFF ? BMP_FORMAT_32BIT_TC_ABGR : … in ImplCreateDIB()
293 BitmapPalette& rPal = aSrcBuf.maPalette; in ImplCreateDIB()
295 if( aSrcBuf.mnBitCount == 1 ) in ImplCreateDIB()
303 else if( aSrcBuf.mnBitCount <= 8 ) in ImplCreateDIB()
322 nDstFormat = aSrcBuf.mnFormat; in ImplCreateDIB()
323 pDIB = StretchAndConvert( aSrcBuf, aTwoRect, nDstFormat, in ImplCreateDIB()
324 const_cast<BitmapPalette*>(pDstPal), &aSrcBuf.maColorMask ); in ImplCreateDIB()