Searched refs:lodepng_mulofl (Results 1 – 1 of 1) sorted by relevance
/lvgl-3.6.0/src/extra/libs/png/ |
D | lodepng.c | 155 static int lodepng_mulofl(size_t a, size_t b, size_t* result) { in lodepng_mulofl() function 466 if(lodepng_mulofl(size, 8u, &reader->bitsize)) return 105; in LodePNGBitReader_init() 2833 if(lodepng_mulofl((size_t)w, (size_t)h, &numpixels)) return 1; in lodepng_pixel_overflow() 2834 …if(lodepng_mulofl(numpixels, 8, &total)) return 1; /* bit pointer with 8-bit color, or 8 bytes per… in lodepng_pixel_overflow() 2837 if(lodepng_mulofl((size_t)(w / 8u), bpp, &line)) return 1; in lodepng_pixel_overflow() 2841 if(lodepng_mulofl(line, h, &total)) return 1; /* Total bytes in worst case */ in lodepng_pixel_overflow()
|