Lines Matching refs:m_pBmpAcc
109 m_pBmpAcc( m_aBitmap.AcquireReadAccess() ), in VclCanvasBitmap()
139 if( m_pBmpAcc ) in VclCanvasBitmap()
141 m_aLayout.ScanLines = m_pBmpAcc->Height(); in VclCanvasBitmap()
142 m_aLayout.ScanLineBytes = (m_pBmpAcc->GetBitCount()*m_pBmpAcc->Width() + 7) / 8; in VclCanvasBitmap()
143 m_aLayout.ScanLineStride = m_pBmpAcc->GetScanlineSize(); in VclCanvasBitmap()
146 switch( m_pBmpAcc->GetScanlineFormat() ) in VclCanvasBitmap()
188 setComponentInfo( m_pBmpAcc->GetColorMask().GetRedMask(), in VclCanvasBitmap()
189 m_pBmpAcc->GetColorMask().GetGreenMask(), in VclCanvasBitmap()
190 m_pBmpAcc->GetColorMask().GetBlueMask() ); in VclCanvasBitmap()
198 setComponentInfo( m_pBmpAcc->GetColorMask().GetRedMask(), in VclCanvasBitmap()
199 m_pBmpAcc->GetColorMask().GetGreenMask(), in VclCanvasBitmap()
200 m_pBmpAcc->GetColorMask().GetBlueMask() ); in VclCanvasBitmap()
208 setComponentInfo( m_pBmpAcc->GetColorMask().GetRedMask(), in VclCanvasBitmap()
209 m_pBmpAcc->GetColorMask().GetGreenMask(), in VclCanvasBitmap()
210 m_pBmpAcc->GetColorMask().GetBlueMask() ); in VclCanvasBitmap()
238 setComponentInfo( m_pBmpAcc->GetColorMask().GetRedMask(), in VclCanvasBitmap()
239 m_pBmpAcc->GetColorMask().GetGreenMask(), in VclCanvasBitmap()
240 m_pBmpAcc->GetColorMask().GetBlueMask() ); in VclCanvasBitmap()
360 setComponentInfo( m_pBmpAcc->GetColorMask().GetRedMask(), in VclCanvasBitmap()
361 m_pBmpAcc->GetColorMask().GetGreenMask(), in VclCanvasBitmap()
362 m_pBmpAcc->GetColorMask().GetBlueMask() ); in VclCanvasBitmap()
437 if( m_pBmpAcc ) in ~VclCanvasBitmap()
438 m_aBitmap.ReleaseAccess(m_pBmpAcc); in ~VclCanvasBitmap()
479 if( !m_pBmpAcc ) in getData()
485 aRequestedArea.Right() > m_pBmpAcc->Width() || in getData()
486 aRequestedArea.Bottom() > m_pBmpAcc->Height() ) in getData()
507 if( !(m_pBmpAcc->GetScanlineFormat() & BMP_FORMAT_TOP_DOWN) ) in getData()
515 OSL_ENSURE(m_pBmpAcc,"Invalid bmp read access"); in getData()
520 Scanline pScan = m_pBmpAcc->GetScanline(y); in getData()
527 OSL_ENSURE(m_pBmpAcc,"Invalid bmp read access"); in getData()
544 *pOutScan++ = m_pBmpAcc->GetPixelIndex(y,x); in getData()
552 Scanline pScan = m_pBmpAcc->GetScanline(y) + nScanlineOffsetLeft; in getData()
580 if( !m_pBmpAcc ) in getPixel()
586 pos.X > m_pBmpAcc->Width() || pos.Y > m_pBmpAcc->Height() ) in getPixel()
602 OSL_ENSURE(m_pBmpAcc,"Invalid bmp read access"); in getPixel()
605 Scanline pScan = m_pBmpAcc->GetScanline(pos.Y); in getPixel()
610 OSL_ENSURE(m_pBmpAcc,"Invalid bmp read access"); in getPixel()
621 *pOutBuf++ = m_pBmpAcc->GetPixelIndex(pos.Y,pos.X); in getPixel()
627 Scanline pScan = m_pBmpAcc->GetScanline(pos.Y); in getPixel()
671 if( !m_pBmpAcc ) in getNumberOfEntries()
674 return m_pBmpAcc->HasPalette() ? m_pBmpAcc->GetPaletteEntryCount() : 0 ; in getNumberOfEntries()
681 const sal_uInt16 nCount( m_pBmpAcc ? in getIndex()
682 (m_pBmpAcc->HasPalette() ? m_pBmpAcc->GetPaletteEntryCount() : 0 ) : 0 ); in getIndex()
688 const BitmapColor aCol = m_pBmpAcc->GetPaletteColor(sal::static_int_cast<sal_uInt16>(nIndex)); in getIndex()
702 const sal_uInt16 nCount( m_pBmpAcc ? in setIndex()
703 (m_pBmpAcc->HasPalette() ? m_pBmpAcc->GetPaletteEntryCount() : 0 ) : 0 ); in setIndex()
780 ENSURE_OR_THROW(m_pBmpAcc, in convertToRGB()
785 const BitmapColor aCol = m_pBmpAcc->GetPaletteColor( in convertToRGB()
829 ENSURE_OR_THROW(m_pBmpAcc, in convertToARGB()
834 const BitmapColor aCol = m_pBmpAcc->GetPaletteColor( in convertToARGB()
882 ENSURE_OR_THROW(m_pBmpAcc, in convertToPARGB()
887 const BitmapColor aCol = m_pBmpAcc->GetPaletteColor( in convertToPARGB()
932 pColors[m_nIndexIndex] = m_pBmpAcc->GetBestPaletteIndex( in convertFromRGB()
972 pColors[m_nIndexIndex] = m_pBmpAcc->GetBestPaletteIndex( in convertFromARGB()
1013 pColors[m_nIndexIndex] = m_pBmpAcc->GetBestPaletteIndex( in convertFromPARGB()
1078 ENSURE_OR_THROW(m_pBmpAcc, in convertFromIntegerColorSpace()
1083 const BitmapColor aCol = m_pBmpAcc->GetPaletteColor( in convertFromIntegerColorSpace()
1151 ENSURE_OR_THROW(m_pBmpAcc, in convertIntegerToRGB()
1162 m_pBmpAcc->GetPaletteColor(*pIn) : in convertIntegerToRGB()
1163 m_pBmpAcc->GetPixelFromData(pIn,0); in convertIntegerToRGB()
1179 m_pBmpAcc->GetPaletteColor( m_pBmpAcc->GetPixelFromData( pIn, i ).GetIndex()) : in convertIntegerToRGB()
1180 m_pBmpAcc->GetPixelFromData(pIn, i); in convertIntegerToRGB()
1203 ENSURE_OR_THROW(m_pBmpAcc, in convertIntegerToARGB()
1216 m_pBmpAcc->GetPaletteColor(*pIn) : in convertIntegerToARGB()
1217 m_pBmpAcc->GetPixelFromData(pIn,0); in convertIntegerToARGB()
1233 m_pBmpAcc->GetPaletteColor( m_pBmpAcc->GetPixelFromData( pIn, i ).GetIndex() ) : in convertIntegerToARGB()
1234 m_pBmpAcc->GetPixelFromData(pIn, i); in convertIntegerToARGB()
1258 ENSURE_OR_THROW(m_pBmpAcc, in convertIntegerToPARGB()
1271 m_pBmpAcc->GetPaletteColor(*pIn) : in convertIntegerToPARGB()
1272 m_pBmpAcc->GetPixelFromData(pIn,0); in convertIntegerToPARGB()
1289 m_pBmpAcc->GetPaletteColor( m_pBmpAcc->GetPixelFromData( pIn, i ).GetIndex() ) : in convertIntegerToPARGB()
1290 m_pBmpAcc->GetPixelFromData(pIn, i); in convertIntegerToPARGB()
1324 sal::static_int_cast<sal_uInt8>(m_pBmpAcc->GetBestPaletteIndex( aCol ))) : in convertIntegerFromRGB()
1327 m_pBmpAcc->SetPixelOnData(pColors,0,aCol2); in convertIntegerFromRGB()
1342 sal::static_int_cast<sal_uInt8>(m_pBmpAcc->GetBestPaletteIndex( aCol ))) : in convertIntegerFromRGB()
1345 m_pBmpAcc->SetPixelOnData(pColors,i,aCol2); in convertIntegerFromRGB()
1373 sal::static_int_cast<sal_uInt8>(m_pBmpAcc->GetBestPaletteIndex( aCol ))) : in convertIntegerFromARGB()
1376 m_pBmpAcc->SetPixelOnData(pColors,0,aCol2); in convertIntegerFromARGB()
1391 sal::static_int_cast<sal_uInt8>(m_pBmpAcc->GetBestPaletteIndex( aCol ))) : in convertIntegerFromARGB()
1394 m_pBmpAcc->SetPixelOnData(pColors,i,aCol2); in convertIntegerFromARGB()
1423 sal::static_int_cast<sal_uInt8>(m_pBmpAcc->GetBestPaletteIndex( aCol ))) : in convertIntegerFromPARGB()
1426 m_pBmpAcc->SetPixelOnData(pColors,0,aCol2); in convertIntegerFromPARGB()
1441 sal::static_int_cast<sal_uInt8>(m_pBmpAcc->GetBestPaletteIndex( aCol ))) : in convertIntegerFromPARGB()
1444 m_pBmpAcc->SetPixelOnData(pColors,i,aCol2); in convertIntegerFromPARGB()