Home
last modified time | relevance | path

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

/external/jpeg/
Djidctint.c258 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp3, CONST_BITS-PASS1_BITS);
259 wsptr[DCTSIZE*7] = (int) DESCALE(tmp10 - tmp3, CONST_BITS-PASS1_BITS);
260 wsptr[DCTSIZE*1] = (int) DESCALE(tmp11 + tmp2, CONST_BITS-PASS1_BITS);
261 wsptr[DCTSIZE*6] = (int) DESCALE(tmp11 - tmp2, CONST_BITS-PASS1_BITS);
262 wsptr[DCTSIZE*2] = (int) DESCALE(tmp12 + tmp1, CONST_BITS-PASS1_BITS);
263 wsptr[DCTSIZE*5] = (int) DESCALE(tmp12 - tmp1, CONST_BITS-PASS1_BITS);
264 wsptr[DCTSIZE*3] = (int) DESCALE(tmp13 + tmp0, CONST_BITS-PASS1_BITS);
265 wsptr[DCTSIZE*4] = (int) DESCALE(tmp13 - tmp0, CONST_BITS-PASS1_BITS);
291 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3)
360 outptr[0] = range_limit[(int) DESCALE(tmp10 + tmp3,
[all …]
Djfdctint.c177 dataptr[2] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865),
179 dataptr[6] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp12, - FIX_1_847759065),
205 dataptr[7] = (DCTELEM) DESCALE(tmp4 + z1 + z3, CONST_BITS-PASS1_BITS);
206 dataptr[5] = (DCTELEM) DESCALE(tmp5 + z2 + z4, CONST_BITS-PASS1_BITS);
207 dataptr[3] = (DCTELEM) DESCALE(tmp6 + z2 + z3, CONST_BITS-PASS1_BITS);
208 dataptr[1] = (DCTELEM) DESCALE(tmp7 + z1 + z4, CONST_BITS-PASS1_BITS);
238 dataptr[DCTSIZE*0] = (DCTELEM) DESCALE(tmp10 + tmp11, PASS1_BITS);
239 dataptr[DCTSIZE*4] = (DCTELEM) DESCALE(tmp10 - tmp11, PASS1_BITS);
242 dataptr[DCTSIZE*2] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865),
244 dataptr[DCTSIZE*6] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp12, - FIX_1_847759065),
[all …]
Djidctred.c188 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp2, CONST_BITS-PASS1_BITS+1);
189 wsptr[DCTSIZE*3] = (int) DESCALE(tmp10 - tmp2, CONST_BITS-PASS1_BITS+1);
190 wsptr[DCTSIZE*1] = (int) DESCALE(tmp12 + tmp0, CONST_BITS-PASS1_BITS+1);
191 wsptr[DCTSIZE*2] = (int) DESCALE(tmp12 - tmp0, CONST_BITS-PASS1_BITS+1);
205 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3)
247 outptr[0] = range_limit[(int) DESCALE(tmp10 + tmp2,
250 outptr[3] = range_limit[(int) DESCALE(tmp10 - tmp2,
253 outptr[1] = range_limit[(int) DESCALE(tmp12 + tmp0,
256 outptr[2] = range_limit[(int) DESCALE(tmp12 - tmp0,
323 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp0, CONST_BITS-PASS1_BITS+2); in jpeg_idct_2x2()
[all …]
Djidctflt.c221 outptr[0] = range_limit[(int) DESCALE((INT32) (tmp0 + tmp7), 3)
223 outptr[7] = range_limit[(int) DESCALE((INT32) (tmp0 - tmp7), 3)
225 outptr[1] = range_limit[(int) DESCALE((INT32) (tmp1 + tmp6), 3)
227 outptr[6] = range_limit[(int) DESCALE((INT32) (tmp1 - tmp6), 3)
229 outptr[2] = range_limit[(int) DESCALE((INT32) (tmp2 + tmp5), 3)
231 outptr[5] = range_limit[(int) DESCALE((INT32) (tmp2 - tmp5), 3)
233 outptr[4] = range_limit[(int) DESCALE((INT32) (tmp3 + tmp4), 3)
235 outptr[3] = range_limit[(int) DESCALE((INT32) (tmp3 - tmp4), 3)
Djfdctfst.c97 #undef DESCALE
98 #define DESCALE(x,n) RIGHT_SHIFT(x, n) macro
106 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
Djidctfst.c110 #undef DESCALE
111 #define DESCALE(x,n) RIGHT_SHIFT(x, n) macro
119 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
132 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS)
Djdct.h146 #define DESCALE(x,n) RIGHT_SHIFT((x) + (ONE << ((n)-1)), n) macro
Djddctmgr.c258 DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i], in start_pass()
Djcdctmgr.c120 DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i], in start_pass_fdctmgr()