Lines Matching refs:nBitCount
93 sal_uInt16 nBitCount; member
106 nBitCount(0), in DIBInfoHeader()
189 rIStm >> rHeader.nBitCount; in ImplReadDIBInfoHeader()
200 … if(nUsed < rHeader.nSize) { rIStm >> rHeader.nBitCount; nUsed += sizeof(rHeader.nBitCount); } in ImplReadDIBInfoHeader()
393 … nBitsPerLine (static_cast<sal_Int64>(rHeader.nWidth) * static_cast<sal_Int64>(rHeader.nBitCount)); in ImplReadDIBBits()
398 sal_uInt32 nRMask(( rHeader.nBitCount == 16 ) ? 0x00007c00UL : 0x00ff0000UL); in ImplReadDIBBits()
399 sal_uInt32 nGMask(( rHeader.nBitCount == 16 ) ? 0x000003e0UL : 0x0000ff00UL); in ImplReadDIBBits()
400 sal_uInt32 nBMask(( rHeader.nBitCount == 16 ) ? 0x0000001fUL : 0x000000ffUL); in ImplReadDIBBits()
402 bool bTCMask(!pAccAlpha && ((16 == rHeader.nBitCount) || (32 == rHeader.nBitCount))); in ImplReadDIBBits()
403 … == rHeader.nCompression && 8 == rHeader.nBitCount) || (RLE_4 == rHeader.nCompression && 4 == rHea… in ImplReadDIBBits()
465 switch(rHeader.nBitCount) in ImplReadDIBBits()
624 && aHeader.nBitCount != 0 ) in ImplReadDIBBody()
633 const sal_uInt16 nBitCount(discretizeBitcount(aHeader.nBitCount)); in ImplReadDIBBody() local
636 Bitmap aNewBmp(aSizePixel, nBitCount, &aDummyPal); in ImplReadDIBBody()
640 bool bAlphaPossible(pBmpAlpha && aHeader.nBitCount == 32); in ImplReadDIBBody()
671 if(nBitCount <= 8) in ImplReadDIBBody()
679 nColors = ( 1 << aHeader.nBitCount ); in ImplReadDIBBody()
1005 …const sal_uInt16 nBitCount(pAccAlpha ? 32 : discretizeBitcount(static_cast< sal_uInt16 >(rAcc.GetB… in ImplWriteDIBBits() local
1006 const sal_uLong nAlignedWidth(AlignedWidth4Bytes(rAcc.Width() * nBitCount)); in ImplWriteDIBBits()
1044 switch( nBitCount ) in ImplWriteDIBBits()
1115 const bool bWriteAlpha(32 == nBitCount && pAccAlpha); in ImplWriteDIBBits()
1175 aHeader.nBitCount = (BMP_FORMAT_16BIT_TC_LSB_MASK == rAcc.GetScanlineFormat()) ? 16 : 32; in ImplWriteDIBBody()
1190 …const sal_uInt16 nBitCount(pAccAlpha ? 32 : discretizeBitcount(static_cast< sal_uInt16 >(rAcc.GetB… in ImplWriteDIBBody() local
1191 aHeader.nBitCount = nBitCount; in ImplWriteDIBBody()
1192 aHeader.nSizeImage = rAcc.Height() * AlignedWidth4Bytes(rAcc.Width() * aHeader.nBitCount); in ImplWriteDIBBody()
1196 if(4 == nBitCount) in ImplWriteDIBBody()
1200 else if(8 == nBitCount) in ImplWriteDIBBody()
1235 aHeader.nColsUsed = ((!pAccAlpha && aHeader.nBitCount <= 8) ? rAcc.GetPaletteEntryCount() : 0); in ImplWriteDIBBody()
1242 rOStm << aHeader.nBitCount; in ImplWriteDIBBody()