Home
last modified time | relevance | path

Searched refs:pReadAcc (Results 1 – 7 of 7) sorted by relevance

/AOO42X/main/vcl/source/gdi/
H A Dbitmap4.cxx109 BitmapReadAccess* pReadAcc = AcquireReadAccess(); in ImplConvolute3() local
112 if( pReadAcc ) in ImplConvolute3()
154 pColRow1[ i ] = pReadAcc->GetColor( pRows[ 0 ], pColm[ i ] ); in ImplConvolute3()
155 pColRow2[ i ] = pReadAcc->GetColor( pRows[ 1 ], pColm[ i ] ); in ImplConvolute3()
156 pColRow3[ i ] = pReadAcc->GetColor( pRows[ 2 ], pColm[ i ] ); in ImplConvolute3()
219 pRowTmp3[ i ] = pReadAcc->GetColor( pRows[ nY + 2 ], pColm[ i ] ); in ImplConvolute3()
235 ReleaseAccess( pReadAcc ); in ImplConvolute3()
256 BitmapReadAccess* pReadAcc = AcquireReadAccess(); in ImplMedianFilter() local
259 if( pReadAcc ) in ImplMedianFilter()
299 pColRow1[ i ] = pReadAcc->GetColor( pRows[ 0 ], pColm[ i ] ); in ImplMedianFilter()
[all …]
H A Dbitmap3.cxx366 BitmapReadAccess* pReadAcc = AcquireReadAccess(); in ImplMakeMono() local
369 if( pReadAcc ) in ImplMakeMono()
381 if( pReadAcc->HasPalette() ) in ImplMakeMono()
387 const sal_uInt8 cIndex = pReadAcc->GetPixelIndex( nY, nX ); in ImplMakeMono()
388 if( pReadAcc->GetPaletteColor( cIndex ).GetLuminance() >= in ImplMakeMono()
404 if( pReadAcc->GetPixel( nY, nX ).GetLuminance() >= in ImplMakeMono()
419 ReleaseAccess( pReadAcc ); in ImplMakeMono()
440 BitmapReadAccess* pReadAcc = AcquireReadAccess(); in ImplMakeMonoDither() local
443 if( pReadAcc ) in ImplMakeMonoDither()
458 if( pReadAcc->HasPalette() ) in ImplMakeMonoDither()
[all …]
H A Dbitmap.cxx763 BitmapReadAccess* pReadAcc = AcquireReadAccess(); in Rotate() local
766 if( pReadAcc ) in Rotate()
773 Bitmap aNewBmp( aNewSizePix, GetBitCount(), &pReadAcc->GetPalette() ); in Rotate()
789 … pWriteAcc->SetPixel( nY, nX, pReadAcc->GetPixel( nOtherY++, nOtherX ) ); in Rotate()
795 … pWriteAcc->SetPixel( nY, nX, pReadAcc->GetPixel( nOtherY--, nOtherX ) ); in Rotate()
812 Bitmap aNewBmp( aNewSizePix, GetBitCount(), &pReadAcc->GetPalette() ); in Rotate()
864 pWriteAcc->SetPixel( nY, nX, pReadAcc->GetPixel( nRotY, nRotX ) ); in Rotate()
881 ReleaseAccess( pReadAcc ); in Rotate()
903 BitmapReadAccess* pReadAcc = AcquireReadAccess(); in Crop() local
905 if( pReadAcc ) in Crop()
[all …]
H A Dalpha.cxx149 BitmapReadAccess* pReadAcc = pSrc->AcquireReadAccess(); in CopyPixel() local
151 if( pReadAcc ) in CopyPixel()
165 … pWriteAcc->SetPixel( nDstY, nDstX, pReadAcc->GetPixel( nSrcY, nSrcX ) ); in CopyPixel()
171 pSrc->ReleaseAccess( pReadAcc ); in CopyPixel()
/AOO42X/main/svx/source/xoutdev/
H A D_xoutbmp.cxx393 BitmapReadAccess* pReadAcc = aWorkBmp.AcquireReadAccess(); in DetectEdges() local
396 if( pReadAcc && pWriteAcc ) in DetectEdges()
422 nSum1 = -( nSum2 = lGray = pReadAcc->GetPixelIndex( nY, nXTmp++ ) ); in DetectEdges()
423 nSum2 += ( (long) pReadAcc->GetPixelIndex( nY, nXTmp++ ) ) << 1; in DetectEdges()
424 nSum1 += ( lGray = pReadAcc->GetPixelIndex( nY, nXTmp ) ); in DetectEdges()
427 nSum1 += ( (long) pReadAcc->GetPixelIndex( nY1, nXTmp ) ) << 1; in DetectEdges()
428 nSum1 -= ( (long) pReadAcc->GetPixelIndex( nY1, nXTmp -= 2 ) ) << 1; in DetectEdges()
430 nSum1 += ( lGray = -(long) pReadAcc->GetPixelIndex( nY2, nXTmp++ ) ); in DetectEdges()
432 nSum2 -= ( (long) pReadAcc->GetPixelIndex( nY2, nXTmp++ ) ) << 1; in DetectEdges()
433 nSum1 += ( lGray = (long) pReadAcc->GetPixelIndex( nY2, nXTmp ) ); in DetectEdges()
[all …]
/AOO42X/main/canvas/source/directx/
H A Ddx_vcltools.cxx120 BitmapReadAccess* pReadAcc = rBmp.AcquireReadAccess(); in drawVCLBitmap() local
126 if( pReadAcc ) in drawVCLBitmap()
137 rBmp.ReleaseAccess( pReadAcc ); in drawVCLBitmap()
/AOO42X/main/filter/source/graphicfilter/ipict/
H A Dipict.cxx304 if ( pReadAcc ) \
305 aBitmap.ReleaseAccess( pReadAcc ); \
712 BitmapReadAccess* pReadAcc = NULL; in ReadPixMapEtc() local
980 if ( ( pReadAcc = aBitmap.AcquireReadAccess() ) == NULL ) in ReadPixMapEtc()
1070 if ( pReadAcc ) in ReadPixMapEtc()
1071 aBitmap.ReleaseAccess( pReadAcc ); in ReadPixMapEtc()