Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/dib/
Dfx_dib_composite.cpp3895 int palsize = 1 << (src_format & 0xff); in ScanlineCompositor_InitSourcePalette() local
3896 pDestPalette = FX_Alloc(uint32_t, palsize); in ScanlineCompositor_InitSourcePalette()
3897 for (int i = 0; i < palsize; i++) { in ScanlineCompositor_InitSourcePalette()
3955 int palsize = 1 << (src_format & 0xff); in ScanlineCompositor_InitSourcePalette() local
3956 pDestPalette = FX_Alloc(uint32_t, palsize); in ScanlineCompositor_InitSourcePalette()
3958 FXSYS_memcpy(pDestPalette, pSrcPalette, palsize * sizeof(uint32_t)); in ScanlineCompositor_InitSourcePalette()
3960 for (int i = 0; i < palsize; i++) { in ScanlineCompositor_InitSourcePalette()
3984 int palsize = 1 << (src_format & 0xff); in ScanlineCompositor_InitSourcePalette() local
3985 pDestPalette = FX_Alloc(uint32_t, palsize); in ScanlineCompositor_InitSourcePalette()
3986 if (palsize == 2) { in ScanlineCompositor_InitSourcePalette()
[all …]
Dfx_dib_main.cpp296 int palsize = (1 << GetBPP()); in FindPalette() local
297 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()