/aoo4110/main/filter/source/graphicfilter/ipbm/ |
H A D | ipbm.cxx | 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() 126 mpAcc = maBmp.AcquireWriteAccess(); in ReadPBM() 127 if ( !mpAcc ) in ReadPBM() 133 mpAcc->SetPaletteEntryCount( 256 ); in ReadPBM() 143 if ( !mpAcc ) in ReadPBM() 151 if ( mpAcc ) in ReadPBM() [all …]
|
/aoo4110/main/filter/source/graphicfilter/itga/ |
H A D | itga.cxx | 90 BitmapWriteAccess* mpAcc; member in TGAReader 116 mpAcc ( NULL ), in TGAReader() 156 mpAcc = aBitmap.AcquireWriteAccess(); in ReadTGA() 157 if ( mpAcc ) in ReadTGA() 167 if ( mpAcc ) in ReadTGA() 168 aBitmap.ReleaseAccess ( mpAcc), mpAcc = NULL; in ReadTGA() 328 mpAcc->SetPixel( nY, nX, BitmapColor( nRed, nGreen, nBlue ) ); in ImplReadBody() 383 mpAcc->SetPixelIndex( nY, nX, nDummy ); in ImplReadBody() 406 mpAcc->SetPixelIndex( nY, nX, nDummy ); in ImplReadBody() 620 mpAcc->SetPixelIndex( nY, nX, nDummy ); in ImplReadBody() [all …]
|
/aoo4110/main/filter/source/graphicfilter/iras/ |
H A D | iras.cxx | 52 BitmapWriteAccess* mpAcc; member in RASReader 75 mpAcc ( NULL ), in RASReader() 106 mpAcc = maBmp.AcquireWriteAccess(); in ReadRAS() 107 if ( !mpAcc ) in ReadRAS() 126 mpAcc->SetPaletteEntryCount( mnDstColors ); in ReadRAS() 148 mpAcc->SetPaletteEntryCount( mnDstColors ); in ReadRAS() 168 if ( mpAcc ) in ReadRAS() 170 maBmp.ReleaseAccess( mpAcc ), mpAcc = NULL; in ReadRAS() 233 mpAcc->SetPixelIndex( y, x, in ImplReadBody() 247 mpAcc->SetPixelIndex( y, x, nDat ); in ImplReadBody() [all …]
|
/aoo4110/main/filter/source/graphicfilter/eras/ |
H A D | eras.cxx | 42 BitmapReadAccess* mpAcc; member in RASWriter 69 mpAcc ( NULL ), in RASWriter() 117 mpAcc = aBmp.AcquireReadAccess(); in WriteRAS() 118 if ( mpAcc ) in WriteRAS() 129 aBmp.ReleaseAccess( mpAcc ); in WriteRAS() 146 mnWidth = mpAcc->Width(); in ImplWriteHeader() 147 mnHeight = mpAcc->Height(); in ImplWriteHeader() 150 mnColors = mpAcc->GetPaletteEntryCount(); in ImplWriteHeader() 198 BitmapColor aColor( mpAcc->GetPixel( y, x ) ); in ImplWriteBody() 213 ImplPutByte ( mpAcc->GetPixelIndex( y, x ) ); in ImplWriteBody() [all …]
|
/aoo4110/main/vcl/source/gdi/ |
H A D | pngread.cxx | 105 BitmapWriteAccess* mpAcc; member in vcl::PNGReaderImpl 200 mpAcc ( NULL ), in PNGReaderImpl() 468 if ( mpAcc ) in GetBitmapEx() 469 mpBmp->ReleaseAccess( mpAcc ), mpAcc = NULL; in GetBitmapEx() 705 mpAcc = mpBmp->AcquireWriteAccess(); in ImplReadHeader() 706 if( !mpAcc ) in ImplReadHeader() 891 mpAcc->Erase( mpAcc->GetPaletteColor( (sal_uInt8)nCol ) ); in ImplGetBackground() 906 mpAcc->Erase( mpAcc->GetPaletteColor( nIndex ) ); in ImplGetBackground() 1190 switch ( mpAcc->GetBitCount() ) in ImplDrawScanline() 1635 mpAcc->SetPixel( nY, nX, rBitmapColor ); in ImplSetPixel() [all …]
|
/aoo4110/main/svtools/source/filter/ixpm/ |
H A D | xpmread.cxx | 43 mpAcc ( NULL ), in XPMReader() 66 if( mpAcc ) in ~XPMReader() 67 maBmp.ReleaseAccess( mpAcc ); in ~XPMReader() 146 mpAcc = maBmp.AcquireWriteAccess(); in ReadXPM() 155 if( mpAcc && mbStatus ) in ReadXPM() 206 maBmp.ReleaseAccess( mpAcc ), mpAcc = NULL; in ReadXPM() 211 maBmp.ReleaseAccess( mpAcc ), mpAcc = NULL; in ReadXPM() 219 if ( mpAcc ) maBmp.ReleaseAccess( mpAcc ), mpAcc = NULL; in ReadXPM() 285 mpAcc->SetPixel( nY, i, BitmapColor( (sal_uInt8)k ) ); in ImplGetScanLine() 300 mpAcc->SetPixel( nY, i, Color ( pColor[3], pColor[4], pColor[5] ) ); in ImplGetScanLine() [all …]
|
/aoo4110/main/filter/source/graphicfilter/eppm/ |
H A D | eppm.cxx | 46 BitmapReadAccess* mpAcc; member in PPMWriter 66 mpAcc ( NULL ) in PPMWriter() 102 mpAcc = aBmp.AcquireReadAccess(); in WritePPM() 103 if( mpAcc ) in WritePPM() 109 aBmp.ReleaseAccess( mpAcc ); in WritePPM() 126 mnWidth = mpAcc->Width(); in ImplWriteHeader() 127 mnHeight = mpAcc->Height(); in ImplWriteHeader() 158 const BitmapColor& rColor = mpAcc->GetPixel( y, x ); in ImplWriteBody() 178 nDat[0] = mpAcc->GetPixel( y, x ).GetRed(); in ImplWriteBody() 179 nDat[1] = mpAcc->GetPixel( y, x ).GetGreen(); in ImplWriteBody() [all …]
|
/aoo4110/main/filter/source/graphicfilter/etiff/ |
H A D | etiff.cxx | 73 BitmapReadAccess* mpAcc; member in TIFFWriter 127 mpAcc ( NULL ), in TIFFWriter() 199 mpAcc = aBmp.AcquireReadAccess(); in WriteTIFF() 200 if ( mpAcc ) in WriteTIFF() 228 aBmp.ReleaseAccess( mpAcc ); in WriteTIFF() 263 mnWidth = mpAcc->Width(); in ImplWriteHeader() 264 mnHeight = mpAcc->Height(); in ImplWriteHeader() 318 mnColors = mpAcc->GetPaletteEntryCount(); in ImplWriteHeader() 400 Compress( mpAcc->GetPixelIndex( y, x ) ); in ImplWriteBody() 414 nTemp = ( mpAcc->GetPixelIndex( y, x ) << 4 ); in ImplWriteBody() [all …]
|
/aoo4110/main/filter/source/graphicfilter/expm/ |
H A D | expm.cxx | 42 BitmapReadAccess* mpAcc; member in XPMWriter 68 mpAcc ( NULL ) in XPMWriter() 124 mpAcc = aBmp.AcquireReadAccess(); in WriteXPM() 125 if ( mpAcc ) in WriteXPM() 127 mnColors = mpAcc->GetPaletteEntryCount(); in WriteXPM() 137 aBmp.ReleaseAccess( mpAcc ); in WriteXPM() 154 mnWidth = mpAcc->Width(); in ImplWriteHeader() 155 mnHeight = mpAcc->Height(); in ImplWriteHeader() 179 nTransIndex = mpAcc->GetBestPaletteIndex( BMP_COL_TRANS ); in ImplWritePalette() 205 ImplWritePixel( mpAcc->GetPixelIndex( y, x ) ); in ImplWriteBody() [all …]
|
/aoo4110/main/filter/source/graphicfilter/icgm/ |
H A D | bitmap.cxx | 56 if ( ( rDesc.mpAcc = rDesc.mpBitmap->AcquireWriteAccess() ) != NULL ) in ImplGetBitmap() 72 rDesc.mpAcc->SetPaletteEntryCount( 2 ); in ImplGetBitmap() 74 rDesc.mpAcc->SetPaletteColor( 1, in ImplGetBitmap() 115 rDesc.mpAcc->SetPixelIndex( ny, nx, static_cast<sal_uInt8>(nDat >> 4) ); in ImplGetBitmap() 119 rDesc.mpAcc->SetPixelIndex( ny, nx, static_cast<sal_uInt8>(nDat & 15) ); in ImplGetBitmap() 137 rDesc.mpAcc->SetPixelIndex( ny, nx, *(pTemp++) ); in ImplGetBitmap() 156 rDesc.mpAcc->SetPixel( ny, nx, aBitmapColor ); in ImplGetBitmap() 214 if ( rDesc.mpAcc ) in ImplGetBitmap() 216 rDesc.mpBitmap->ReleaseAccess( rDesc.mpAcc ); in ImplGetBitmap() 217 rDesc.mpAcc = NULL; in ImplGetBitmap() [all …]
|
H A D | bitmap.hxx | 37 BitmapWriteAccess* mpAcc; member in CGMBitmapDescriptor 55 mpAcc ( NULL ), in CGMBitmapDescriptor() 61 if ( mpAcc ) in ~CGMBitmapDescriptor() 62 mpBitmap->ReleaseAccess( mpAcc ); in ~CGMBitmapDescriptor()
|
/aoo4110/main/filter/source/graphicfilter/epbm/ |
H A D | epbm.cxx | 46 BitmapReadAccess* mpAcc; member in PBMWriter 66 mpAcc ( NULL ) in PBMWriter() 102 mpAcc = aBmp.AcquireReadAccess(); in WritePBM() 103 if( mpAcc ) in WritePBM() 108 aBmp.ReleaseAccess( mpAcc ); in WritePBM() 125 mnWidth = mpAcc->Width(); in ImplWriteHeader() 126 mnHeight = mpAcc->Height(); in ImplWriteHeader() 156 if (!(mpAcc->GetPixelIndex( y, x ) & 1 ) ) in ImplWriteBody() 178 *mpOStm << (sal_uInt8)( ( mpAcc->GetPixelIndex( y, x ) ^ 1 ) + '0' ) ; in ImplWriteBody()
|
/aoo4110/main/filter/source/graphicfilter/epgm/ |
H A D | epgm.cxx | 46 BitmapReadAccess* mpAcc; member in PGMWriter 66 mpAcc ( NULL ) in PGMWriter() 102 mpAcc = aBmp.AcquireReadAccess(); in WritePGM() 103 if( mpAcc ) in WritePGM() 109 aBmp.ReleaseAccess( mpAcc ); in WritePGM() 126 mnWidth = mpAcc->Width(); in ImplWriteHeader() 127 mnHeight = mpAcc->Height(); in ImplWriteHeader() 158 *mpOStm << mpAcc->GetPixelIndex( y, x ); in ImplWriteBody() 175 nDat = mpAcc->GetPixelIndex( y, x ); in ImplWriteBody()
|
/aoo4110/main/filter/source/graphicfilter/ipcd/ |
H A D | ipcd.cxx | 57 BitmapWriteAccess* mpAcc; member in PCDReader 158 mpAcc = aBmp.AcquireWriteAccess(); in ReadPCD() 159 if ( !mpAcc ) in ReadPCD() 164 aBmp.ReleaseAccess( mpAcc ), mpAcc = NULL; in ReadPCD() 354 … mpAcc->SetPixel( ny, nx, BitmapColor( (sal_uInt8)nRed, (sal_uInt8)nGreen, (sal_uInt8)nBlue ) ); in ReadImage() 356 …mpAcc->SetPixel( nWidth - 1 - nx, ny, BitmapColor( (sal_uInt8)nRed, (sal_uInt8)nGreen, (sal_uInt8)… in ReadImage() 361 …mpAcc->SetPixel( nHeight - 1 - ny, ( nWidth - 1 - nx ), BitmapColor( (sal_uInt8)nRed, (sal_uInt8)n… in ReadImage() 363 …mpAcc->SetPixel( nx, ( nHeight - 1 - ny ), BitmapColor( (sal_uInt8)nRed, (sal_uInt8)nGreen, (sal_u… in ReadImage()
|
/aoo4110/main/svtools/source/inc/ |
H A D | xpmread.hxx | 77 BitmapWriteAccess* mpAcc; member in XPMReader
|