Lines Matching refs:USHORT
126 bool Os2SalBitmap::Create( const Size& rSize, USHORT nBitCount, const BitmapPalette& rPal ) in Create()
242 bool Os2SalBitmap::Create( const SalBitmap& rSSalBmp, USHORT nNewBitCount ) in Create()
316 USHORT Os2SalBitmap::ImplGetDIBColorCount( HANDLE hDIB ) in ImplGetDIBColorCount()
318 USHORT nColors = 0; in ImplGetDIBColorCount()
328 nColors = (USHORT) pBIH->cclrUsed; in ImplGetDIBColorCount()
339 HANDLE Os2SalBitmap::ImplCreateDIB( const Size& rSize, USHORT nBits, const BitmapPalette& rPal ) in ImplCreateDIB()
348 const USHORT nColors = ( nBits <= 8 ) ? ( 1 << nBits ) : 0; in ImplCreateDIB()
375 const USHORT nMinCount = Min( nColors, rPal.GetEntryCount() ); in ImplCreateDIB()
538 const USHORT nColorCount = ImplGetDIBColorCount( hNewDIB ); in AcquireBuffer()
572 pBuffer->mnBitCount = (USHORT) pBIH->cBitCount; in AcquireBuffer()
576 const USHORT nPalCount = ImplGetDIBColorCount( mhDIB ); in AcquireBuffer()
617 const USHORT nCount = pBuffer->maPalette.GetEntryCount(); in ReleaseBuffer()