Lines Matching refs:pReadAcc
109 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()
300 pColRow2[ i ] = pReadAcc->GetColor( pRows[ 1 ], pColm[ i ] ); in ImplMedianFilter()
301 pColRow3[ i ] = pReadAcc->GetColor( pRows[ 2 ], pColm[ i ] ); in ImplMedianFilter()
351 pRowTmp3[ i ] = pReadAcc->GetColor( pRows[ nY + 2 ], pColm[ i ] ); in ImplMedianFilter()
366 ReleaseAccess( pReadAcc ); in ImplMedianFilter()
393 BitmapReadAccess* pReadAcc = AcquireReadAccess(); in ImplSobelGrey() local
395 if( pReadAcc ) in ImplSobelGrey()
397 Bitmap aNewBmp( GetSizePixel(), 8, &pReadAcc->GetPalette() ); in ImplSobelGrey()
431 nGrey11 = pReadAcc->GetPixel( pVMap[ nY ], pHMap[ 0 ] ).GetIndex(); in ImplSobelGrey()
432 nGrey12 = pReadAcc->GetPixel( pVMap[ nY ], pHMap[ 1 ] ).GetIndex(); in ImplSobelGrey()
433 nGrey13 = pReadAcc->GetPixel( pVMap[ nY ], pHMap[ 2 ] ).GetIndex(); in ImplSobelGrey()
434 nGrey21 = pReadAcc->GetPixel( pVMap[ nY + 1 ], pHMap[ 0 ] ).GetIndex(); in ImplSobelGrey()
435 nGrey22 = pReadAcc->GetPixel( pVMap[ nY + 1 ], pHMap[ 1 ] ).GetIndex(); in ImplSobelGrey()
436 nGrey23 = pReadAcc->GetPixel( pVMap[ nY + 1 ], pHMap[ 2 ] ).GetIndex(); in ImplSobelGrey()
437 nGrey31 = pReadAcc->GetPixel( pVMap[ nY + 2 ], pHMap[ 0 ] ).GetIndex(); in ImplSobelGrey()
438 nGrey32 = pReadAcc->GetPixel( pVMap[ nY + 2 ], pHMap[ 1 ] ).GetIndex(); in ImplSobelGrey()
439 nGrey33 = pReadAcc->GetPixel( pVMap[ nY + 2 ], pHMap[ 2 ] ).GetIndex(); in ImplSobelGrey()
480 …nGrey11 = nGrey12; nGrey12 = nGrey13; nGrey13 = pReadAcc->GetPixel( pVMap[ nY ], nNextX ).GetIndex… in ImplSobelGrey()
481 …nGrey21 = nGrey22; nGrey22 = nGrey23; nGrey23 = pReadAcc->GetPixel( pVMap[ nY + 1 ], nNextX ).GetI… in ImplSobelGrey()
482 …nGrey31 = nGrey32; nGrey32 = nGrey33; nGrey33 = pReadAcc->GetPixel( pVMap[ nY + 2 ], nNextX ).GetI… in ImplSobelGrey()
493 ReleaseAccess( pReadAcc ); in ImplSobelGrey()
521 BitmapReadAccess* pReadAcc = AcquireReadAccess(); in ImplEmbossGrey() local
523 if( pReadAcc ) in ImplEmbossGrey()
525 Bitmap aNewBmp( GetSizePixel(), 8, &pReadAcc->GetPalette() ); in ImplEmbossGrey()
563 nGrey11 = pReadAcc->GetPixel( pVMap[ nY ], pHMap[ 0 ] ).GetIndex(); in ImplEmbossGrey()
564 nGrey12 = pReadAcc->GetPixel( pVMap[ nY ], pHMap[ 1 ] ).GetIndex(); in ImplEmbossGrey()
565 nGrey13 = pReadAcc->GetPixel( pVMap[ nY ], pHMap[ 2 ] ).GetIndex(); in ImplEmbossGrey()
566 nGrey21 = pReadAcc->GetPixel( pVMap[ nY + 1 ], pHMap[ 0 ] ).GetIndex(); in ImplEmbossGrey()
567 nGrey22 = pReadAcc->GetPixel( pVMap[ nY + 1 ], pHMap[ 1 ] ).GetIndex(); in ImplEmbossGrey()
568 nGrey23 = pReadAcc->GetPixel( pVMap[ nY + 1 ], pHMap[ 2 ] ).GetIndex(); in ImplEmbossGrey()
569 nGrey31 = pReadAcc->GetPixel( pVMap[ nY + 2 ], pHMap[ 0 ] ).GetIndex(); in ImplEmbossGrey()
570 nGrey32 = pReadAcc->GetPixel( pVMap[ nY + 2 ], pHMap[ 1 ] ).GetIndex(); in ImplEmbossGrey()
571 nGrey33 = pReadAcc->GetPixel( pVMap[ nY + 2 ], pHMap[ 2 ] ).GetIndex(); in ImplEmbossGrey()
594 …nGrey11 = nGrey12; nGrey12 = nGrey13; nGrey13 = pReadAcc->GetPixel( pVMap[ nY ], nNextX ).GetIndex… in ImplEmbossGrey()
595 …nGrey21 = nGrey22; nGrey22 = nGrey23; nGrey23 = pReadAcc->GetPixel( pVMap[ nY + 1 ], nNextX ).GetI… in ImplEmbossGrey()
596 …nGrey31 = nGrey32; nGrey32 = nGrey33; nGrey33 = pReadAcc->GetPixel( pVMap[ nY + 2 ], nNextX ).GetI… in ImplEmbossGrey()
607 ReleaseAccess( pReadAcc ); in ImplEmbossGrey()
679 BitmapReadAccess* pReadAcc = AcquireReadAccess(); in ImplSepia() local
682 if( pReadAcc ) in ImplSepia()
710 if( pReadAcc->HasPalette() ) in ImplSepia()
714 const sal_uInt16 nPalCount = pReadAcc->GetPaletteEntryCount(); in ImplSepia()
718 pIndexMap[ i ] = pReadAcc->GetPaletteColor( i ).GetLuminance(); in ImplSepia()
722 aCol.SetIndex( pIndexMap[ pReadAcc->GetPixel( nY, nX ).GetIndex() ] ); in ImplSepia()
735 aCol.SetIndex( pReadAcc->GetPixel( nY, nX ).GetLuminance() ); in ImplSepia()
745 ReleaseAccess( pReadAcc ); in ImplSepia()
781 BitmapReadAccess* pReadAcc; in ImplMosaic() local
787 pReadAcc = pWriteAcc = AcquireWriteAccess(); in ImplMosaic()
792 pReadAcc = AcquireReadAccess(); in ImplMosaic()
796 if( pReadAcc && pWriteAcc ) in ImplMosaic()
799 long nWidth = pReadAcc->Width(); in ImplMosaic()
800 long nHeight = pReadAcc->Height(); in ImplMosaic()
826 aCol = pReadAcc->GetPixel( nY, nX ); in ImplMosaic()
859 const BitmapColor& rCol = pReadAcc->GetPaletteColor( pReadAcc->GetPixelIndex( nY, nX ) ); in ImplMosaic()
895 ReleaseAccess( pReadAcc ); in ImplMosaic()