HomeSort by relevance Sort by last modified time
    Searched refs:DESCALE (Results 1 - 25 of 40) sorted by null

1 2

  /external/libjpeg-turbo/
jfdctint.c 179 dataptr[2] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865),
181 dataptr[6] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp12, - FIX_1_847759065),
207 dataptr[7] = (DCTELEM) DESCALE(tmp4 + z1 + z3, CONST_BITS-PASS1_BITS);
208 dataptr[5] = (DCTELEM) DESCALE(tmp5 + z2 + z4, CONST_BITS-PASS1_BITS);
209 dataptr[3] = (DCTELEM) DESCALE(tmp6 + z2 + z3, CONST_BITS-PASS1_BITS);
210 dataptr[1] = (DCTELEM) DESCALE(tmp7 + z1 + z4, CONST_BITS-PASS1_BITS);
240 dataptr[DCTSIZE*0] = (DCTELEM) DESCALE(tmp10 + tmp11, PASS1_BITS);
241 dataptr[DCTSIZE*4] = (DCTELEM) DESCALE(tmp10 - tmp11, PASS1_BITS);
244 dataptr[DCTSIZE*2] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865),
246 dataptr[DCTSIZE*6] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp12, - FIX_1_847759065)
    [all...]
jidctred.c 191 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp2, CONST_BITS-PASS1_BITS+1);
192 wsptr[DCTSIZE*3] = (int) DESCALE(tmp10 - tmp2, CONST_BITS-PASS1_BITS+1);
193 wsptr[DCTSIZE*1] = (int) DESCALE(tmp12 + tmp0, CONST_BITS-PASS1_BITS+1);
194 wsptr[DCTSIZE*2] = (int) DESCALE(tmp12 - tmp0, CONST_BITS-PASS1_BITS+1);
208 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3)
250 outptr[0] = range_limit[(int) DESCALE(tmp10 + tmp2,
253 outptr[3] = range_limit[(int) DESCALE(tmp10 - tmp2,
256 outptr[1] = range_limit[(int) DESCALE(tmp12 + tmp0,
259 outptr[2] = range_limit[(int) DESCALE(tmp12 - tmp0,
327 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp0, CONST_BITS-PASS1_BITS+2)
    [all...]
jfdctfst.c 51 * see jfdctint.c for more details. However, we choose to descale
97 #undef DESCALE
98 #define DESCALE(x,n) RIGHT_SHIFT(x, n)
103 * descale to yield a DCTELEM result.
106 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
jidctfst.c 53 * see jidctint.c for more details. However, we choose to descale
110 #undef DESCALE
111 #define DESCALE(x,n) RIGHT_SHIFT(x, n)
116 * descale to yield a DCTELEM result.
119 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
132 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS)
136 /* Like DESCALE, but applies to a DCTELEM and produces an int.
182 SHIFT_TEMPS /* for DESCALE */
278 /* Note that we must descale the results by a factor of 8 == 2**3, */
jdct.h 172 /* Descale and correctly round an INT32 value that's scaled by N bits.
177 #define DESCALE(x,n) RIGHT_SHIFT((x) + (ONE << ((n)-1)), n)
jddctmgr.c 282 DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i],
  /external/pdfium/third_party/libjpeg/
fpdfapi_jfdctint.c 177 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...]
fpdfapi_jidctint.c 258 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);
273 /* Note that we must descale the results by a factor of 8 == 2**3, */
291 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3
    [all...]
fpdfapi_jidctred.c 188 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)
    [all...]
fpdfapi_jfdctfst.c 51 * see jfdctint.c for more details. However, we choose to descale
97 #undef DESCALE
98 #define DESCALE(x,n) RIGHT_SHIFT(x, n)
103 * descale to yield a DCTELEM result.
106 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
fpdfapi_jidctfst.c 53 * see jidctint.c for more details. However, we choose to descale
110 #undef DESCALE
111 #define DESCALE(x,n) RIGHT_SHIFT(x, n)
116 * descale to yield a DCTELEM result.
119 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
132 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS)
136 /* Like DESCALE, but applies to a DCTELEM and produces an int.
182 SHIFT_TEMPS /* for DESCALE */
278 /* Note that we must descale the results by a factor of 8 == 2**3, */
jdct.h 141 /* Descale and correctly round an INT32 value that's scaled by N bits.
146 #define DESCALE(x,n) RIGHT_SHIFT((x) + (ONE << ((n)-1)), n)
  /external/opencv3/3rdparty/libjpeg/
jfdctint.c 200 /* Add fudge factor here for final descale. */
217 /* Add fudge factor here for final descale. */
260 /* Add fudge factor here for final descale. */
275 /* Add fudge factor here for final descale. */
292 /* Add fudge factor here for final descale. */
371 dataptr[2] = (DCTELEM) DESCALE(z1 + z2 + z3, CONST_BITS-PASS1_BITS);
375 DESCALE(z2 + z3 - MULTIPLY(tmp1 - tmp3, FIX(0.707106781)), /* c2+c6-c4 */
377 dataptr[6] = (DCTELEM) DESCALE(z1 + z2, CONST_BITS-PASS1_BITS);
391 dataptr[1] = (DCTELEM) DESCALE(tmp0, CONST_BITS-PASS1_BITS);
392 dataptr[3] = (DCTELEM) DESCALE(tmp1, CONST_BITS-PASS1_BITS)
    [all...]
jidctfst.c 53 * see jidctint.c for more details. However, we choose to descale
110 #undef DESCALE
111 #define DESCALE(x,n) RIGHT_SHIFT(x, n)
116 * descale to yield a DCTELEM result.
119 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
132 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS)
136 /* Like DESCALE, but applies to a DCTELEM and produces an int.
182 SHIFT_TEMPS /* for DESCALE */
278 /* Note that we must descale the results by a factor of 8 == 2**3, */
jfdctfst.c 52 * see jfdctint.c for more details. However, we choose to descale
98 #undef DESCALE
99 #define DESCALE(x,n) RIGHT_SHIFT(x, n)
104 * descale to yield a DCTELEM result.
107 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
  /external/opencv/cvaux/src/
cvhmmobs.cpp 102 #define DESCALE CV_DESCALE
107 #define DESCALE(x,n) (float)(x)
201 buf[0] = DESCALE( is * tab[-2], PASS1_SHIFT );
213 buf[0] = DESCALE( s, PASS1_SHIFT );
228 buf[0] = DESCALE( s, PASS1_SHIFT );
268 *obs++ = (float) DESCALE( s * tab[-2], PASS2_SHIFT );
281 obs[0] = (float) DESCALE( s, PASS2_SHIFT );
296 obs[0] = (float) DESCALE( s, PASS2_SHIFT );
398 buf[0] = DESCALE( is * tab[-2], PASS1_SHIFT );
410 buf[0] = DESCALE( s, PASS1_SHIFT )
    [all...]
  /external/libjpeg-turbo/simd/
jidctred-mmx.asm 54 %define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n))
55 F_0_211 equ DESCALE( 226735879,30-CONST_BITS) ; FIX(0.211164243)
56 F_0_509 equ DESCALE( 547388834,30-CONST_BITS) ; FIX(0.509795579)
57 F_0_601 equ DESCALE( 645689155,30-CONST_BITS) ; FIX(0.601344887)
58 F_0_720 equ DESCALE( 774124714,30-CONST_BITS) ; FIX(0.720959822)
59 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865)
60 F_0_850 equ DESCALE( 913142361,30-CONST_BITS) ; FIX(0.850430095)
61 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223)
62 F_1_061 equ DESCALE(1139878239,30-CONST_BITS) ; FIX(1.061594337)
63 F_1_272 equ DESCALE(1366614119,30-CONST_BITS) ; FIX(1.272758580
    [all...]
jidctred-sse2-64.asm 55 %define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n))
56 F_0_211 equ DESCALE( 226735879,30-CONST_BITS) ; FIX(0.211164243)
57 F_0_509 equ DESCALE( 547388834,30-CONST_BITS) ; FIX(0.509795579)
58 F_0_601 equ DESCALE( 645689155,30-CONST_BITS) ; FIX(0.601344887)
59 F_0_720 equ DESCALE( 774124714,30-CONST_BITS) ; FIX(0.720959822)
60 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865)
61 F_0_850 equ DESCALE( 913142361,30-CONST_BITS) ; FIX(0.850430095)
62 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223)
63 F_1_061 equ DESCALE(1139878239,30-CONST_BITS) ; FIX(1.061594337)
64 F_1_272 equ DESCALE(1366614119,30-CONST_BITS) ; FIX(1.272758580
    [all...]
jidctred-sse2.asm 54 %define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n))
55 F_0_211 equ DESCALE( 226735879,30-CONST_BITS) ; FIX(0.211164243)
56 F_0_509 equ DESCALE( 547388834,30-CONST_BITS) ; FIX(0.509795579)
57 F_0_601 equ DESCALE( 645689155,30-CONST_BITS) ; FIX(0.601344887)
58 F_0_720 equ DESCALE( 774124714,30-CONST_BITS) ; FIX(0.720959822)
59 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865)
60 F_0_850 equ DESCALE( 913142361,30-CONST_BITS) ; FIX(0.850430095)
61 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223)
62 F_1_061 equ DESCALE(1139878239,30-CONST_BITS) ; FIX(1.061594337)
63 F_1_272 equ DESCALE(1366614119,30-CONST_BITS) ; FIX(1.272758580
    [all...]
jfdctint-mmx.asm 50 %define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n))
51 F_0_298 equ DESCALE( 320652955,30-CONST_BITS) ; FIX(0.298631336)
52 F_0_390 equ DESCALE( 418953276,30-CONST_BITS) ; FIX(0.390180644)
53 F_0_541 equ DESCALE( 581104887,30-CONST_BITS) ; FIX(0.541196100)
54 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865)
55 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223)
56 F_1_175 equ DESCALE(1262586813,30-CONST_BITS) ; FIX(1.175875602)
57 F_1_501 equ DESCALE(1612031267,30-CONST_BITS) ; FIX(1.501321110)
58 F_1_847 equ DESCALE(1984016188,30-CONST_BITS) ; FIX(1.847759065)
59 F_1_961 equ DESCALE(2106220350,30-CONST_BITS) ; FIX(1.961570560
    [all...]
jfdctint-sse2-64.asm 51 %define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n))
52 F_0_298 equ DESCALE( 320652955,30-CONST_BITS) ; FIX(0.298631336)
53 F_0_390 equ DESCALE( 418953276,30-CONST_BITS) ; FIX(0.390180644)
54 F_0_541 equ DESCALE( 581104887,30-CONST_BITS) ; FIX(0.541196100)
55 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865)
56 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223)
57 F_1_175 equ DESCALE(1262586813,30-CONST_BITS) ; FIX(1.175875602)
58 F_1_501 equ DESCALE(1612031267,30-CONST_BITS) ; FIX(1.501321110)
59 F_1_847 equ DESCALE(1984016188,30-CONST_BITS) ; FIX(1.847759065)
60 F_1_961 equ DESCALE(2106220350,30-CONST_BITS) ; FIX(1.961570560
    [all...]
jfdctint-sse2.asm 50 %define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n))
51 F_0_298 equ DESCALE( 320652955,30-CONST_BITS) ; FIX(0.298631336)
52 F_0_390 equ DESCALE( 418953276,30-CONST_BITS) ; FIX(0.390180644)
53 F_0_541 equ DESCALE( 581104887,30-CONST_BITS) ; FIX(0.541196100)
54 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865)
55 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223)
56 F_1_175 equ DESCALE(1262586813,30-CONST_BITS) ; FIX(1.175875602)
57 F_1_501 equ DESCALE(1612031267,30-CONST_BITS) ; FIX(1.501321110)
58 F_1_847 equ DESCALE(1984016188,30-CONST_BITS) ; FIX(1.847759065)
59 F_1_961 equ DESCALE(2106220350,30-CONST_BITS) ; FIX(1.961570560
    [all...]
jidctint-mmx.asm 50 %define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n))
51 F_0_298 equ DESCALE( 320652955,30-CONST_BITS) ; FIX(0.298631336)
52 F_0_390 equ DESCALE( 418953276,30-CONST_BITS) ; FIX(0.390180644)
53 F_0_541 equ DESCALE( 581104887,30-CONST_BITS) ; FIX(0.541196100)
54 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865)
55 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223)
56 F_1_175 equ DESCALE(1262586813,30-CONST_BITS) ; FIX(1.175875602)
57 F_1_501 equ DESCALE(1612031267,30-CONST_BITS) ; FIX(1.501321110)
58 F_1_847 equ DESCALE(1984016188,30-CONST_BITS) ; FIX(1.847759065)
59 F_1_961 equ DESCALE(2106220350,30-CONST_BITS) ; FIX(1.961570560
    [all...]
jidctint-sse2-64.asm 51 %define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n))
52 F_0_298 equ DESCALE( 320652955,30-CONST_BITS) ; FIX(0.298631336)
53 F_0_390 equ DESCALE( 418953276,30-CONST_BITS) ; FIX(0.390180644)
54 F_0_541 equ DESCALE( 581104887,30-CONST_BITS) ; FIX(0.541196100)
55 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865)
56 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223)
57 F_1_175 equ DESCALE(1262586813,30-CONST_BITS) ; FIX(1.175875602)
58 F_1_501 equ DESCALE(1612031267,30-CONST_BITS) ; FIX(1.501321110)
59 F_1_847 equ DESCALE(1984016188,30-CONST_BITS) ; FIX(1.847759065)
60 F_1_961 equ DESCALE(2106220350,30-CONST_BITS) ; FIX(1.961570560
    [all...]
jidctint-sse2.asm 50 %define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n))
51 F_0_298 equ DESCALE( 320652955,30-CONST_BITS) ; FIX(0.298631336)
52 F_0_390 equ DESCALE( 418953276,30-CONST_BITS) ; FIX(0.390180644)
53 F_0_541 equ DESCALE( 581104887,30-CONST_BITS) ; FIX(0.541196100)
54 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865)
55 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223)
56 F_1_175 equ DESCALE(1262586813,30-CONST_BITS) ; FIX(1.175875602)
57 F_1_501 equ DESCALE(1612031267,30-CONST_BITS) ; FIX(1.501321110)
58 F_1_847 equ DESCALE(1984016188,30-CONST_BITS) ; FIX(1.847759065)
59 F_1_961 equ DESCALE(2106220350,30-CONST_BITS) ; FIX(1.961570560
    [all...]

Completed in 710 milliseconds

1 2