Lines Matching defs:PASS1_BITS
112 * The outputs of the first pass are scaled up by PASS1_BITS bits so that
114 * require BITS_IN_JSAMPLE + PASS1_BITS + 3 bits; this fits in a 16-bit word
119 * have BITS_IN_JSAMPLE + CONST_BITS + PASS1_BITS <= 26. Error analysis
124 #undef PASS1_BITS
129 #define PASS1_BITS 4 /* set this to 2 if 16x16 multiplies are faster */
130 #define OUT_SHIFT PASS1_BITS
133 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */
134 #define OUT_SHIFT (PASS1_BITS + 1)
180 #if BITS_IN_JSAMPLE == 8 && CONST_BITS<=13 && PASS1_BITS<=2
197 /* furthermore, we scale the results by 2**PASS1_BITS. */
219 dataptr[0] = (DCTELEM) ((tmp10 + tmp11) << PASS1_BITS);
220 dataptr[4] = (DCTELEM) ((tmp10 - tmp11) << PASS1_BITS);
224 CONST_BITS-PASS1_BITS);
226 CONST_BITS-PASS1_BITS);
251 dataptr[7] = (DCTELEM) DESCALE(tmp4 + z1 + z3, CONST_BITS-PASS1_BITS);
252 dataptr[5] = (DCTELEM) DESCALE(tmp5 + z2 + z4, CONST_BITS-PASS1_BITS);
253 dataptr[3] = (DCTELEM) DESCALE(tmp6 + z2 + z3, CONST_BITS-PASS1_BITS);
254 dataptr[1] = (DCTELEM) DESCALE(tmp7 + z1 + z4, CONST_BITS-PASS1_BITS);
276 * We remove the PASS1_BITS scaling, but leave the results scaled up
358 * We remove the PASS1_BITS scaling, but leave the results scaled up