Home
last modified time | relevance | path

Searched refs:nBitCount (Results 1 – 25 of 50) sorted by relevance

12

/aoo4110/main/vcl/unx/headless/
H A Dsvpbmp.cxx46 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 Dsvpelement.cxx251 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 Dsvpvd.hxx41 SvpSalVirtualDevice( sal_uInt16 nBitCount ) : SvpElement(), m_nBitCount(nBitCount) {} in SvpSalVirtualDevice() argument
/aoo4110/main/vcl/source/gdi/
H A Dvirdev.cxx48 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 Ddibtools.cxx93 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 Dimpbmp.cxx63 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 Dbitmap3.cxx295 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 Dbitmap.cxx87 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 …]
/aoo4110/main/vcl/unx/generic/gdi/
H A Dsalvd.cxx45 … 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 Dsalbmp.cxx113 …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 Dsalgdi2.cxx1059 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()
/aoo4110/main/vcl/os2/source/gdi/
H A Dsalvd.cxx53 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()
/aoo4110/main/filter/source/graphicfilter/ipsd/
H A Dipsd.cxx345 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()
/aoo4110/main/oox/source/ole/
H A Dvbainputstream.cxx144 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()
/aoo4110/main/vcl/inc/vcl/
H A Dvirdev.hxx53 …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 );
/aoo4110/main/vcl/win/source/gdi/
H A Dsalvd.cxx40 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()
/aoo4110/main/filter/source/graphicfilter/ipict/
H A Dipict.cxx45 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 …]
/aoo4110/main/vcl/aqua/source/gdi/
H A Dsalbmp.cxx46 static bool isValidBitCount( sal_uInt16 nBitCount ) in isValidBitCount() argument
48 …return (nBitCount == 1) || (nBitCount == 4) || (nBitCount == 8) || (nBitCount == 16) || (nBitCount in isValidBitCount()
H A Dsalvd.cxx39 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()
/aoo4110/main/vcl/unx/generic/dtrans/
H A Dbmp.cxx148 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()
/aoo4110/main/oox/inc/oox/helper/
H A Dhelper.hxx161 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()
/aoo4110/main/sc/source/filter/inc/
H A Dftools.hxx108 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()
/aoo4110/main/vcl/inc/os2/
H A Dsalbmp.h60 …static HANDLE ImplCreateDIB( const Size& rSize, USHORT nBitCount, const BitmapPalette& rPal …
89 …virtual bool Create( const Size& rSize, USHORT nBitCount, const BitmapPalette& rPal…
/aoo4110/main/vcl/inc/aqua/
H A Dsalbmp.h74 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…
/aoo4110/main/vcl/inc/win/
H A Dsalbmp.h75 …static HGLOBAL ImplCreateDIB( const Size& rSize, sal_uInt16 nBitCount, const BitmapPalette& rPal …
89 …virtual bool Create( const Size& rSize, sal_uInt16 nBitCount, const BitmapPalette& …

Completed in 127 milliseconds

12