Lines Matching refs:pAccAlpha
391 …IStm, DIBV5Header& rHeader, BitmapWriteAccess& rAcc, BitmapWriteAccess* pAccAlpha, bool bTopDown, … in ImplReadDIBBits() argument
402 bool bTCMask(!pAccAlpha && ((16 == rHeader.nBitCount) || (32 == rHeader.nBitCount))); in ImplReadDIBBits()
574 if(pAccAlpha) in ImplReadDIBBits()
586 pAccAlpha->SetPixelIndex(nY, nX, sal_uInt8(0xff) - aAlpha); in ImplReadDIBBits()
639 BitmapWriteAccess* pAccAlpha = 0; in ImplReadDIBBody() local
661 pAccAlpha = aNewBmpAlpha.AcquireWriteAccess(); in ImplReadDIBBody()
731 bRet = ImplReadDIBBits(*pIStm, aHeader, *pAcc, pAccAlpha, bTopDown, bAlphaUsed); in ImplReadDIBBody()
756 aNewBmpAlpha.ReleaseAccess(pAccAlpha); in ImplReadDIBBody()
964 bool ImplWriteDIBBits(SvStream& rOStm, BitmapReadAccess& rAcc, BitmapReadAccess* pAccAlpha, sal_uLo… in ImplWriteDIBBits() argument
966 if(!pAccAlpha && BITFIELDS == nCompression) in ImplWriteDIBBits()
990 else if(!pAccAlpha && ((RLE_4 == nCompression) || (RLE_8 == nCompression))) in ImplWriteDIBBits()
1005 …const sal_uInt16 nBitCount(pAccAlpha ? 32 : discretizeBitcount(static_cast< sal_uInt16 >(rAcc.GetB… in ImplWriteDIBBits()
1016 if(!pAccAlpha && rAcc.IsBottomUp() && (rAcc.GetScanlineSize() == nAlignedWidth)) in ImplWriteDIBBits()
1115 const bool bWriteAlpha(32 == nBitCount && pAccAlpha); in ImplWriteDIBBits()
1133 if(pAccAlpha) in ImplWriteDIBBits()
1135 … *pTmp++ = (sal_uInt8)0xff - (sal_uInt8)pAccAlpha->GetPixelIndex( nY, nX ); in ImplWriteDIBBits()
1159 …ap& rBitmap, SvStream& rOStm, BitmapReadAccess& rAcc, BitmapReadAccess* pAccAlpha, bool bCompresse… in ImplWriteDIBBody() argument
1168 …aHeader.nSize = pAccAlpha ? DIBV5HEADERSIZE : DIBINFOHEADERSIZE; // size dependent on CF_DIB type … in ImplWriteDIBBody()
1173 if(!pAccAlpha && isBitfieldCompression(rAcc.GetScanlineFormat())) in ImplWriteDIBBody()
1190 …const sal_uInt16 nBitCount(pAccAlpha ? 32 : discretizeBitcount(static_cast< sal_uInt16 >(rAcc.GetB… in ImplWriteDIBBody()
1235 aHeader.nColsUsed = ((!pAccAlpha && aHeader.nBitCount <= 8) ? rAcc.GetPaletteEntryCount() : 0); in ImplWriteDIBBody()
1253 if(pAccAlpha) // only write DIBV5 when asked to do so in ImplWriteDIBBody()
1299 bRet = ImplWriteDIBBits(aMemStm, rAcc, pAccAlpha, nCompression, aHeader.nSizeImage); in ImplWriteDIBBody()
1331 bRet = ImplWriteDIBBits(rOStm, rAcc, pAccAlpha, aHeader.nCompression, aHeader.nSizeImage); in ImplWriteDIBBody()
1411 BitmapReadAccess* pAccAlpha = 0; in ImplWriteDIB() local
1421 pAccAlpha = const_cast< Bitmap* >(pSourceAlpha)->AcquireReadAccess(); in ImplWriteDIB()
1437 bRet = ImplWriteDIBBody(rSource, rOStm, *pAcc, pAccAlpha, bCompressed); in ImplWriteDIB()
1442 bRet = ImplWriteDIBBody(rSource, rOStm, *pAcc, pAccAlpha, bCompressed); in ImplWriteDIB()
1447 if(pAccAlpha) in ImplWriteDIB()
1449 const_cast< Bitmap* >(pSourceAlpha)->ReleaseAccess(pAccAlpha); in ImplWriteDIB()