Lines Matching refs:unknown_chunks_data
2659 for(i = 0; i < 3; i++) info->unknown_chunks_data[i] = 0; in LodePNGUnknownChunks_init()
2666 for(i = 0; i < 3; i++) lodepng_free(info->unknown_chunks_data[i]); in LodePNGUnknownChunks_cleanup()
2679 dest->unknown_chunks_data[i] = (unsigned char*)lodepng_malloc(src->unknown_chunks_size[i]); in LodePNGUnknownChunks_copy()
2680 if(!dest->unknown_chunks_data[i] && dest->unknown_chunks_size[i]) return 83; /*alloc fail*/ in LodePNGUnknownChunks_copy()
2683 dest->unknown_chunks_data[i][j] = src->unknown_chunks_data[i][j]; in LodePNGUnknownChunks_copy()
4693 state->error = lodepng_chunk_append(&state->info_png.unknown_chunks_data[critical_pos - 1], in decodeGeneric()
5734 if(info.unknown_chunks_data[0]) in lodepng_encode()
5736 … state->error = addUnknownChunks(&outv, info.unknown_chunks_data[0], info.unknown_chunks_size[0]); in lodepng_encode()
5765 if(info.unknown_chunks_data[1]) in lodepng_encode()
5767 … state->error = addUnknownChunks(&outv, info.unknown_chunks_data[1], info.unknown_chunks_size[1]); in lodepng_encode()
5835 if(info.unknown_chunks_data[2]) in lodepng_encode()
5837 … state->error = addUnknownChunks(&outv, info.unknown_chunks_data[2], info.unknown_chunks_size[2]); in lodepng_encode()