Lines Matching refs:info_png
3954 LodePNGInfo* info = &state->info_png; in lodepng_inspect()
4205 unsigned w, unsigned h, const LodePNGInfo* info_png) in postProcessScanlines() argument
4214 unsigned bpp = lodepng_get_bpp(&info_png->color); in postProcessScanlines()
4217 if(info_png->interlace_method == 0) in postProcessScanlines()
4627 state->error = readChunk_PLTE(&state->info_png.color, data, chunkLength); in decodeGeneric()
4636 state->error = readChunk_tRNS(&state->info_png.color, data, chunkLength); in decodeGeneric()
4643 state->error = readChunk_bKGD(&state->info_png, data, chunkLength); in decodeGeneric()
4651 state->error = readChunk_tEXt(&state->info_png, data, chunkLength); in decodeGeneric()
4660 … state->error = readChunk_zTXt(&state->info_png, &state->decoder.zlibsettings, data, chunkLength); in decodeGeneric()
4669 … state->error = readChunk_iTXt(&state->info_png, &state->decoder.zlibsettings, data, chunkLength); in decodeGeneric()
4675 state->error = readChunk_tIME(&state->info_png, data, chunkLength); in decodeGeneric()
4680 state->error = readChunk_pHYs(&state->info_png, data, chunkLength); in decodeGeneric()
4693 state->error = lodepng_chunk_append(&state->info_png.unknown_chunks_data[critical_pos - 1], in decodeGeneric()
4694 … &state->info_png.unknown_chunks_size[critical_pos - 1], chunk); in decodeGeneric()
4712 if(!ucvector_resize(&scanlines, lodepng_get_raw_size(*w, *h, &state->info_png.color) + *h)) in decodeGeneric()
4730 lodepng_get_raw_size(*w, *h, &state->info_png.color), 0)) state->error = 83; /*alloc fail*/ in decodeGeneric()
4731 …e->error) state->error = postProcessScanlines(outv.data, scanlines.data, *w, *h, &state->info_png); in decodeGeneric()
4744 …if(!state->decoder.color_convert || lodepng_color_mode_equal(&state->info_raw, &state->info_png.co… in lodepng_decode()
4751 state->error = lodepng_color_mode_copy(&state->info_raw, &state->info_png.color); in lodepng_decode()
4775 …else state->error = lodepng_convert(*out, data, &state->info_raw, &state->info_png.color, *w, *h, … in lodepng_decode()
4853 lodepng_info_init(&state->info_png); in lodepng_state_init()
4860 lodepng_info_cleanup(&state->info_png); in lodepng_state_cleanup()
4868 lodepng_info_init(&dest->info_png); in lodepng_state_copy()
4870 dest->error = lodepng_info_copy(&dest->info_png, &source->info_png); if(dest->error) return; in lodepng_state_copy()
5537 … const LodePNGInfo* info_png, const LodePNGEncoderSettings* settings) in preProcessScanlines() argument
5544 unsigned bpp = lodepng_get_bpp(&info_png->color); in preProcessScanlines()
5547 if(info_png->interlace_method == 0) in preProcessScanlines()
5563 error = filter(*out, padded, w, h, &info_png->color, settings); in preProcessScanlines()
5570 error = filter(*out, in, w, h, &info_png->color, settings); in preProcessScanlines()
5603 passw[i], passh[i], &info_png->color, settings); in preProcessScanlines()
5609 passw[i], passh[i], &info_png->color, settings); in preProcessScanlines()
5676 lodepng_info_copy(&info, &state->info_png); in lodepng_encode()
5696 if(state->info_png.interlace_method > 1) in lodepng_encode()
5863 state.info_png.color.colortype = colortype; in lodepng_encode_memory()
5864 state.info_png.color.bitdepth = bitdepth; in lodepng_encode_memory()