Lines Matching refs:pBIH

85         PBITMAPINFOHEADER2 pBIH = (PBITMAPINFOHEADER2) mhDIB;  in Create()  local
87 maSize = Size( pBIH->cx, pBIH->cy ); in Create()
88 mnBitCount = pBIH->cBitCount; in Create()
323 PBITMAPINFOHEADER2 pBIH = (PBITMAPINFOHEADER2) hDIB; in ImplGetDIBColorCount() local
325 if( pBIH->cBitCount <= 8 ) in ImplGetDIBColorCount()
327 if( pBIH->cclrUsed ) in ImplGetDIBColorCount()
328 nColors = (USHORT) pBIH->cclrUsed; in ImplGetDIBColorCount()
330 nColors = 1 << pBIH->cBitCount; in ImplGetDIBColorCount()
356 PBITMAPINFOHEADER2 pBIH = (PBITMAPINFOHEADER2) pBI; in ImplCreateDIB() local
358 pBIH->cbFix = sizeof( BITMAPINFOHEADER2 ); in ImplCreateDIB()
359 pBIH->cx = rSize.Width(); in ImplCreateDIB()
360 pBIH->cy = rSize.Height(); in ImplCreateDIB()
361 pBIH->cPlanes = 1; in ImplCreateDIB()
362 pBIH->cBitCount = nBits; in ImplCreateDIB()
363 pBIH->ulCompression = BCA_UNCOMP; // BI_RGB; in ImplCreateDIB()
364 pBIH->cbImage = nImageSize; in ImplCreateDIB()
365 pBIH->cxResolution = 0; in ImplCreateDIB()
366 pBIH->cyResolution = 0; in ImplCreateDIB()
367 pBIH->cclrUsed = 0; in ImplCreateDIB()
368 pBIH->cclrImportant = 0; in ImplCreateDIB()
371 memset( (PBYTE) &pBIH->usUnits, 0, (PBYTE) pBI->argbColor - (PBYTE) &pBIH->usUnits ); in ImplCreateDIB()
391 PBITMAPINFOHEADER2 pBIH = (PBITMAPINFOHEADER2) pBI; in ImplCreateDIB4FromDIB1() local
392 …PBYTE pBits = (PBYTE) pBI + *(ULONG*) pBIH + Os2SalBitmap::ImplGetDIBColorCount( hDI… in ImplCreateDIB4FromDIB1()
393 ULONG nWidth = pBIH->cx, nHeight = pBIH->cy; in ImplCreateDIB4FromDIB1()
440 PBITMAPINFOHEADER2 pBIH = (PBITMAPINFOHEADER2) hHdl; in ImplCopyDIBOrDDB() local
443 … ( pBIH->cbImage ? pBIH->cbImage : AlignedWidth4Bytes( pBIH->cx * pBIH->cBitCount ) ); in ImplCopyDIBOrDDB()
526 PBITMAPINFOHEADER2 pBIH = (PBITMAPINFOHEADER2) pBI; in AcquireBuffer() local
528 if( ( pBIH->ulCompression == BCA_RLE4 ) || ( pBIH->ulCompression == BCA_RLE8 ) ) in AcquireBuffer()
530 Size aSizePix( pBIH->cx, pBIH->cy ); in AcquireBuffer()
531 HANDLE hNewDIB = ImplCreateDIB( aSizePix, pBIH->cBitCount, BitmapPalette() ); in AcquireBuffer()
545 … ImplDecodeRLEBuffer( pOldBits, pNewBits, aSizePix, pBIH->ulCompression == BCA_RLE4 ); in AcquireBuffer()
551 pBIH = pNewBIH; in AcquireBuffer()
555 if( pBIH->cPlanes == 1 ) in AcquireBuffer()
560 ( pBIH->cBitCount == 1 ? BMP_FORMAT_1BIT_MSB_PAL : in AcquireBuffer()
561 pBIH->cBitCount == 4 ? BMP_FORMAT_4BIT_MSN_PAL : in AcquireBuffer()
562 pBIH->cBitCount == 8 ? BMP_FORMAT_8BIT_PAL : in AcquireBuffer()
563 pBIH->cBitCount == 16 ? BMP_FORMAT_16BIT_TC_LSB_MASK : in AcquireBuffer()
564 pBIH->cBitCount == 24 ? BMP_FORMAT_24BIT_TC_BGR : in AcquireBuffer()
565 pBIH->cBitCount == 32 ? BMP_FORMAT_32BIT_TC_MASK : 0UL ); in AcquireBuffer()
571 pBuffer->mnScanlineSize = AlignedWidth4Bytes( maSize.Width() * pBIH->cBitCount ); in AcquireBuffer()
572 pBuffer->mnBitCount = (USHORT) pBIH->cBitCount; in AcquireBuffer()