Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxge/win32/
Dfx_win32_dib.cpp186 FX_DWORD palsize) { in LoadFromDDB() argument
227 pDIBitmap->CopyPalette(pPalette, palsize); in LoadFromDDB()
/external/pdfium/core/src/fxge/dib/
Dfx_dib_composite.cpp4071 int palsize = 1 << (src_format & 0xff); in _ScanlineCompositor_InitSourcePalette() local
4072 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() local
4131 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() local
4160 pDestPalette = FX_Alloc(FX_DWORD, palsize); in _ScanlineCompositor_InitSourcePalette()
4161 if (palsize == 2) { in _ScanlineCompositor_InitSourcePalette()
[all …]
Dfx_dib_main.cpp272 int palsize = (1 << GetBPP()); in FindPalette() local
273 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()