Home
last modified time | relevance | path

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

/lvgl-3.6.0/src/extra/libs/png/
Dlodepng.c384 unsigned lodepng_save_file(const unsigned char* buffer, size_t buffersize, const char* filename) { in lodepng_save_file() argument
390 res = lv_fs_write(&f, buffer, buffersize, &bw); in lodepng_save_file()
5020 size_t buffersize; in lodepng_decode_file() local
5025 error = lodepng_load_file(&buffer, &buffersize, filename); in lodepng_decode_file()
5026 if(!error) error = lodepng_decode_memory(out, w, h, buffer, buffersize, colortype, bitdepth); in lodepng_decode_file()
6105 size_t buffersize; in lodepng_encode_file() local
6106 unsigned error = lodepng_encode_memory(&buffer, &buffersize, image, w, h, colortype, bitdepth); in lodepng_encode_file()
6107 if(!error) error = lodepng_save_file(buffer, buffersize, filename); in lodepng_encode_file()
6297 size_t buffersize = 0; in decompress() local
6298 unsigned error = zlib_decompress(&buffer, &buffersize, 0, in, insize, &settings); in decompress()
[all …]
Dlodepng.h992 unsigned lodepng_save_file(const unsigned char* buffer, size_t buffersize, const char* filename);