Searched refs:palsize (Results 1 – 4 of 4) sorted by relevance
186 FX_DWORD palsize) { in LoadFromDDB() argument227 pDIBitmap->CopyPalette(pPalette, palsize); in LoadFromDDB()
4071 int palsize = 1 << (src_format & 0xff); in _ScanlineCompositor_InitSourcePalette() local4072 pDestPalette = FX_Alloc(FX_DWORD, palsize); in _ScanlineCompositor_InitSourcePalette()4073 for (int i = 0; i < palsize; i++) { in _ScanlineCompositor_InitSourcePalette()4130 int palsize = 1 << (src_format & 0xff); in _ScanlineCompositor_InitSourcePalette() local4131 pDestPalette = FX_Alloc(FX_DWORD, palsize); in _ScanlineCompositor_InitSourcePalette()4133 FXSYS_memcpy(pDestPalette, pSrcPalette, palsize * sizeof(FX_DWORD)); in _ScanlineCompositor_InitSourcePalette()4135 for (int i = 0; i < palsize; i++) { in _ScanlineCompositor_InitSourcePalette()4159 int palsize = 1 << (src_format & 0xff); in _ScanlineCompositor_InitSourcePalette() local4160 pDestPalette = FX_Alloc(FX_DWORD, palsize); in _ScanlineCompositor_InitSourcePalette()4161 if (palsize == 2) { in _ScanlineCompositor_InitSourcePalette()[all …]
272 int palsize = (1 << GetBPP()); in FindPalette() local273 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()