Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxge/dib/
Dfx_dib_main.cpp50 m_pPalette = NULL; in CFX_DIBSource()
54 FX_Free(m_pPalette); in ~CFX_DIBSource()
60 m_pPalette = NULL; in CFX_DIBitmap()
140 FX_Free(m_pPalette); in TakeOver()
143 m_pPalette = pSrcBitmap->m_pPalette; in TakeOver()
146 pSrcBitmap->m_pPalette = NULL; in TakeOver()
168 pNewBitmap->CopyPalette(m_pPalette); in Clone()
196 if (m_pPalette) { in BuildPalette()
200 m_pPalette = FX_Alloc(FX_DWORD, 2); in BuildPalette()
202 m_pPalette[0] = 0xff; in BuildPalette()
[all …]
Dfx_dib_convert.cpp106 FX_DWORD* GetPalette() const { return m_pPalette; } in GetPalette()
113 FX_DWORD* m_pPalette; member in CFX_Palette
200 m_pPalette = NULL; in CFX_Palette()
206 FX_Free(m_pPalette); in ~CFX_Palette()
215 FX_Free(m_pPalette); in BuildPalette()
216 m_pPalette = FX_Alloc(FX_DWORD, 256); in BuildPalette()
253 _Obtain_Pal(m_aLut, m_cLut, m_pPalette, pal_type, win_mac_pal, m_lut); in BuildPalette()
1151 !m_pPalette) { in ConvertFormat()
1222 FX_Free(m_pPalette); in ConvertFormat()
1223 m_pPalette = pal_8bpp; in ConvertFormat()
Dfx_dib_transform.cpp193 pTransBitmap->CopyPalette(m_pPalette); in SwapXY()
Dfx_dib_composite.cpp4855 if (m_pPalette) { in CompositeRect()
4857 if (m_pPalette[i] == color) { in CompositeRect()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_loadimage.cpp164 m_pPalette = NULL; in CPDF_DIBSource()
1110 reset_argb = m_pPalette ? m_pPalette[0] : 0xFF000000; in GetScanline()
1111 set_argb = m_pPalette ? m_pPalette[1] : 0xFFFFFFFF; in GetScanline()
1155 if (m_pPalette) { in GetScanline()
1156 *pDestPixel++ = FXARGB_B(m_pPalette[index]); in GetScanline()
1157 *pDestPixel++ = FXARGB_G(m_pPalette[index]); in GetScanline()
1158 *pDestPixel++ = FXARGB_R(m_pPalette[index]); in GetScanline()
1290 reset_argb = m_pPalette ? m_pPalette[0] : 0xFF000000; in DownSampleScanline1Bit()
1291 set_argb = m_pPalette ? m_pPalette[1] : 0xFFFFFFFF; in DownSampleScanline1Bit()
1315 } else if (m_pPalette) { in DownSampleScanline1Bit()
[all …]
/external/pdfium/core/include/fxge/
Dfx_dib.h177 FX_DWORD* GetPalette() const { return m_pPalette; } in GetPalette()
277 FX_DWORD* m_pPalette; variable