Lines Matching refs:info_raw

4785   if(lodepng_pixel_overflow(*w, *h, &state->info_png.color, &state->info_raw)) {  in decodeGeneric()
4960 …if(!state->decoder.color_convert || lodepng_color_mode_equal(&state->info_raw, &state->info_png.co… in lodepng_decode()
4965 state->error = lodepng_color_mode_copy(&state->info_raw, &state->info_png.color); in lodepng_decode()
4974 if(!(state->info_raw.colortype == LCT_RGB || state->info_raw.colortype == LCT_RGBA) in lodepng_decode()
4975 && !(state->info_raw.bitdepth == 8)) { in lodepng_decode()
4979 outsize = lodepng_get_raw_size(*w, *h, &state->info_raw); in lodepng_decode()
4984 else state->error = lodepng_convert(*out, data, &state->info_raw, in lodepng_decode()
4996 state.info_raw.colortype = colortype; in lodepng_decode_memory()
4997 state.info_raw.bitdepth = bitdepth; in lodepng_decode_memory()
5065 lodepng_color_mode_init(&state->info_raw); in lodepng_state_init()
5071 lodepng_color_mode_cleanup(&state->info_raw); in lodepng_state_cleanup()
5078 lodepng_color_mode_init(&dest->info_raw); in lodepng_state_copy()
5080 dest->error = lodepng_color_mode_copy(&dest->info_raw, &source->info_raw); if(dest->error) return; in lodepng_state_copy()
5849 state->error = checkColorValidity(state->info_raw.colortype, state->info_raw.bitdepth); in lodepng_encode()
5870 state->error = lodepng_compute_color_stats(&stats, image, w, h, &state->info_raw); in lodepng_encode()
5882 state->error = auto_choose_color(&info.color, &state->info_raw, &stats); in lodepng_encode()
5912 if(!lodepng_color_mode_equal(&state->info_raw, &info.color)) { in lodepng_encode()
5919 state->error = lodepng_convert(converted, image, &info.color, &state->info_raw, w, h); in lodepng_encode()
6083 state.info_raw.colortype = colortype; in lodepng_encode_memory()
6084 state.info_raw.bitdepth = bitdepth; in lodepng_encode_memory()
6361 state.info_raw.colortype = colortype; in decode()
6362 state.info_raw.bitdepth = bitdepth; in decode()
6363 size_t buffersize = lodepng_get_raw_size(w, h, &state.info_raw); in decode()
6381 size_t buffersize = lodepng_get_raw_size(w, h, &state.info_raw); in decode()
6443 if(lodepng_get_raw_size(w, h, &state.info_raw) > in.size()) return 84; in encode()