/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
calc_en.cpp | 158 Word16 i, exp, tmp; 175 exp = norm_l(s); 176 frac_en[0] = extract_h(L_shl(s, exp)); 177 exp_en[0] = sub(15, exp); 185 exp = norm_l(s); 186 frac_en[1] = extract_h(L_shl(s, exp)); 187 exp_en[1] = sub(15, exp); 194 exp = norm_l(s); 195 frac_en[2] = extract_h(L_shl(s, exp)); 196 exp_en[2] = sub(16-14, exp); 284 Word16 exp; \/* nunmber of '0's or '1's before MSB != 0 *\/ local 612 Word16 exp; \/* number of '0's or '1's before MSB != 0 *\/ local 802 Word16 exp; local [all...] |
qgain475.cpp | 410 Word16 g_code, exp, frac, tmp; 439 Log2 (L_deposit_l (g_code), &exp, &frac); // Log2(x Q12) = log2(x) + 12 440 exp = sub(exp, 12); 443 qua_ener_MR122 = add (tmp, shl (exp, 10)); 445 L_tmp = Mpy_32_16(exp, frac, 24660); // 24660 Q12 ~= 6.0206 = 20*log10(2) 485 Word16 exp; local 519 Log2((Word32) g_code, &exp, &frac, pOverflow); 520 exp -= 12; 523 qua_ener_MR122 = exp << 10 703 Word16 exp; local 1185 Word16 exp; local 1258 sf1_frac_target_en >>= exp; local [all...] |
/frameworks/base/media/libstagefright/codecs/amrwbenc/inc/ |
math_op.h | 33 Word16 * exp /* (i/o) : exponent (value = frac x 2^exponent) */
45 Word16 * exp /* (o) : exponent of result (0..+30) */
52 Word16 * exp /* (o) : exponent of result (0..+30) */
|
log2.h | 55 Word16 exp, /* (i) : norm_l (L_x) */
|
/bionic/libm/arm/ |
_fpmath.h | 26 * $FreeBSD: src/lib/libc/arm/_fpmath.h,v 1.4 2005/03/20 00:53:52 cognet Exp $ 35 unsigned int exp :11; member in struct:IEEEl2bits::__anon547 39 unsigned int exp :11;
|
/bionic/libm/sh/ |
_fpmath.h | 39 unsigned int exp :11; member in struct:IEEEl2bits::__anon558 43 unsigned int exp :11;
|
/frameworks/base/media/libstagefright/codecs/aacdec/ |
fwd_short_complex_rot.cpp | 35 (2) Eliminated hardly used condition on if-else (exp==0) 48 Data_out = Output vector with a post-rotation by exp(-j(2pi/N)(k+1/8)), 64 exp = shift factor to reflect signal scaling 85 exp(-j(2pi/N)(k+1/8)), digit reverse ordering and word normalization 168 Int exp; local 189 exp = 16 - pv_normalize(max); 191 if (exp < 0) 193 exp = 0; 221 * cos_n + j*sin_n == exp(j(2pi/N)(k+1/8)) 233 temp_re = *(pData_in_1++) >> exp; [all...] |
fwd_long_complex_rot.cpp | 37 (2) Eliminated hardly used condition on if-else (exp==0) 50 Data_out = Output vector with a post-rotation by exp(-j(2pi/N)(k+1/8)), 66 exp = shift factor to reflect signal scaling 89 exp(-j(2pi/N)(k+1/8)), digit reverse ordering and normalization 184 Int exp; local 206 exp = 16 - pv_normalize(max); 208 if (exp < 0) 210 exp = 0; 225 * cos_n + j*sin_n == exp(j(2pi/N)(k+1/8)) 235 temp_re = *(pData_in_1++) >> exp; [all...] |
pv_sqrt.h | 67 void pv_sqrt(Int32 man, Int32 exp, Root_sq *result, Int32 *sqrt_cache);
|
fft_rx4_short.cpp | 29 for exp. 226 Int exp; local 232 exp = 0; 236 exp = 8 - pv_normalize(max); /* use 24 bits */ 238 exponent = exp; /* keeps track of # of shifts */ 257 exp -= 2; 282 *(pData1++) = (r1 + t1) >> exp; 283 *(pData2++) = (r1 - t1) >> exp; 301 *pData1 = (s1 + t1) >> exp; 302 *pData2 = (s1 - t1) >> exp; [all...] |
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
voice_factor.cpp | 127 int16 i, tmp, exp, ener1, exp1, ener2, exp2; local 133 exp = normalize_amr_wb(L_tmp); 135 tmp = (int16)((L_tmp << exp) >> 16); 137 exp1 -= (exp + 10); /* 10 -> gain_pit Q14 to Q9 */ 141 exp = norm_s(gain_code); 142 tmp = shl_int16(gain_code, exp); 145 exp2 -= (exp << 1);
|
pvamrwb_math_op.cpp | 52 int32 frac, int16 exp : L_32 = frac << exp-31 (normalised format) 281 int16 exp; local 284 exp = normalize_amr_wb(L_x); 285 L_x <<= exp; /* L_x is normalized */ local 286 exp = 31 - exp; 288 one_ov_sqrt_norm(&L_x, &exp); 290 L_y = shl_int32(L_x, exp); /* denormalization */ 300 if value is negative or zero, result is 1 (frac=7fffffff, exp=0) 389 int16 exp, i, a, tmp; local 544 int16 exp; local 547 Lg2_normalized(shl_int32(L_x, exp), exp, exponent, fraction); local [all...] |
/bionic/libm/src/ |
s_isnan.c | 26 * $FreeBSD: src/lib/msun/src/s_isnan.c,v 1.8 2004/08/05 01:46:11 das Exp $ 41 return (u.bits.exp == 2047 && (u.bits.manl != 0 || u.bits.manh != 0)); 51 return (u.bits.exp == 255 && u.bits.man != 0); 61 return (u.bits.exp == 32767 && (u.bits.manl != 0 || u.bits.manh != 0));
|
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
pow2.cpp | 130 Word16 exp, i, a, tmp; 143 exp = sub (30, exponent); 144 L_x = L_shr_r (L_x, exp); 182 Word16 exp, i, a, tmp; local 198 exp = sub(30, exponent, pOverflow); 199 L_x = L_shr_r(L_x, exp, pOverflow);
|
/libcore/luni/src/main/native/ |
NetFd.h | 58 #define NET_FAILURE_RETRY(fd, exp) ({ \ 59 typeof (exp) _rc; \ 61 _rc = (exp); \
|
/bionic/libm/ |
isinf.c | 44 return (u.bits.exp == 2047 && u.bits.manl == 0 && u.bits.manh == 0); 53 return (u.bits.exp == 255 && u.bits.man == 0); 64 return (u.bits.exp == 32767 && u.bits.manl == 0 && u.bits.manh == 0); 66 return (u.bits.exp == 2047 && u.bits.manl == 0 && u.bits.manh == 0);
|
fpclassify.c | 27 * $FreeBSD: src/lib/libc/gen/fpclassify.c,v 1.2 2005/02/06 03:23:31 das Exp $ 43 if (u.bits.exp == 0) { 48 if (u.bits.exp == 255) { 62 if (u.bits.exp == 0) { 67 if (u.bits.exp == 2047) { 81 if (u.bits.exp == 0) { 87 if (u.bits.exp == 32767) {
|
/frameworks/base/media/libstagefright/codecs/amrnb/common/include/ |
log2_norm.h | 107 Word16 exp, /* (i) : norm_l (L_x) */
|
/external/e2fsprogs/intl/ |
plural.c | 54 #include "plural-exp.h" 70 struct expression *exp; member in union:__anon3505 228 "start", "exp", 0 1010 if (yyvsp[0].exp == NULL) 1012 ((struct parse_args *) arg)->res = yyvsp[0].exp; 1018 yyval.exp = new_exp_3 (qmop, yyvsp[-4].exp, yyvsp[-2].exp, yyvsp[0].exp); 1024 yyval.exp = new_exp_2 (lor, yyvsp[-2].exp, yyvsp[0].exp) 1346 const char *exp = *pexp; local [all...] |
/frameworks/base/media/libeffects/testlibs/ |
EffectsMath.c | 49 int32_t exp = 31 - __builtin_clz(x); local 50 uint32_t segStart = x >> (exp - 6); 54 segStart <<= exp - 6; 56 return (exp << 15) + log + (((x - segStart) * (logEnd - log)) >> (exp - 6)); 87 uint32_t exp = gExpTab[j]; local 90 return ((exp << 9) + (expEnd - exp) * x) >> (31 - i);
|
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/ |
dec_gain.cpp | 195 Word16 exp; local 242 Log2(temp1, &exp, &frac, pOverflow); 243 exp = sub(exp, 12, pOverflow); 246 temp2 = shl(exp, 10, pOverflow); 250 L_tmp = Mpy_32_16(exp, frac, 24660, pOverflow); 270 * = 2^exp + 2^frac * 272 * gcode0 (Q14) = 2^14*2^frac = gc0 * 2^(14-exp) * 275 gc_pred(pred_state, mode, code, &exp, &frac, NULL, NULL, pOverflow); 289 temp1 = sub(10, exp, pOverflow) [all...] |
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
voicefac.c | 37 Word16 tmp, exp, ener1, exp1, ener2, exp2;
local 47 exp = norm_l(L_tmp);
48 tmp = extract_h(L_tmp << exp);
50 exp1 = exp1 - exp - 10; /* 10 -> gain_pit Q14 to Q9 */
58 exp = norm_s(gain_code);
59 tmp = gain_code << exp;
62 exp2 = exp2 - (exp + exp);
|
/external/webkit/WebCore/css/ |
MediaQuery.cpp | 60 MediaQueryExp* exp = m_expressions->at(i); local 62 if (!(*exp == *oexp)) 85 MediaQueryExp* exp = m_expressions->at(i); local 87 text += exp->mediaFeature(); 88 if (exp->value()) { 90 text += exp->value()->cssText();
|
/external/libgsm/src/ |
rpe.c | 7 /* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/rpe.c,v 1.3 1994/05/10 20:18:46 jutta Exp $ */ 228 word exp, mant; local 233 exp = 0; 234 if (xmaxc > 15) exp = SASR(xmaxc, 3) - 1; 235 mant = xmaxc - (exp << 3); 238 exp = -4; 244 exp--; 249 assert( exp >= -4 && exp <= 6 ); 252 *exp_out = exp; 268 word exp, mant; local 460 word mant, exp; local 481 word exp, mant; local [all...] |
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
scale_sig_opt.s | 20 @ Word16 exp /* (i) : exponent: x = round(x << exp) */
25 @r2 --- exp
34 CMP r2, #0 @Compare exp and 0
35 RSB r7, r2, #0 @exp = -exp
36 ADD r10, r2, #16 @16 + exp
59 MOV r5, r6, ASR r7 @L_tmp >>= exp
|