• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/

Lines Matching defs:PASS1_BITS

115  * The outputs of the first pass are scaled up by PASS1_BITS bits so that
117 * require BITS_IN_JSAMPLE + PASS1_BITS + 3 bits; this fits in a 16-bit word
122 * have BITS_IN_JSAMPLE + CONST_BITS + PASS1_BITS <= 26. Error analysis
128 #define PASS1_BITS 4 /* set this to 2 if 16x16 multiplies are faster */
131 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */
177 #if BITS_IN_JSAMPLE == 8 && CONST_BITS<=13 && PASS1_BITS<=2
194 /* furthermore, we scale the results by 2**PASS1_BITS. */
216 dataptr[0] = (DCTELEM) ((tmp10 + tmp11) << PASS1_BITS);
217 dataptr[4] = (DCTELEM) ((tmp10 - tmp11) << PASS1_BITS);
221 CONST_BITS-PASS1_BITS);
223 CONST_BITS-PASS1_BITS);
248 dataptr[7] = (DCTELEM) DESCALE(tmp4 + z1 + z3, CONST_BITS-PASS1_BITS);
249 dataptr[5] = (DCTELEM) DESCALE(tmp5 + z2 + z4, CONST_BITS-PASS1_BITS);
250 dataptr[3] = (DCTELEM) DESCALE(tmp6 + z2 + z3, CONST_BITS-PASS1_BITS);
251 dataptr[1] = (DCTELEM) DESCALE(tmp7 + z1 + z4, CONST_BITS-PASS1_BITS);
274 * We remove the PASS1_BITS scaling, but leave the results scaled up
298 dataptr[DCTSIZE*0] = (DCTELEM) DESCALE(tmp10 + tmp11, PASS1_BITS);
299 dataptr[DCTSIZE*4] = (DCTELEM) DESCALE(tmp10 - tmp11, PASS1_BITS);
303 CONST_BITS+PASS1_BITS);
305 CONST_BITS+PASS1_BITS);
331 CONST_BITS+PASS1_BITS);
333 CONST_BITS+PASS1_BITS);
335 CONST_BITS+PASS1_BITS);
337 CONST_BITS+PASS1_BITS);
361 * We remove the PASS1_BITS scaling, but leave the results scaled up
381 dataptr[DCTSIZE*0] = (DCTELEM) DESCALE(tmp10 + tmp11, PASS1_BITS);
382 dataptr[DCTSIZE*4] = (DCTELEM) DESCALE(tmp10 - tmp11, PASS1_BITS);
386 CONST_BITS+PASS1_BITS);
388 CONST_BITS+PASS1_BITS);
395 dataptr[DCTSIZE*1] = (DCTELEM) DESCALE(tmp10 + tmp11, PASS1_BITS);
396 dataptr[DCTSIZE*5] = (DCTELEM) DESCALE(tmp10 - tmp11, PASS1_BITS);
400 CONST_BITS+PASS1_BITS);
402 CONST_BITS+PASS1_BITS);