Searched refs:palsize (Results 1 – 3 of 3) sorted by relevance
3895 int palsize = 1 << (src_format & 0xff); in ScanlineCompositor_InitSourcePalette() local3896 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() local3956 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() local3985 pDestPalette = FX_Alloc(uint32_t, palsize); in ScanlineCompositor_InitSourcePalette()3986 if (palsize == 2) { in ScanlineCompositor_InitSourcePalette()[all …]
296 int palsize = (1 << GetBPP()); in FindPalette() local297 for (int i = 0; i < palsize; i++) in FindPalette()
3411 size_t palsize = 1 << mode_out->bitdepth; in lodepng_convert() local3412 if(mode_out->palettesize < palsize) palsize = mode_out->palettesize; in lodepng_convert()3414 for(i = 0; i < palsize; i++) in lodepng_convert()