Home
last modified time | relevance | path

Searched refs:mode_out (Results 1 – 2 of 2) sorted by relevance

/lvgl-3.6.0/src/extra/libs/png/
Dlodepng.c3528 const LodePNGColorMode* mode_out, const LodePNGColorMode* mode_in, in lodepng_convert() argument
3539 if(lodepng_color_mode_equal(mode_out, mode_in)) { in lodepng_convert()
3545 if(mode_out->colortype == LCT_PALETTE) { in lodepng_convert()
3546 size_t palettesize = mode_out->palettesize; in lodepng_convert()
3547 const unsigned char* palette = mode_out->palette; in lodepng_convert()
3548 size_t palsize = (size_t)1u << mode_out->bitdepth; in lodepng_convert()
3558 if(mode_in->colortype == LCT_PALETTE && mode_in->bitdepth == mode_out->bitdepth) { in lodepng_convert()
3574 if(mode_in->bitdepth == 16 && mode_out->bitdepth == 16) { in lodepng_convert()
3578 rgba16ToPixel(out, i, mode_out, r, g, b, a); in lodepng_convert()
3580 } else if(mode_out->bitdepth == 8 && mode_out->colortype == LCT_RGBA) { in lodepng_convert()
[all …]
Dlodepng.h635 const LodePNGColorMode* mode_out, const LodePNGColorMode* mode_in,