Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/dib/
Dcfx_dibsource.cpp780 uint32_t pal_size = 1 << GetBPP(); in SetPalette() local
782 m_pPalette.reset(FX_Alloc(uint32_t, pal_size)); in SetPalette()
783 pal_size = std::min(pal_size, kPaletteSize); in SetPalette()
784 memcpy(m_pPalette.get(), pSrc, pal_size * sizeof(uint32_t)); in SetPalette()