Home | History | Annotate | Download | only in libjpeg-turbo

Lines Matching refs:DCTSIZE

101   if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom) {
104 jdiv_round_up((long) cinfo->image_width, (long) DCTSIZE);
106 jdiv_round_up((long) cinfo->image_height, (long) DCTSIZE);
109 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 2) {
112 jdiv_round_up((long) cinfo->image_width * 2L, (long) DCTSIZE);
114 jdiv_round_up((long) cinfo->image_height * 2L, (long) DCTSIZE);
117 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 3) {
120 jdiv_round_up((long) cinfo->image_width * 3L, (long) DCTSIZE);
122 jdiv_round_up((long) cinfo->image_height * 3L, (long) DCTSIZE);
125 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 4) {
128 jdiv_round_up((long) cinfo->image_width * 4L, (long) DCTSIZE);
130 jdiv_round_up((long) cinfo->image_height * 4L, (long) DCTSIZE);
133 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 5) {
136 jdiv_round_up((long) cinfo->image_width * 5L, (long) DCTSIZE);
138 jdiv_round_up((long) cinfo->image_height * 5L, (long) DCTSIZE);
141 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 6) {
144 jdiv_round_up((long) cinfo->image_width * 6L, (long) DCTSIZE);
146 jdiv_round_up((long) cinfo->image_height * 6L, (long) DCTSIZE);
149 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 7) {
152 jdiv_round_up((long) cinfo->image_width * 7L, (long) DCTSIZE);
154 jdiv_round_up((long) cinfo->image_height * 7L, (long) DCTSIZE);
157 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 8) {
160 jdiv_round_up((long) cinfo->image_width * 8L, (long) DCTSIZE);
162 jdiv_round_up((long) cinfo->image_height * 8L, (long) DCTSIZE);
165 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 9) {
168 jdiv_round_up((long) cinfo->image_width * 9L, (long) DCTSIZE);
170 jdiv_round_up((long) cinfo->image_height * 9L, (long) DCTSIZE);
173 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 10) {
176 jdiv_round_up((long) cinfo->image_width * 10L, (long) DCTSIZE);
178 jdiv_round_up((long) cinfo->image_height * 10L, (long) DCTSIZE);
181 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 11) {
184 jdiv_round_up((long) cinfo->image_width * 11L, (long) DCTSIZE);
186 jdiv_round_up((long) cinfo->image_height * 11L, (long) DCTSIZE);
189 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 12) {
192 jdiv_round_up((long) cinfo->image_width * 12L, (long) DCTSIZE);
194 jdiv_round_up((long) cinfo->image_height * 12L, (long) DCTSIZE);
197 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 13) {
200 jdiv_round_up((long) cinfo->image_width * 13L, (long) DCTSIZE);
202 jdiv_round_up((long) cinfo->image_height * 13L, (long) DCTSIZE);
205 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 14) {
208 jdiv_round_up((long) cinfo->image_width * 14L, (long) DCTSIZE);
210 jdiv_round_up((long) cinfo->image_height * 14L, (long) DCTSIZE);
213 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 15) {
216 jdiv_round_up((long) cinfo->image_width * 15L, (long) DCTSIZE);
218 jdiv_round_up((long) cinfo->image_height * 15L, (long) DCTSIZE);
224 jdiv_round_up((long) cinfo->image_width * 16L, (long) DCTSIZE);
226 jdiv_round_up((long) cinfo->image_height * 16L, (long) DCTSIZE);
284 while (ssize < DCTSIZE &&
307 (long) (cinfo->max_h_samp_factor * DCTSIZE));
311 (long) (cinfo->max_v_samp_factor * DCTSIZE));
319 /* jdinput.c has already initialized DCT_scaled_size to DCTSIZE,