/trunk/main/vcl/unx/headless/ |
H A D | svpbmp.cxx | 46 switch( nBitCount ) in Create() 64 if( nBitCount > 8 ) in Create() 151 nBitCount = 1; in AcquireBuffer() 156 nBitCount = 1; in AcquireBuffer() 161 nBitCount = 4; in AcquireBuffer() 166 nBitCount = 4; in AcquireBuffer() 170 nBitCount = 8; in AcquireBuffer() 174 nBitCount = 8; in AcquireBuffer() 203 nBitCount = 1; in AcquireBuffer() 216 if( nBitCount <= 8 ) in AcquireBuffer() [all …]
|
H A D | svpelement.cxx | 251 sal_uInt32 nBitCount = 1; in getBitCountFromScanlineFormat() local 258 nBitCount = 1; in getBitCountFromScanlineFormat() 264 nBitCount = 4; in getBitCountFromScanlineFormat() 268 nBitCount = 8; in getBitCountFromScanlineFormat() 272 nBitCount = 16; in getBitCountFromScanlineFormat() 275 nBitCount = 24; in getBitCountFromScanlineFormat() 278 nBitCount = 32; in getBitCountFromScanlineFormat() 284 return nBitCount; in getBitCountFromScanlineFormat()
|
H A D | svpvd.hxx | 41 SvpSalVirtualDevice( sal_uInt16 nBitCount ) : SvpElement(), m_nBitCount(nBitCount) {} in SvpSalVirtualDevice() argument
|
/trunk/main/vcl/source/gdi/ |
H A D | virdev.cxx | 48 DBG_ASSERT( nBitCount <= 1, in ImplInitVirDev() 81 mnBitCount = ( nBitCount ? nBitCount : pOutDev->GetBitCount() ); in ImplInitVirDev() 134 VirtualDevice::VirtualDevice( sal_uInt16 nBitCount ) in VirtualDevice() argument 138 DBG_TRACE1( "VirtualDevice::VirtualDevice( %hu )", nBitCount ); in VirtualDevice() 140 ImplInitVirDev( Application::GetDefaultDevice(), 1, 1, nBitCount ); in VirtualDevice() 149 DBG_TRACE1( "VirtualDevice::VirtualDevice( %hu )", nBitCount ); in VirtualDevice() 151 ImplInitVirDev( &rCompDev, 1, 1, nBitCount ); in VirtualDevice() 160 DBG_TRACE1( "VirtualDevice::VirtualDevice( %hu )", nBitCount ); in VirtualDevice() 162 ImplInitVirDev( &rCompDev, 1, 1, nBitCount ); in VirtualDevice() 174 DBG_TRACE1( "VirtualDevice::VirtualDevice( %hu )", nBitCount ); in VirtualDevice() [all …]
|
H A D | dibtools.cxx | 93 sal_uInt16 nBitCount; member 106 nBitCount(0), in DIBInfoHeader() 189 rIStm >> rHeader.nBitCount; in ImplReadDIBInfoHeader() 402 bool bTCMask(!pAccAlpha && ((16 == rHeader.nBitCount) || (32 == rHeader.nBitCount))); in ImplReadDIBBits() 465 switch(rHeader.nBitCount) in ImplReadDIBBits() 633 const sal_uInt16 nBitCount(discretizeBitcount(aHeader.nBitCount)); in ImplReadDIBBody() local 671 if(nBitCount <= 8) in ImplReadDIBBody() 1044 switch( nBitCount ) in ImplWriteDIBBits() 1191 aHeader.nBitCount = nBitCount; in ImplWriteDIBBody() 1196 if(4 == nBitCount) in ImplWriteDIBBody() [all …]
|
H A D | impbmp.cxx | 63 sal_Bool ImpBitmap::ImplCreate( const Size& rSize, sal_uInt16 nBitCount, const BitmapPalette& rPal ) in ImplCreate() argument 66 return mpSalBitmap->Create( rSize, nBitCount, rPal ); in ImplCreate() 110 sal_uInt16 nBitCount = mpSalBitmap->GetBitCount(); in ImplGetBitCount() local 111 return( ( nBitCount <= 1 ) ? 1 : ( nBitCount <= 4 ) ? 4 : ( nBitCount <= 8 ) ? 8 : 24 ); in ImplGetBitCount()
|
H A D | bitmap3.cxx | 295 if( nBitCount < 4 ) in Convert() 308 if( nBitCount < 4 ) in Convert() 321 if( nBitCount < 8 ) in Convert() 2893 nBitCount = 1; in ImplReduceSimple() 2895 nBitCount = 4; in ImplReduceSimple() 2897 nBitCount = 8; in ImplReduceSimple() 2982 nBitCount = 4; in ImplReducePopular() 2984 nBitCount = 8; in ImplReducePopular() 3126 nBitCount = 4; in ImplReduceMedian() 3128 nBitCount = 8; in ImplReduceMedian() [all …]
|
H A D | bitmap.cxx | 87 Bitmap::Bitmap( const Size& rSizePixel, sal_uInt16 nBitCount, const BitmapPalette* pPal ) in Bitmap() argument 94 if( nBitCount <= 8 ) in Bitmap() 98 if( 1 == nBitCount ) in Bitmap() 104 else if( ( 4 == nBitCount ) || ( 8 == nBitCount ) ) in Bitmap() 106 aPal.SetEntryCount( 1 << nBitCount ); in Bitmap() 125 if( 8 == nBitCount ) in Bitmap() 144 mpImpBmp->ImplCreate( rSizePixel, nBitCount, pRealPal ? *pRealPal : aPal ); in Bitmap() 326 const sal_uInt16 nBitCount = GetBitCount(); in HasGreyPalette() local 329 if( 1 == nBitCount ) in HasGreyPalette() 347 else if( 4 == nBitCount || 8 == nBitCount ) in HasGreyPalette() [all …]
|
/trunk/main/vcl/unx/generic/gdi/ |
H A D | salvd.cxx | 45 … sal_uInt16 nBitCount, const SystemGraphicsData *pData ) in CreateVirtualDevice() argument 48 if( !nBitCount && pGraphics ) in CreateVirtualDevice() 49 nBitCount = pGraphics->GetBitCount(); in CreateVirtualDevice() 68 …if( !pVDev->Init( GetX11SalData()->GetDisplay(), nDX, nDY, nBitCount, nScreen, pData->hDrawable, p… in CreateVirtualDevice() 74 else if( !pVDev->Init( GetX11SalData()->GetDisplay(), nDX, nDY, nBitCount, in CreateVirtualDevice() 133 sal_uInt16 nBitCount, in Init() argument 150 pColormap = new SalColormap( nBitCount ); in Init() 153 else if( nBitCount != pDisplay->GetVisual( m_nScreen ).GetDepth() ) in Init() 155 pColormap = new SalColormap( nBitCount ); in Init() 161 nDepth_ = nBitCount; in Init()
|
H A D | salbmp.cxx | 113 …DBG_ASSERT( nBitCount == 1 || nBitCount == 4 || nBitCount == 8 || nBitCount == 16 || nBitCount == … in ImplCreateDIB() 130 const sal_uInt16 nColors = ( nBitCount <= 8 ) ? ( 1 << nBitCount ) : 0; in ImplCreateDIB() 134 switch( nBitCount ) in ImplCreateDIB() 151 nBitCount = 24; in ImplCreateDIB() 161 pDIB->mnBitCount = nBitCount; in ImplCreateDIB() 688 mpDIB = ImplCreateDIB( rSize, nBitCount, rPal ); in Create() 779 sal_uInt16 nBitCount; in GetBitCount() local 782 nBitCount = mpDIB->mnBitCount; in GetBitCount() 784 nBitCount = mpDDB->ImplGetDepth(); in GetBitCount() 786 nBitCount = 0; in GetBitCount() [all …]
|
H A D | salgdi2.cxx | 1059 sal_uInt16 nBitCount = GetBitCount(); in getBitmap() local 1062 nBitCount = 1; in getBitmap() 1065 pSalBitmap->ImplCreateFromDrawable( GetDrawable(), m_nScreen, nBitCount, nX, nY, nDX, nDY ); in getBitmap() 1067 …pSalBitmap->Create( Size( nDX, nDY ), (nBitCount > 8) ? 24 : nBitCount, BitmapPalette( nBitCount >… in getBitmap()
|
/trunk/main/vcl/os2/source/gdi/ |
H A D | salvd.cxx | 53 USHORT nBitCount ) in ImplCreateVirDevBitmap() argument 55 if( !nBitCount ) in ImplCreateVirDevBitmap() 59 nBitCount = nDevBitCount; in ImplCreateVirDevBitmap() 73 aBitmapInfo.cBitCount = (nBitCount < 4) ? 4 : nBitCount; in ImplCreateVirDevBitmap() 82 USHORT nBitCount, in CreateVirtualDevice() argument 106 HBITMAP hBmp = ImplCreateVirDevBitmap( hDC, hPS, nDX, nDY, nBitCount ); in CreateVirtualDevice() 133 pVDev->mnBitCount = nBitCount; in CreateVirtualDevice()
|
/trunk/main/filter/source/graphicfilter/ipsd/ |
H A D | ipsd.cxx | 345 signed char nBitCount = -1; in ImplReadBody() local 356 if ( nBitCount == -1 ) in ImplReadBody() 363 if ( nBitCount == -1 ) // bits left in nDat ? in ImplReadBody() 367 nBitCount = 7; in ImplReadBody() 371 mpWriteAcc->SetPixelIndex( nY, nX, nDat >> nBitCount-- ); in ImplReadBody() 376 nBitCount = -1; in ImplReadBody() 386 if ( nBitCount == -1 ) // bits left in nDat ? in ImplReadBody() 390 nBitCount = 7; in ImplReadBody() 392 mpWriteAcc->SetPixelIndex( nY, nX, nDat >> nBitCount-- ); in ImplReadBody() 397 nBitCount = -1; in ImplReadBody()
|
/trunk/main/oox/source/ole/ |
H A D | vbainputstream.cxx | 144 sal_uInt8 nBitCount = 4; in updateChunk() local 157 while( static_cast< size_t >( 1 << nBitCount ) < maChunk.size() ) ++nBitCount; in updateChunk() 159 … sal_uInt16 nLength = extractValue< sal_uInt16 >( nCopyToken, 0, 16 - nBitCount ) + 3; in updateChunk() 161 … sal_uInt16 nOffset = extractValue< sal_uInt16 >( nCopyToken, 16 - nBitCount, nBitCount ) + 1; in updateChunk()
|
/trunk/main/vcl/inc/vcl/ |
H A D | virdev.hxx | 53 …InitVirDev( const OutputDevice* pOutDev, long nDX, long nDY, sal_uInt16 nBitCount, const SystemGra… 71 explicit VirtualDevice( sal_uInt16 nBitCount = 0 ); 73 sal_uInt16 nBitCount = 0 ); 91 sal_uInt16 nBitCount, sal_uInt16 nAlphaBitCount ); 97 explicit VirtualDevice( const SystemGraphicsData *pData, sal_uInt16 nBitCount );
|
/trunk/main/vcl/win/source/gdi/ |
H A D | salvd.cxx | 40 sal_uInt16 nBitCount ) in ImplCreateVirDevBitmap() argument 44 if ( nBitCount == 1 ) in ImplCreateVirDevBitmap() 80 sal_uInt16 nBitCount, in CreateVirtualDevice() argument 102 nDX, nDY, nBitCount ); in CreateVirtualDevice() 140 pVDev->mnBitCount = nBitCount; in CreateVirtualDevice()
|
/trunk/main/filter/source/graphicfilter/ipict/ |
H A D | ipict.cxx | 45 nBitCount = 64; in Pattern() 60 double alpha = nBitCount / 64.0; in getColor() 78 short nBitCount; member in PictReaderInternal::Pattern 95 nBitCount=0; in read() 99 if ( (nbyte[ny] & (1<<nx)) != 0 ) nBitCount++; in read() 114 if (nBitCount<=0) penStyle=PEN_NULL; in read() 115 else if (nBitCount<=16) penStyle=PEN_DOT; in read() 117 else if (nBitCount<=48) penStyle=PEN_DASH; in read() 128 else if (nBitCount<=24) brushStyle=BRUSH_25; in read() 129 else if (nBitCount<=40) brushStyle=BRUSH_50; in read() [all …]
|
/trunk/main/vcl/aqua/source/gdi/ |
H A D | salbmp.cxx | 46 static bool isValidBitCount( sal_uInt16 nBitCount ) in isValidBitCount() argument 48 …return (nBitCount == 1) || (nBitCount == 4) || (nBitCount == 8) || (nBitCount == 16) || (nBitCount… in isValidBitCount()
|
H A D | salvd.cxx | 39 long nDX, long nDY, sal_uInt16 nBitCount, const SystemGraphicsData *pData ) in CreateVirtualDevice() argument 44 …return new AquaSalVirtualDevice( static_cast< AquaSalGraphics* >( pGraphics ), nDX, nDY, nBitCount… in CreateVirtualDevice() 56 …irtualDevice( AquaSalGraphics* pGraphic, long nDX, long nDY, sal_uInt16 nBitCount, const SystemGra… in AquaSalVirtualDevice() argument 75 mnBitmapDepth = nBitCount; in AquaSalVirtualDevice()
|
/trunk/main/vcl/unx/generic/dtrans/ |
H A D | bmp.cxx | 148 sal_uInt16 nBitCount; in X11_getPaletteBmpFromImage() local 155 nBitCount = 1; in X11_getPaletteBmpFromImage() 160 nBitCount = 4; in X11_getPaletteBmpFromImage() 166 nBitCount = 8; in X11_getPaletteBmpFromImage() 200 writeLE( nBitCount, pBuffer+28 ); in X11_getPaletteBmpFromImage() 207 if( nColors > (1U << nBitCount) ) // paranoia in X11_getPaletteBmpFromImage() 208 nColors = (1U << nBitCount); in X11_getPaletteBmpFromImage()
|
/trunk/main/oox/inc/oox/helper/ |
H A D | helper.hxx | 161 inline ReturnType extractValue( Type nBitField, sal_uInt8 nStartBit, sal_uInt8 nBitCount ) in extractValue() argument 163 sal_uInt64 nMask = 1; nMask <<= nBitCount; --nMask; in extractValue() 182 void insertValue( Type& ornBitField, InsertType nValue, sal_uInt8 nStartBit, sal_uInt8 nBitCount ) in insertValue() argument 184 sal_uInt64 nMask = 1; nMask <<= nBitCount; --nMask; in insertValue()
|
/trunk/main/sc/source/filter/inc/ |
H A D | ftools.hxx | 108 inline ReturnType extract_value( Type nBitField, sal_uInt8 nStartBit, sal_uInt8 nBitCount ) in extract_value() argument 109 { return static_cast< ReturnType >( ((1UL << nBitCount) - 1) & (nBitField >> nStartBit) ); } in extract_value() 122 void insert_value( Type& rnBitField, InsertType nValue, sal_uInt8 nStartBit, sal_uInt8 nBitCount ) in insert_value() argument 124 unsigned long nMask = ((1UL << nBitCount) - 1); in insert_value()
|
/trunk/main/vcl/inc/os2/ |
H A D | salbmp.h | 60 …static HANDLE ImplCreateDIB( const Size& rSize, USHORT nBitCount, const BitmapPalette& rPal … 89 …virtual bool Create( const Size& rSize, USHORT nBitCount, const BitmapPalette& rPal…
|
/trunk/main/vcl/inc/aqua/ |
H A D | salbmp.h | 74 bool Create( const Size& rSize, sal_uInt16 nBitCount, const BitmapPalette& rPal ); 100 …bool Create( CGLayerRef xLayer, int nBitCount, int nX, int nY, int nWidth, int nHeight, bool bMi…
|
/trunk/main/vcl/inc/win/ |
H A D | salbmp.h | 75 …static HGLOBAL ImplCreateDIB( const Size& rSize, sal_uInt16 nBitCount, const BitmapPalette& rPal … 89 …virtual bool Create( const Size& rSize, sal_uInt16 nBitCount, const BitmapPalette& …
|