Home
last modified time | relevance | path

Searched refs:DESCALE (Results 1 – 8 of 8) sorted by relevance

/external/libjpeg-turbo/
Djfdctint.c180 dataptr[2] = (DCTELEM)DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865),
182 dataptr[6] = (DCTELEM)DESCALE(z1 + MULTIPLY(tmp12, -FIX_1_847759065),
208 dataptr[7] = (DCTELEM)DESCALE(tmp4 + z1 + z3, CONST_BITS - PASS1_BITS);
209 dataptr[5] = (DCTELEM)DESCALE(tmp5 + z2 + z4, CONST_BITS - PASS1_BITS);
210 dataptr[3] = (DCTELEM)DESCALE(tmp6 + z2 + z3, CONST_BITS - PASS1_BITS);
211 dataptr[1] = (DCTELEM)DESCALE(tmp7 + z1 + z4, CONST_BITS - PASS1_BITS);
241 dataptr[DCTSIZE * 0] = (DCTELEM)DESCALE(tmp10 + tmp11, PASS1_BITS);
242 dataptr[DCTSIZE * 4] = (DCTELEM)DESCALE(tmp10 - tmp11, PASS1_BITS);
246 (DCTELEM)DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865),
249 (DCTELEM)DESCALE(z1 + MULTIPLY(tmp12, -FIX_1_847759065),
[all …]
Djidctred.c193 (int)DESCALE(tmp10 + tmp2, CONST_BITS - PASS1_BITS + 1);
195 (int)DESCALE(tmp10 - tmp2, CONST_BITS - PASS1_BITS + 1);
197 (int)DESCALE(tmp12 + tmp0, CONST_BITS - PASS1_BITS + 1);
199 (int)DESCALE(tmp12 - tmp0, CONST_BITS - PASS1_BITS + 1);
213 JSAMPLE dcval = range_limit[(int)DESCALE((JLONG)wsptr[0],
255 outptr[0] = range_limit[(int)DESCALE(tmp10 + tmp2,
258 outptr[3] = range_limit[(int)DESCALE(tmp10 - tmp2,
261 outptr[1] = range_limit[(int)DESCALE(tmp12 + tmp0,
264 outptr[2] = range_limit[(int)DESCALE(tmp12 - tmp0,
333 (int)DESCALE(tmp10 + tmp0, CONST_BITS - PASS1_BITS + 2); in jpeg_idct_2x2()
[all …]
Djfdctfst.c100 #undef DESCALE
101 #define DESCALE(x, n) RIGHT_SHIFT(x, n) macro
109 #define MULTIPLY(var, const) ((DCTELEM)DESCALE((var) * (const), CONST_BITS))
Djidctfst.c113 #undef DESCALE
114 #define DESCALE(x, n) RIGHT_SHIFT(x, n) macro
122 #define MULTIPLY(var, const) ((DCTELEM)DESCALE((var) * (const), CONST_BITS))
135 DESCALE((coef) * (quantval), IFAST_SCALE_BITS - PASS1_BITS)
Djidctint.c284 wsptr[DCTSIZE * 0] = (int)DESCALE(tmp10 + tmp3, CONST_BITS - PASS1_BITS);
285 wsptr[DCTSIZE * 7] = (int)DESCALE(tmp10 - tmp3, CONST_BITS - PASS1_BITS);
286 wsptr[DCTSIZE * 1] = (int)DESCALE(tmp11 + tmp2, CONST_BITS - PASS1_BITS);
287 wsptr[DCTSIZE * 6] = (int)DESCALE(tmp11 - tmp2, CONST_BITS - PASS1_BITS);
288 wsptr[DCTSIZE * 2] = (int)DESCALE(tmp12 + tmp1, CONST_BITS - PASS1_BITS);
289 wsptr[DCTSIZE * 5] = (int)DESCALE(tmp12 - tmp1, CONST_BITS - PASS1_BITS);
290 wsptr[DCTSIZE * 3] = (int)DESCALE(tmp13 + tmp0, CONST_BITS - PASS1_BITS);
291 wsptr[DCTSIZE * 4] = (int)DESCALE(tmp13 - tmp0, CONST_BITS - PASS1_BITS);
317 JSAMPLE dcval = range_limit[(int)DESCALE((JLONG)wsptr[0],
386 outptr[0] = range_limit[(int)DESCALE(tmp10 + tmp3,
[all …]
Djdct.h178 #define DESCALE(x, n) RIGHT_SHIFT((x) + (ONE << ((n) - 1)), n) macro
Djddctmgr.c283 DESCALE(MULTIPLY16V16((JLONG)qtbl->quantval[i], in start_pass()
Djcdctmgr.c309 DESCALE(MULTIPLY16V16((JLONG)qtbl->quantval[i], in start_pass_fdctmgr()
316 DESCALE(MULTIPLY16V16((JLONG)qtbl->quantval[i], in start_pass_fdctmgr()