Home
last modified time | relevance | path

Searched refs:m_pSrcPalette (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/core/fxcodec/
Dprogressivedecoder.cpp434 if (!m_pSrcPalette) in GifInputRecordPositionBuf()
435 m_pSrcPalette.reset(FX_Alloc(FX_ARGB, pal_num)); in GifInputRecordPositionBuf()
437 m_pSrcPalette.reset(FX_Realloc(FX_ARGB, m_pSrcPalette.release(), pal_num)); in GifInputRecordPositionBuf()
438 if (!m_pSrcPalette) in GifInputRecordPositionBuf()
443 m_pSrcPalette.get()[i] = in GifInputRecordPositionBuf()
454 m_pSrcPalette.get()[trans_index] &= 0x00ffffff; in GifInputRecordPositionBuf()
466 FX_ARGB argb = m_pSrcPalette.get()[pal_index]; in GifInputRecordPositionBuf()
763 m_pSrcPalette.reset(FX_Alloc(FX_ARGB, m_SrcPaletteNumber)); in BmpDetectImageTypeInBuffer()
764 memcpy(m_pSrcPalette.get(), palette->data(), in BmpDetectImageTypeInBuffer()
767 m_pSrcPalette.reset(); in BmpDetectImageTypeInBuffer()
[all …]
Dprogressivedecoder.h253 std::unique_ptr<FX_ARGB, FxFreeDeleter> m_pSrcPalette; variable
/external/pdfium/core/fxge/dib/
Dcfx_scanlinecompositor.cpp2825 m_pSrcPalette = nullptr; in InitSourcePalette()
2829 m_pSrcPalette.reset(reinterpret_cast<uint32_t*>(gray_pal)); in InitSourcePalette()
2850 m_pSrcPalette.reset(FX_Alloc(uint32_t, pal_count)); in InitSourcePalette()
2851 uint32_t* pPalette = m_pSrcPalette.get(); in InitSourcePalette()
2877 m_pSrcPalette.reset(reinterpret_cast<uint32_t*>(gray_pal)); in InitSourcePalette()
2880 m_pSrcPalette.reset(FX_Alloc(uint32_t, pal_count)); in InitSourcePalette()
2881 uint32_t* pPalette = m_pSrcPalette.get(); in InitSourcePalette()
3079 dest_scan, src_scan, src_left, width, m_pSrcPalette.get(), in CompositePalBitmapLine()
3083 dest_scan, src_scan, src_left, m_pSrcPalette.get(), width, in CompositePalBitmapLine()
3092 dest_scan, src_scan, width, m_pSrcPalette.get(), clip_scan); in CompositePalBitmapLine()
[all …]
Dcfx_scanlinecompositor.h67 std::unique_ptr<uint32_t, FxFreeDeleter> m_pSrcPalette; variable
Dcstretchengine.h85 const uint32_t* m_pSrcPalette; variable
Dcstretchengine.cpp235 m_pSrcPalette(pSrcBitmap->GetPalette()), in CStretchEngine()
450 unsigned long argb_cmyk = m_pSrcPalette[src_scan[j]]; in ContinueStretchHorz()
486 unsigned long argb_cmyk = m_pSrcPalette[src_scan[j]]; in ContinueStretchHorz()