HomeSort by relevance Sort by last modified time
    Searched defs:DESCALE (Results 1 - 11 of 11) sorted by null

  /external/libjpeg-turbo/
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)
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, */
  /external/pdfium/third_party/libjpeg/
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)
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, */
  /external/opencv3/3rdparty/libjpeg/
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))
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 358 /* Descale and correctly round an INT32 value that's scaled by N bits.
363 #define DESCALE(x,n) RIGHT_SHIFT((x) + (ONE << ((n)-1)), n)
  /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/libgdx/gdx/jni/gdx2d/
jpgd.cpp 68 #define DESCALE(x,n) (((x) + (SCALEDONE << ((n)-1))) >> (n))
112 pTemp[0] = DESCALE(tmp10 + btmp3, CONST_BITS-PASS1_BITS);
113 pTemp[7] = DESCALE(tmp10 - btmp3, CONST_BITS-PASS1_BITS);
114 pTemp[1] = DESCALE(tmp11 + btmp2, CONST_BITS-PASS1_BITS);
115 pTemp[6] = DESCALE(tmp11 - btmp2, CONST_BITS-PASS1_BITS);
116 pTemp[2] = DESCALE(tmp12 + btmp1, CONST_BITS-PASS1_BITS);
117 pTemp[5] = DESCALE(tmp12 - btmp1, CONST_BITS-PASS1_BITS);
118 pTemp[3] = DESCALE(tmp13 + btmp0, CONST_BITS-PASS1_BITS);
119 pTemp[4] = DESCALE(tmp13 - btmp0, CONST_BITS-PASS1_BITS);
    [all...]

Completed in 428 milliseconds