Lines Matching refs:pRAcc
331 BitmapReadAccess* pRAcc = ( (Bitmap*) this )->AcquireReadAccess(); in HasGreyPalette() local
333 if( pRAcc ) in HasGreyPalette()
335 const BitmapColor& rCol0( pRAcc->GetPaletteColor( 0 ) ); in HasGreyPalette()
336 const BitmapColor& rCol1( pRAcc->GetPaletteColor( 1 ) ); in HasGreyPalette()
342 ( (Bitmap*) this )->ReleaseAccess( pRAcc ); in HasGreyPalette()
349 BitmapReadAccess* pRAcc = ( (Bitmap*) this )->AcquireReadAccess(); in HasGreyPalette() local
351 if( pRAcc ) in HasGreyPalette()
353 …if( pRAcc->HasPalette() && ( (BitmapPalette&) pRAcc->GetPalette() == GetGreyPalette( 1 << nBitCoun… in HasGreyPalette()
356 ( (Bitmap*) this )->ReleaseAccess( pRAcc ); in HasGreyPalette()
375 BitmapReadAccess* pRAcc = ( (Bitmap*) this )->AcquireReadAccess(); in GetChecksum() local
377 if( pRAcc && pRAcc->Width() && pRAcc->Height() ) in GetChecksum()
382 pRAcc->ImplZeroInitUnusedBits(); in GetChecksum()
384 UInt32ToSVBT32( pRAcc->Width(), aBT32 ); in GetChecksum()
387 UInt32ToSVBT32( pRAcc->Height(), aBT32 ); in GetChecksum()
390 UInt32ToSVBT32( pRAcc->GetBitCount(), aBT32 ); in GetChecksum()
393 UInt32ToSVBT32( pRAcc->GetColorMask().GetRedMask(), aBT32 ); in GetChecksum()
396 UInt32ToSVBT32( pRAcc->GetColorMask().GetGreenMask(), aBT32 ); in GetChecksum()
399 UInt32ToSVBT32( pRAcc->GetColorMask().GetBlueMask(), aBT32 ); in GetChecksum()
402 if( pRAcc->HasPalette() ) in GetChecksum()
404 nCrc = rtl_crc32( nCrc, pRAcc->GetPalette().ImplGetColorBuffer(), in GetChecksum()
405 pRAcc->GetPaletteEntryCount() * sizeof( BitmapColor ) ); in GetChecksum()
408 nCrc = rtl_crc32( nCrc, pRAcc->GetBuffer(), pRAcc->GetScanlineSize() * pRAcc->Height() ); in GetChecksum()
413 if (pRAcc) ( (Bitmap*) this )->ReleaseAccess( pRAcc ); in GetChecksum()