Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/dib/
Dcfx_dibbase.cpp928 uint32_t pal_size = 1 << GetBPP(); in SetPalette() local
930 m_pPalette.reset(FX_Alloc(uint32_t, pal_size)); in SetPalette()
931 pal_size = std::min(pal_size, kPaletteSize); in SetPalette()
932 memcpy(m_pPalette.get(), pSrc, pal_size * sizeof(uint32_t)); in SetPalette()