Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/dib/
Dcfx_scanlinecompositor.cpp2938 int palsize = 1 << (src_format & 0xff); in InitSourcePalette() local
2939 m_pSrcPalette.reset(FX_Alloc(uint32_t, palsize)); in InitSourcePalette()
2942 memcpy(pPalette, pSrcPalette, palsize * sizeof(uint32_t)); in InitSourcePalette()
2944 for (int i = 0; i < palsize; ++i) { in InitSourcePalette()
2970 int palsize = 1 << (src_format & 0xff); in InitSourcePalette() local
2971 m_pSrcPalette.reset(FX_Alloc(uint32_t, palsize)); in InitSourcePalette()
2973 if (palsize == 2) { in InitSourcePalette()
2977 for (int i = 0; i < palsize; ++i) in InitSourcePalette()
2981 for (int i = 0; i < palsize; ++i) { in InitSourcePalette()
Dcfx_dibsource.cpp729 int palsize = (1 << GetBPP()); in FindPalette() local
730 for (int i = 0; i < palsize; ++i) { in FindPalette()
/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp3411 size_t palsize = 1 << mode_out->bitdepth; in lodepng_convert() local
3412 if(mode_out->palettesize < palsize) palsize = mode_out->palettesize; in lodepng_convert()
3414 for(i = 0; i < palsize; i++) in lodepng_convert()