Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/extra/libs/png/
Dlodepng.h600 size_t unknown_chunks_size[3]; /*size in bytes of the unknown chunks, given for protection*/ member
Dlodepng.c2853 for(i = 0; i != 3; ++i) info->unknown_chunks_size[i] = 0; in LodePNGUnknownChunks_init()
2868 dest->unknown_chunks_size[i] = src->unknown_chunks_size[i]; in LodePNGUnknownChunks_copy()
2869 dest->unknown_chunks_data[i] = (unsigned char*)lodepng_malloc(src->unknown_chunks_size[i]); in LodePNGUnknownChunks_copy()
2870 if(!dest->unknown_chunks_data[i] && dest->unknown_chunks_size[i]) return 83; /*alloc fail*/ in LodePNGUnknownChunks_copy()
2871 for(j = 0; j < src->unknown_chunks_size[i]; ++j) { in LodePNGUnknownChunks_copy()
4901 … &state->info_png.unknown_chunks_size[critical_pos - 1], chunk); in decodeGeneric()
5944 … state->error = addUnknownChunks(&outv, info.unknown_chunks_data[0], info.unknown_chunks_size[0]); in lodepng_encode()
5992 … state->error = addUnknownChunks(&outv, info.unknown_chunks_data[1], info.unknown_chunks_size[1]); in lodepng_encode()
6059 … state->error = addUnknownChunks(&outv, info.unknown_chunks_data[2], info.unknown_chunks_size[2]); in lodepng_encode()