Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/dib/
Dcfx_scanlinecompositor.cpp2828 uint8_t* gray_pal = FX_Alloc(uint8_t, pal_count); in InitSourcePalette() local
2829 m_pSrcPalette.reset(reinterpret_cast<uint32_t*>(gray_pal)); in InitSourcePalette()
2839 *gray_pal++ = FXRGB2GRAY(r, g, b); in InitSourcePalette()
2844 *gray_pal++ = in InitSourcePalette()
2869 uint8_t* gray_pal = FX_Alloc(uint8_t, pal_count); in InitSourcePalette() local
2871 gray_pal[0] = 0; in InitSourcePalette()
2872 gray_pal[1] = 255; in InitSourcePalette()
2875 gray_pal[i] = i; in InitSourcePalette()
2877 m_pSrcPalette.reset(reinterpret_cast<uint32_t*>(gray_pal)); in InitSourcePalette()