Lines Matching refs:pBI
637 PBITMAPINFO pBI = (PBITMAPINFO) GlobalLock( rSalBmp.mhDIB ); in Create() local
638 PBITMAPINFOHEADER pBIH = (PBITMAPINFOHEADER) pBI; in Create()
642 PBYTE pBits = (PBYTE) pBI + *(DWORD*) pBI + in Create()
650 SetDIBits( hDC, hNewDDB, 0, pBIH->biHeight, pBits, pBI, DIB_RGB_COLORS ); in Create()
653 hNewDDB = CreateDIBitmap( hDC, (PBITMAPINFOHEADER) pBI, CBM_INIT, pBits, pBI, DIB_RGB_COLORS ); in Create()
686 PBITMAPINFO pBI = (PBITMAPINFO) GlobalLock( mhDIB ); in Create() local
689 PBYTE pBits = (PBYTE) pBI + *(DWORD*) pBI + in Create()
700 if( GetDIBits( hDC, rSalBmp.mhDDB, 0, nLines, pBits, pBI, DIB_RGB_COLORS ) == nLines ) in Create()
732 PBITMAPINFO pBI = (PBITMAPINFO) GlobalLock( hDIB ); in ImplGetDIBColorCount() local
733 PBITMAPINFOHEADER pBIH = (PBITMAPINFOHEADER) pBI; in ImplGetDIBColorCount()
745 else if( ( (PBITMAPCOREHEADER) pBI )->bcBitCount <= 8 ) in ImplGetDIBColorCount()
746 nColors = 1 << ( (PBITMAPCOREHEADER) pBI )->bcBitCount; in ImplGetDIBColorCount()
783 PBITMAPINFO pBI = static_cast<PBITMAPINFO>( GlobalLock( hDIB ) ); in ImplCreateDIB() local
784 PBITMAPINFOHEADER pBIH = reinterpret_cast<PBITMAPINFOHEADER>( pBI ); in ImplCreateDIB()
803 memcpy( pBI->bmiColors, rPal.ImplGetColorBuffer(), nMinCount * sizeof(RGBQUAD) ); in ImplCreateDIB()
865 PBITMAPINFO pBI = (PBITMAPINFO) GlobalLock( mhDIB ); in AcquireBuffer() local
866 PBITMAPINFOHEADER pBIH = (PBITMAPINFOHEADER) pBI; in AcquireBuffer()
878 const sal_uLong nOffset = *(DWORD*) pBI + nColorCount * sizeof( RGBQUAD ); in AcquireBuffer()
879 BYTE* pOldBits = (PBYTE) pBI + nOffset; in AcquireBuffer()
882 memcpy( pNewBI, pBI, nOffset ); in AcquireBuffer()
889 pBI = pNewBI; in AcquireBuffer()
918 … memcpy( pBuffer->maPalette.ImplGetColorBuffer(), pBI->bmiColors, nPalCount * sizeof( RGBQUAD ) ); in AcquireBuffer()
919 pBuffer->mpBits = (PBYTE) pBI + *(DWORD*) pBI + nPalCount * sizeof( RGBQUAD ); in AcquireBuffer()
928 pBuffer->maColorMask = ColorMask( *(UINT32*) &pBI->bmiColors[ 0 ], in AcquireBuffer()
929 *(UINT32*) &pBI->bmiColors[ 1 ], in AcquireBuffer()
930 *(UINT32*) &pBI->bmiColors[ 2 ] ); in AcquireBuffer()
937 pBuffer->mpBits = (PBYTE) pBI + *(DWORD*) pBI + nOffset; in AcquireBuffer()
940 pBuffer->mpBits = (PBYTE) pBI + *(DWORD*) pBI; in AcquireBuffer()
966 PBITMAPINFO pBI = (PBITMAPINFO) GlobalLock( mhDIB ); in ReleaseBuffer() local
969 …memcpy( pBI->bmiColors, pBuffer->maPalette.ImplGetColorBuffer(), Min( nDIBColorCount, nCount ) * s… in ReleaseBuffer()