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

  /external/jpeg/
mips_jidctfst.c 55 * see jidctint.c for more details. However, we choose to descale
112 #undef DESCALE
113 #define DESCALE(x,n) RIGHT_SHIFT(x, n)
118 * descale to yield a DCTELEM result.
121 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
134 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS)
138 /* Like DESCALE, but applies to a DCTELEM and produces an int.
201 /* Note that we must descale the results by a factor of 8 == 2**3, */
jdct.h 145 /* Descale and correctly round an INT32 value that's scaled by N bits.
150 #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/core/src/fxcodec/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 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))
fpdfapi_jidctfst.c 54 * see jidctint.c for more details. However, we choose to descale
111 #undef DESCALE
112 #define DESCALE(x,n) RIGHT_SHIFT(x, n)
117 * descale to yield a DCTELEM result.
120 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
133 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS)
137 /* Like DESCALE, but applies to a DCTELEM and produces an int.
183 SHIFT_TEMPS /* for DESCALE */
279 /* Note that we must descale the results by a factor of 8 == 2**3, */
  /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...]

Completed in 262 milliseconds