Lines Matching refs:DCTSIZE

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