• Home
  • Raw
  • Download

Lines Matching refs:DCTSIZE

113   if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom) {  in jpeg_core_output_dimensions()
116 jdiv_round_up((long)cinfo->image_width, (long)DCTSIZE); in jpeg_core_output_dimensions()
118 jdiv_round_up((long)cinfo->image_height, (long)DCTSIZE); in jpeg_core_output_dimensions()
121 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 2) { in jpeg_core_output_dimensions()
124 jdiv_round_up((long)cinfo->image_width * 2L, (long)DCTSIZE); in jpeg_core_output_dimensions()
126 jdiv_round_up((long)cinfo->image_height * 2L, (long)DCTSIZE); in jpeg_core_output_dimensions()
129 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 3) { in jpeg_core_output_dimensions()
132 jdiv_round_up((long)cinfo->image_width * 3L, (long)DCTSIZE); in jpeg_core_output_dimensions()
134 jdiv_round_up((long)cinfo->image_height * 3L, (long)DCTSIZE); in jpeg_core_output_dimensions()
137 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 4) { in jpeg_core_output_dimensions()
140 jdiv_round_up((long)cinfo->image_width * 4L, (long)DCTSIZE); in jpeg_core_output_dimensions()
142 jdiv_round_up((long)cinfo->image_height * 4L, (long)DCTSIZE); in jpeg_core_output_dimensions()
145 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 5) { in jpeg_core_output_dimensions()
148 jdiv_round_up((long)cinfo->image_width * 5L, (long)DCTSIZE); in jpeg_core_output_dimensions()
150 jdiv_round_up((long)cinfo->image_height * 5L, (long)DCTSIZE); in jpeg_core_output_dimensions()
153 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 6) { in jpeg_core_output_dimensions()
156 jdiv_round_up((long)cinfo->image_width * 6L, (long)DCTSIZE); in jpeg_core_output_dimensions()
158 jdiv_round_up((long)cinfo->image_height * 6L, (long)DCTSIZE); in jpeg_core_output_dimensions()
161 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 7) { in jpeg_core_output_dimensions()
164 jdiv_round_up((long)cinfo->image_width * 7L, (long)DCTSIZE); in jpeg_core_output_dimensions()
166 jdiv_round_up((long)cinfo->image_height * 7L, (long)DCTSIZE); in jpeg_core_output_dimensions()
169 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 8) { in jpeg_core_output_dimensions()
172 jdiv_round_up((long)cinfo->image_width * 8L, (long)DCTSIZE); in jpeg_core_output_dimensions()
174 jdiv_round_up((long)cinfo->image_height * 8L, (long)DCTSIZE); in jpeg_core_output_dimensions()
177 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 9) { in jpeg_core_output_dimensions()
180 jdiv_round_up((long)cinfo->image_width * 9L, (long)DCTSIZE); in jpeg_core_output_dimensions()
182 jdiv_round_up((long)cinfo->image_height * 9L, (long)DCTSIZE); in jpeg_core_output_dimensions()
185 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 10) { in jpeg_core_output_dimensions()
188 jdiv_round_up((long)cinfo->image_width * 10L, (long)DCTSIZE); in jpeg_core_output_dimensions()
190 jdiv_round_up((long)cinfo->image_height * 10L, (long)DCTSIZE); in jpeg_core_output_dimensions()
193 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 11) { in jpeg_core_output_dimensions()
196 jdiv_round_up((long)cinfo->image_width * 11L, (long)DCTSIZE); in jpeg_core_output_dimensions()
198 jdiv_round_up((long)cinfo->image_height * 11L, (long)DCTSIZE); in jpeg_core_output_dimensions()
201 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 12) { in jpeg_core_output_dimensions()
204 jdiv_round_up((long)cinfo->image_width * 12L, (long)DCTSIZE); in jpeg_core_output_dimensions()
206 jdiv_round_up((long)cinfo->image_height * 12L, (long)DCTSIZE); in jpeg_core_output_dimensions()
209 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 13) { in jpeg_core_output_dimensions()
212 jdiv_round_up((long)cinfo->image_width * 13L, (long)DCTSIZE); in jpeg_core_output_dimensions()
214 jdiv_round_up((long)cinfo->image_height * 13L, (long)DCTSIZE); in jpeg_core_output_dimensions()
217 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 14) { in jpeg_core_output_dimensions()
220 jdiv_round_up((long)cinfo->image_width * 14L, (long)DCTSIZE); in jpeg_core_output_dimensions()
222 jdiv_round_up((long)cinfo->image_height * 14L, (long)DCTSIZE); in jpeg_core_output_dimensions()
225 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 15) { in jpeg_core_output_dimensions()
228 jdiv_round_up((long)cinfo->image_width * 15L, (long)DCTSIZE); in jpeg_core_output_dimensions()
230 jdiv_round_up((long)cinfo->image_height * 15L, (long)DCTSIZE); in jpeg_core_output_dimensions()
236 jdiv_round_up((long)cinfo->image_width * 16L, (long)DCTSIZE); in jpeg_core_output_dimensions()
238 jdiv_round_up((long)cinfo->image_height * 16L, (long)DCTSIZE); in jpeg_core_output_dimensions()
296 while (ssize < DCTSIZE && in jpeg_calc_output_dimensions()
319 (long)(cinfo->max_h_samp_factor * DCTSIZE)); in jpeg_calc_output_dimensions()
323 (long)(cinfo->max_v_samp_factor * DCTSIZE)); in jpeg_calc_output_dimensions()