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.cpp43 m_pPalette = NULL; in CFX_DIBSource()
48 if (m_pPalette) { in ~CFX_DIBSource()
49 FX_Free(m_pPalette); in ~CFX_DIBSource()
59 m_pPalette = NULL; in CFX_DIBitmap()
140 if (m_pPalette) { in TakeOver()
141 FX_Free(m_pPalette); in TakeOver()
147 m_pPalette = pSrcBitmap->m_pPalette; in TakeOver()
150 pSrcBitmap->m_pPalette = NULL; in TakeOver()
176 pNewBitmap->CopyPalette(m_pPalette); in Clone()
204 if (m_pPalette) { in BuildPalette()
[all …]
Dfx_dib_convert.cpp109 return m_pPalette; in GetPalette()
125 FX_DWORD* m_pPalette; member in CFX_Palette
212 m_pPalette = NULL; in CFX_Palette()
219 if (m_pPalette) { in ~CFX_Palette()
220 FX_Free(m_pPalette); in ~CFX_Palette()
235 if (m_pPalette != NULL) { in BuildPalette()
236 FX_Free(m_pPalette); in BuildPalette()
238 m_pPalette = FX_Alloc(FX_DWORD, 256); in BuildPalette()
239 if (!m_pPalette) { in BuildPalette()
242 FXSYS_memset32(m_pPalette, 0, sizeof(FX_DWORD) * 256); in BuildPalette()
[all …]
Dfx_dib_transform.cpp75 pTransBitmap->CopyPalette(m_pPalette); in SwapXY()
Dfx_dib_composite.cpp4287 if (m_pPalette == NULL) { in CompositeRect()
4291 if (m_pPalette[i] == color) { in CompositeRect()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_loadimage.cpp93 m_pPalette = NULL; in CPDF_DIBSource()
1093 reset_argb = m_pPalette ? m_pPalette[0] : 0xff000000; in GetScanline()
1094 set_argb = m_pPalette ? m_pPalette[1] : 0xffffffff; in GetScanline()
1138 if (m_pPalette) { in GetScanline()
1139 *pDestPixel++ = FXARGB_B(m_pPalette[index]); in GetScanline()
1140 *pDestPixel++ = FXARGB_G(m_pPalette[index]); in GetScanline()
1141 *pDestPixel++ = FXARGB_R(m_pPalette[index]); in GetScanline()
1222 reset_argb = m_pPalette ? m_pPalette[0] : 0xff000000; in DownSampleScanline()
1223 set_argb = m_pPalette ? m_pPalette[1] : 0xffffffff; in DownSampleScanline()
1247 } else if (m_pPalette) { in DownSampleScanline()
[all …]
/external/pdfium/core/include/fxge/
Dfx_dib.h169 return m_pPalette; in GetPalette()
274 FX_DWORD* m_pPalette; variable