• Home
  • Raw
  • Download

Lines Matching refs:info_raw

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()
4763 if(!(state->info_raw.colortype == LCT_RGB || state->info_raw.colortype == LCT_RGBA) in lodepng_decode()
4764 && !(state->info_raw.bitdepth == 8)) in lodepng_decode()
4769 outsize = lodepng_get_raw_size(*w, *h, &state->info_raw); in lodepng_decode()
4775 …else state->error = lodepng_convert(*out, data, &state->info_raw, &state->info_png.color, *w, *h, … in lodepng_decode()
4787 state.info_raw.colortype = colortype; in lodepng_decode_memory()
4788 state.info_raw.bitdepth = bitdepth; in lodepng_decode_memory()
4852 lodepng_color_mode_init(&state->info_raw); in lodepng_state_init()
4859 lodepng_color_mode_cleanup(&state->info_raw); in lodepng_state_cleanup()
4867 lodepng_color_mode_init(&dest->info_raw); in lodepng_state_copy()
4869 dest->error = lodepng_color_mode_copy(&dest->info_raw, &source->info_raw); if(dest->error) return; in lodepng_state_copy()
5687 state->error = lodepng_auto_choose_color(&info.color, image, w, h, &state->info_raw, in lodepng_encode()
5703 state->error = checkColorValidity(state->info_raw.colortype, state->info_raw.bitdepth); in lodepng_encode()
5706 if(!lodepng_color_mode_equal(&state->info_raw, &info.color)) in lodepng_encode()
5715 …state->error = lodepng_convert(converted, image, &info.color, &state->info_raw, w, h, 0 /*fix_png*… in lodepng_encode()
5861 state.info_raw.colortype = colortype; in lodepng_encode_memory()
5862 state.info_raw.bitdepth = bitdepth; in lodepng_encode_memory()
6144 state.info_raw.colortype = colortype; in decode()
6145 state.info_raw.bitdepth = bitdepth; in decode()
6146 size_t buffersize = lodepng_get_raw_size(w, h, &state.info_raw); in decode()
6167 size_t buffersize = lodepng_get_raw_size(w, h, &state.info_raw); in decode()
6234 if(lodepng_get_raw_size(w, h, &state.info_raw) > in.size()) return 84; in encode()