Searched refs:scale_denom (Results 1 – 8 of 8) sorted by relevance
46 if (cinfo->scale_num >= cinfo->scale_denom * cinfo->block_size) { in jpeg_calc_jpeg_dimensions()52 } else if (cinfo->scale_num * 2 >= cinfo->scale_denom * cinfo->block_size) { in jpeg_calc_jpeg_dimensions()60 } else if (cinfo->scale_num * 3 >= cinfo->scale_denom * cinfo->block_size) { in jpeg_calc_jpeg_dimensions()68 } else if (cinfo->scale_num * 4 >= cinfo->scale_denom * cinfo->block_size) { in jpeg_calc_jpeg_dimensions()76 } else if (cinfo->scale_num * 5 >= cinfo->scale_denom * cinfo->block_size) { in jpeg_calc_jpeg_dimensions()84 } else if (cinfo->scale_num * 6 >= cinfo->scale_denom * cinfo->block_size) { in jpeg_calc_jpeg_dimensions()92 } else if (cinfo->scale_num * 7 >= cinfo->scale_denom * cinfo->block_size) { in jpeg_calc_jpeg_dimensions()100 } else if (cinfo->scale_num * 8 >= cinfo->scale_denom * cinfo->block_size) { in jpeg_calc_jpeg_dimensions()108 } else if (cinfo->scale_num * 9 >= cinfo->scale_denom * cinfo->block_size) { in jpeg_calc_jpeg_dimensions()116 } else if (cinfo->scale_num * 10 >= cinfo->scale_denom * cinfo->block_size) { in jpeg_calc_jpeg_dimensions()[all …]
57 if (cinfo->scale_num * cinfo->block_size <= cinfo->scale_denom) { in jpeg_core_output_dimensions()65 } else if (cinfo->scale_num * cinfo->block_size <= cinfo->scale_denom * 2) { in jpeg_core_output_dimensions()73 } else if (cinfo->scale_num * cinfo->block_size <= cinfo->scale_denom * 3) { in jpeg_core_output_dimensions()81 } else if (cinfo->scale_num * cinfo->block_size <= cinfo->scale_denom * 4) { in jpeg_core_output_dimensions()89 } else if (cinfo->scale_num * cinfo->block_size <= cinfo->scale_denom * 5) { in jpeg_core_output_dimensions()97 } else if (cinfo->scale_num * cinfo->block_size <= cinfo->scale_denom * 6) { in jpeg_core_output_dimensions()105 } else if (cinfo->scale_num * cinfo->block_size <= cinfo->scale_denom * 7) { in jpeg_core_output_dimensions()113 } else if (cinfo->scale_num * cinfo->block_size <= cinfo->scale_denom * 8) { in jpeg_core_output_dimensions()121 } else if (cinfo->scale_num * cinfo->block_size <= cinfo->scale_denom * 9) { in jpeg_core_output_dimensions()129 } else if (cinfo->scale_num * cinfo->block_size <= cinfo->scale_denom * 10) { in jpeg_core_output_dimensions()[all …]
193 cinfo->scale_denom = cinfo->block_size; in default_decompress_parms()
439 &cinfo->scale_num, &cinfo->scale_denom) != 2) in parse_switches()
343 &cinfo->scale_num, &cinfo->scale_denom) < 1) in parse_switches()
216 cinfo->scale_denom = 1; in jpeg_set_defaults()
532 &srcinfo.scale_num, &srcinfo.scale_denom) < 1) in main()
317 unsigned int scale_num, scale_denom; /* fraction by which to scale image */ member480 unsigned int scale_num, scale_denom; /* fraction by which to scale image */ member