Lines Matching refs:pWriteAcc

115 		BitmapWriteAccess*	pWriteAcc = aNewBmp.AcquireWriteAccess();  in ImplConvolute3()  local
117 if( pWriteAcc ) in ImplConvolute3()
119 const long nWidth = pWriteAcc->Width(), nWidth2 = nWidth + 2; in ImplConvolute3()
120 const long nHeight = pWriteAcc->Height(), nHeight2 = nHeight + 2; in ImplConvolute3()
204 pWriteAcc->SetPixel( nY, nX, BitmapColor( (sal_uInt8) MinMax( nSumR / nDivisor, 0, 255 ), in ImplConvolute3()
230 aNewBmp.ReleaseAccess( pWriteAcc ); in ImplConvolute3()
262 BitmapWriteAccess* pWriteAcc = aNewBmp.AcquireWriteAccess(); in ImplMedianFilter() local
264 if( pWriteAcc ) in ImplMedianFilter()
266 const long nWidth = pWriteAcc->Width(), nWidth2 = nWidth + 2; in ImplMedianFilter()
267 const long nHeight = pWriteAcc->Height(), nHeight2 = nHeight + 2; in ImplMedianFilter()
338pWriteAcc->SetPixel( nY, nX, BitmapColor( (sal_uInt8) nR2, (sal_uInt8) nG2, (sal_uInt8) nB2 ) ); in ImplMedianFilter()
361 aNewBmp.ReleaseAccess( pWriteAcc ); in ImplMedianFilter()
398 BitmapWriteAccess* pWriteAcc = aNewBmp.AcquireWriteAccess(); in ImplSobelGrey() local
400 if( pWriteAcc ) in ImplSobelGrey()
403 const long nWidth = pWriteAcc->Width(); in ImplSobelGrey()
404 const long nHeight = pWriteAcc->Height(); in ImplSobelGrey()
474 pWriteAcc->SetPixel( nY, nX, aGrey ); in ImplSobelGrey()
489 aNewBmp.ReleaseAccess( pWriteAcc ); in ImplSobelGrey()
526 BitmapWriteAccess* pWriteAcc = aNewBmp.AcquireWriteAccess(); in ImplEmbossGrey() local
528 if( pWriteAcc ) in ImplEmbossGrey()
531 const long nWidth = pWriteAcc->Width(); in ImplEmbossGrey()
532 const long nHeight = pWriteAcc->Height(); in ImplEmbossGrey()
588 pWriteAcc->SetPixel( nY, nX, aGrey ); in ImplEmbossGrey()
603 aNewBmp.ReleaseAccess( pWriteAcc ); in ImplEmbossGrey()
630 BitmapWriteAccess* pWriteAcc = AcquireWriteAccess(); in ImplSolarize() local
632 if( pWriteAcc ) in ImplSolarize()
637 if( pWriteAcc->HasPalette() ) in ImplSolarize()
639 const BitmapPalette& rPal = pWriteAcc->GetPalette(); in ImplSolarize()
646 pWriteAcc->SetPaletteColor( i, aCol.Invert() ); in ImplSolarize()
653 const long nWidth = pWriteAcc->Width(); in ImplSolarize()
654 const long nHeight = pWriteAcc->Height(); in ImplSolarize()
660 aCol = pWriteAcc->GetPixel( nY, nX ); in ImplSolarize()
663 pWriteAcc->SetPixel( nY, nX, aCol.Invert() ); in ImplSolarize()
668 ReleaseAccess( pWriteAcc ); in ImplSolarize()
702 BitmapWriteAccess* pWriteAcc = aNewBmp.AcquireWriteAccess(); in ImplSepia() local
704 if( pWriteAcc ) in ImplSepia()
707 const long nWidth = pWriteAcc->Width(); in ImplSepia()
708 const long nHeight = pWriteAcc->Height(); in ImplSepia()
723 pWriteAcc->SetPixel( nY, nX, aCol ); in ImplSepia()
736 pWriteAcc->SetPixel( nY, nX, aCol ); in ImplSepia()
741 aNewBmp.ReleaseAccess( pWriteAcc ); in ImplSepia()
782 BitmapWriteAccess* pWriteAcc; in ImplMosaic() local
787 pReadAcc = pWriteAcc = AcquireWriteAccess(); in ImplMosaic()
793 pWriteAcc = pNewBmp->AcquireWriteAccess(); in ImplMosaic()
796 if( pReadAcc && pWriteAcc ) in ImplMosaic()
839 pWriteAcc->SetPixel( nY, nX, aCol ); in ImplMosaic()
872 pWriteAcc->SetPixel( nY, nX, aCol ); in ImplMosaic()
899 pNewBmp->ReleaseAccess( pWriteAcc ); in ImplMosaic()
955 BitmapWriteAccess* pWriteAcc = AcquireWriteAccess(); in ImplPopArt() local
957 if( pWriteAcc ) in ImplPopArt()
959 const long nWidth = pWriteAcc->Width(); in ImplPopArt()
960 const long nHeight = pWriteAcc->Height(); in ImplPopArt()
961 const sal_uLong nEntryCount = 1 << pWriteAcc->GetBitCount(); in ImplPopArt()
975 pPopArtTable[ pWriteAcc->GetPixel( nY, nX ).GetIndex() ].mnCount++; in ImplPopArt()
989 …const BitmapColor aFirstCol( pWriteAcc->GetPaletteColor( sal::static_int_cast<sal_uInt16>(pPopArtT… in ImplPopArt()
992pWriteAcc->SetPaletteColor( sal::static_int_cast<sal_uInt16>(pPopArtTable[ nFirstEntry ].mnIndex), in ImplPopArt()
993pWriteAcc->GetPaletteColor( sal::static_int_cast<sal_uInt16>(pPopArtTable[ nFirstEntry + 1 ].mnInd… in ImplPopArt()
995pWriteAcc->SetPaletteColor( sal::static_int_cast<sal_uInt16>(pPopArtTable[ nLastEntry ].mnIndex), … in ImplPopArt()
999 ReleaseAccess( pWriteAcc ); in ImplPopArt()