Home
last modified time | relevance | path

Searched refs:IDESCALE (Results 1 – 2 of 2) sorted by relevance

/external/jpeg/
Djidctfst.c157 #define IDESCALE(x,n) ((int) IRIGHT_SHIFT((x) + (1 << ((n)-1)), n)) macro
159 #define IDESCALE(x,n) ((int) IRIGHT_SHIFT(x, n))
296 JSAMPLE dcval = range_limit[IDESCALE(wsptr[0], PASS1_BITS+3)
347 outptr[0] = range_limit[IDESCALE(tmp0 + tmp7, PASS1_BITS+3)
349 outptr[7] = range_limit[IDESCALE(tmp0 - tmp7, PASS1_BITS+3)
351 outptr[1] = range_limit[IDESCALE(tmp1 + tmp6, PASS1_BITS+3)
353 outptr[6] = range_limit[IDESCALE(tmp1 - tmp6, PASS1_BITS+3)
355 outptr[2] = range_limit[IDESCALE(tmp2 + tmp5, PASS1_BITS+3)
357 outptr[5] = range_limit[IDESCALE(tmp2 - tmp5, PASS1_BITS+3)
359 outptr[4] = range_limit[IDESCALE(tmp3 + tmp4, PASS1_BITS+3)
[all …]
/external/qemu/distrib/jpeg-6b/
Djidctfst.c157 #define IDESCALE(x,n) ((int) IRIGHT_SHIFT((x) + (1 << ((n)-1)), n)) macro
159 #define IDESCALE(x,n) ((int) IRIGHT_SHIFT(x, n))
296 JSAMPLE dcval = range_limit[IDESCALE(wsptr[0], PASS1_BITS+3)
347 outptr[0] = range_limit[IDESCALE(tmp0 + tmp7, PASS1_BITS+3)
349 outptr[7] = range_limit[IDESCALE(tmp0 - tmp7, PASS1_BITS+3)
351 outptr[1] = range_limit[IDESCALE(tmp1 + tmp6, PASS1_BITS+3)
353 outptr[6] = range_limit[IDESCALE(tmp1 - tmp6, PASS1_BITS+3)
355 outptr[2] = range_limit[IDESCALE(tmp2 + tmp5, PASS1_BITS+3)
357 outptr[5] = range_limit[IDESCALE(tmp2 - tmp5, PASS1_BITS+3)
359 outptr[4] = range_limit[IDESCALE(tmp3 + tmp4, PASS1_BITS+3)
[all …]