Lines Matching refs:pBI
254 PBITMAPINFO2 pBI = (PBITMAPINFO2) mhDIB; in Create() local
256 …PBYTE pBits = (PBYTE) pBI + *(ULONG*) pBI + ImplGetDIBColorCount( mhDIB ) * sizeof( RGB2… in Create()
264 if( GpiQueryBitmapBits( hMemPS, 0, nLines, pBits, pBI ) == nLines ) in Create()
355 PBITMAPINFO2 pBI = (PBITMAPINFO2) hDIB; in ImplCreateDIB() local
356 PBITMAPINFOHEADER2 pBIH = (PBITMAPINFOHEADER2) pBI; in ImplCreateDIB()
371 memset( (PBYTE) &pBIH->usUnits, 0, (PBYTE) pBI->argbColor - (PBYTE) &pBIH->usUnits ); in ImplCreateDIB()
378 memcpy( pBI->argbColor, rPal.ImplGetColorBuffer(), nMinCount * sizeof( RGB2 ) ); in ImplCreateDIB()
390 PBITMAPINFO2 pBI = (PBITMAPINFO2) hDIB1; in ImplCreateDIB4FromDIB1() local
391 PBITMAPINFOHEADER2 pBIH = (PBITMAPINFOHEADER2) pBI; in ImplCreateDIB4FromDIB1()
392 …PBYTE pBits = (PBYTE) pBI + *(ULONG*) pBIH + Os2SalBitmap::ImplGetDIBColorCount( hDI… in ImplCreateDIB4FromDIB1()
410 memcpy( pBI4->argbColor, pBI->argbColor, sizeof( RGB2 ) << 1 ); in ImplCreateDIB4FromDIB1()
525 PBITMAPINFO2 pBI = (PBITMAPINFO2) mhDIB; in AcquireBuffer() local
526 PBITMAPINFOHEADER2 pBIH = (PBITMAPINFOHEADER2) pBI; in AcquireBuffer()
539 const ULONG nOffset = *(ULONG*) pBI + nColorCount * sizeof( RGB2 ); in AcquireBuffer()
540 PM_BYTE* pOldBits = (PM_BYTE*) pBI + nOffset; in AcquireBuffer()
543 memcpy( pNewBI, pBI, nOffset ); in AcquireBuffer()
550 pBI = pNewBI; in AcquireBuffer()
581 … memcpy( pBuffer->maPalette.ImplGetColorBuffer(), pBI->argbColor, nPalCount * sizeof( RGB2 ) ); in AcquireBuffer()
583 pBuffer->mpBits = (sal_uInt8*) pBI + *(ULONG*) pBI + nPalCount * sizeof( RGB2 ); in AcquireBuffer()
586 pBuffer->mpBits = (sal_uInt8*) pBI + *(ULONG*) pBI; in AcquireBuffer()
616 PBITMAPINFO2 pBI = (PBITMAPINFO2) mhDIB; in ReleaseBuffer() local
620 … memcpy( pBI->argbColor, pBuffer->maPalette.ImplGetColorBuffer(), nCount * sizeof( RGB2 ) ); in ReleaseBuffer()