Lines Matching refs:mpAcc
44 BitmapWriteAccess* mpAcc; member in PBMReader
64 mpAcc ( NULL ) in PBMReader()
110 mpAcc = maBmp.AcquireWriteAccess(); in ReadPBM()
111 if ( !mpAcc ) in ReadPBM()
113 mpAcc->SetPaletteEntryCount( 2 ); in ReadPBM()
114 mpAcc->SetPaletteColor( 0, BitmapColor( 0xff, 0xff, 0xff ) ); in ReadPBM()
115 mpAcc->SetPaletteColor( 1, BitmapColor( 0x00, 0x00, 0x00 ) ); in ReadPBM()
126 mpAcc = maBmp.AcquireWriteAccess(); in ReadPBM()
127 if ( !mpAcc ) in ReadPBM()
133 mpAcc->SetPaletteEntryCount( 256 ); in ReadPBM()
137 …mpAcc->SetPaletteColor( i, BitmapColor( (sal_uInt8)nCount, (sal_uInt8)nCount, (sal_uInt8)nCount ) … in ReadPBM()
142 mpAcc = maBmp.AcquireWriteAccess(); in ReadPBM()
143 if ( !mpAcc ) in ReadPBM()
151 if ( mpAcc ) in ReadPBM()
153 maBmp.ReleaseAccess( mpAcc ), mpAcc = NULL; in ReadPBM()
282 mpAcc->SetPixelIndex( nHeight, nWidth, nDat >> nShift ); in ImplReadBody()
301 mpAcc->SetPixelIndex( nHeight, nWidth++, nDat); in ImplReadBody()
325 …mpAcc->SetPixel( nHeight, nWidth++, BitmapColor( (sal_uInt8)nRed, (sal_uInt8)nGreen, (sal_uInt8)nB… in ImplReadBody()
362 mpAcc->SetPixelIndex( nHeight, nWidth, static_cast<sal_uInt8>(nDat - '0') ); in ImplReadBody()
391 mpAcc->SetPixelIndex( nHeight, nWidth++, static_cast<sal_uInt8>(nGrey) ); in ImplReadBody()
464 …mpAcc->SetPixel( nHeight, nWidth++, BitmapColor( static_cast< sal_uInt8 >( ( nRGB[ 0 ] * 255 ) / m… in ImplReadBody()