Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/extra/libs/png/
Dlodepng.c5731 unsigned char* padded = (unsigned char*)lodepng_malloc(h * ((w * bpp + 7u) / 8u)); in preProcessScanlines() local
5732 if(!padded) error = 83; /*alloc fail*/ in preProcessScanlines()
5734 addPaddingBits(padded, in, ((w * bpp + 7u) / 8u) * 8u, w * bpp, h); in preProcessScanlines()
5735 error = filter(*out, padded, w, h, &info_png->color, settings); in preProcessScanlines()
5737 lodepng_free(padded); in preProcessScanlines()
5763 …unsigned char* padded = (unsigned char*)lodepng_malloc(padded_passstart[i + 1] - padded_passstart[… in preProcessScanlines() local
5764 if(!padded) ERROR_BREAK(83); /*alloc fail*/ in preProcessScanlines()
5765 addPaddingBits(padded, &adam7[passstart[i]], in preProcessScanlines()
5767 error = filter(&(*out)[filter_passstart[i]], padded, in preProcessScanlines()
5769 lodepng_free(padded); in preProcessScanlines()