/frameworks/base/media/libstagefright/codecs/amrnb/common/include/ |
cnst_vad.h | 95 #define VAD_POW_LOW (Word32)15000 /* If input power is lower, */ 97 #define POW_PITCH_THR (Word32)343040 /* If input power is lower, pitch */ 100 #define POW_COMPLEX_THR (Word32)15000 /* If input power is lower, complex */
|
norm_l.h | 107 Word16 norm_l(Word32 L_var1); 111 __inline Word16 norm_l(Word32 L_var1) 113 register Word32 var_out = 0; 127 static inline Word16 norm_l(Word32 L_var1) 129 register Word32 var_out = 0; 130 register Word32 ra = L_var1;
|
typedef.h | 58 typedef int Word32;
|
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
pred_lt.cpp | 65 Added proper casting (Word32) to some left shifting operations 195 Word32 s; 277 Word32 s1; 278 Word32 s2; 332 s2 += ((Word32) * (pX3--)) * *(pC1); 333 s1 += ((Word32) * (pX3)) * *(pC1++); 334 s1 += ((Word32) * (pX2++)) * *(pC1); 335 s2 += ((Word32) * (pX2)) * *(pC1++); 336 s2 += ((Word32) * (pX3--)) * *(pC1); 337 s1 += ((Word32) * (pX3)) * *(pC1++) [all...] |
sqrt_l.cpp | 90 L_x = input value (Word32) 98 L_y = squareroot of L_x (Word32) 137 Word32 sqrt_l_exp ( // o : output value 138 Word32 L_x, // i : input value 154 Word32 L_y; 156 if (L_x <= (Word32) 0) 159 return (Word32) 0; 210 Word32 sqrt_l_exp( /* o : output value, Q31 */ 211 Word32 L_x, /* i : input value, Q31 */ 221 Word32 L_y [all...] |
div_s.cpp | 104 Word32 L_num; 105 Word32 L_denom; 122 L_num = (Word32) var1; 123 L_denom = (Word32) var2; 217 Word32 L_num; 218 Word32 L_denom; 219 Word32 L_denom_by_2; 220 Word32 L_denom_by_4; 234 L_num = (Word32) var1; 235 L_denom = (Word32) var2 [all...] |
l_shr_r.cpp | 84 L_var1 = 32 bit long signed integer (Word32 ) whose value falls 95 result = Shifted result w/ rounding (Word32) 135 Word32 L_shr_r (Word32 L_var1, Word16 var2) 137 Word32 L_var_out; 155 if ((L_var1 & ((Word32) 1 << (var2 - 1))) != 0) 193 Word32 L_shr_r(register Word32 L_var1, register Word16 var2, Flag *pOverflow) 195 Word32 result; 207 if ((L_var1 & ((Word32) 1 << (var2 - 1))) != 0 [all...] |
log2_norm.cpp | 91 L_x = normalized input value of type Word32 138 Word32 L_x, // (i) : input value (normalized) 145 Word32 L_y; 147 if (L_x <= (Word32) 0) 197 Word32 L_x, /* (i) : input value (normalized) */ 204 Word32 L_y; 206 if (L_x <= (Word32) 0) 230 L_y = (Word32) log2_tbl[i] << 16; /* table[i] << 16 */ 232 L_y -= (((Word32) tmp) * a) << 1; /* L_y -= tmp*a*2 */
|
l_abs.cpp | 47 L_var1 = 32 bit long signed integer (Word32 ) whose value falls 57 L_var1 = absolute value of input (Word32) 87 Word32 L_abs (Word32 L_var1) 89 Word32 L_var_out; 179 Word32 L_abs(register Word32 L_var1) 189 Word32 y = L_var1 - (L_var1 < 0);
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/inc/ |
typedefs.h | 35 * Word32 32-bit signed minWord32, maxWord32 121 typedef int Word32; 128 typedef long Word32;
|
wb_vad_c.h | 96 #define VAD_POW_LOW (Word32)30000L /* If input power is lower than this, VAD is set to 0 */ 97 #define POW_TONE_THR (Word32)686080L /* If input power is lower,tone detection flag is ignored */
|
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
cor_h_x.cpp | 189 Word32 s, y32[L_CODE], max, tot; 207 if (L_sub (s, max) > (Word32) 0L) 256 Word32 s; 257 Word32 y32[L_CODE]; 258 Word32 max; 259 Word32 tot; 263 Word32 *p_y32; 278 s += ((Word32) * (p_x++) * *(p_ptr++)) << 1; 279 s += ((Word32) * (p_x++) * *(p_ptr++)) << 1; 282 s += ((Word32) * (p_x++) * *(p_ptr++)) << 1 [all...] |
inter_36.cpp | 145 Word32 s; 207 Word32 s; 235 s = amrnb_fxp_mac_16_by_16bb((Word32) * (pX1--), (Word32) pC1[k], s); 236 s = amrnb_fxp_mac_16_by_16bb((Word32) * (pX2++), (Word32) pC2[k], s); 238 s = amrnb_fxp_mac_16_by_16bb((Word32) * (pX1--), (Word32) pC1[k], s); 239 s = amrnb_fxp_mac_16_by_16bb((Word32) * (pX2++), (Word32) pC2[k], s) [all...] |
c2_11pf.cpp | 428 Word32 s; 429 Word32 alp0; 430 Word32 alp1; 463 alp0 = (Word32) rr[i0][i0] << 14; 489 alp1 = alp0 + ((Word32) rr[i1][i1] << 14); 493 alp1 += (Word32) rr[i0][i1] << 15; 496 sq1 = (Word16)(((Word32) ps1 * ps1) >> 15); 499 alp_16 = (Word16)((alp1 + (Word32) 0x00008000L) >> 16); 502 s = ((Word32) alp * sq1) << 1; 505 s -= (((Word32) sq * alp_16) << 1) [all...] |
cor_h_x2.cpp | 173 Word32 s, y32[L_CODE], max, tot; 191 if (L_sub (s, max) > (Word32) 0L) 242 Word32 s; 243 Word32 y32[L_CODE]; 244 Word32 max; 245 Word32 tot; 259 s = amrnb_fxp_mac_16_by_16bb((Word32)x[j], (Word32)h[j-i], s);
|
spstproc.cpp | 195 Word32 L_temp; 196 Word32 L_temp2; 263 L_temp = ((Word32) * (p_exc++) * pitch_fac) << 1; 264 L_temp2 = ((Word32) * (p_exc--) * pitch_fac) << 1; 265 L_temp += ((Word32) * (p_code++) * gain_code) << 1; 266 L_temp2 += ((Word32) * (p_code++) * gain_code) << 1; 304 L_temp = ((Word32)y1[i] * gain_pit); 307 L_temp = ((Word32)y2[i] * gain_code);
|
/frameworks/base/media/libstagefright/codecs/aacenc/inc/ |
bitbuffer.h | 79 Word32 writeValue,
|
/frameworks/base/media/libstagefright/codecs/aacenc/src/ |
channel_map.c | 89 Word32 bitrateTot,
|
transform.c | 396 Word32 i; 459 Word32 *realOut, 464 Word32 i,w; 465 Word32 timeSignalSample; 466 Word32 ws1,ws2; 468 Word32 *outData0, *outData1; 469 Word32 *winPtr; 471 Word32 delayBufferSf,timeSignalSf,minSf; 472 Word32 headRoom=0;
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
Dot_p_opt.s | 17 @Word32 Dot_product12( /* (o) Q31: normalized result (1 < val <= -1) */
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
levinson.c | 115 Word32 i, j; 121 Word32 t0, t1, t2; /* temporary variable */ 147 t0 = vo_L_sub((Word32) 0x7fffffffL, t0); /* 1 - K*K in Q31 */ 217 t0 = vo_L_sub((Word32) 0x7fffffffL, t0); /* 1 - K*K in Q31 */
|
residu.c | 36 Word32 s;
|
voicefac.c | 38 Word32 i, L_tmp;
|
decim54.c | 96 Word32 i, j, frac, pos; 98 Word32 L_sum;
|
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/ |
pstfilt.cpp | 73 Added proper casting (Word32) to some left shifting operations 330 Word32 L_tmp; 457 Word32 L_tmp; 458 Word32 L_tmp2; 503 L_tmp2 = ((Word32) h[i]) * h[i]; 505 if (L_tmp2 != (Word32) 0x40000000L) 524 L_tmp2 = ((Word32) h[i]) * h[i + 1]; 526 if (L_tmp2 != (Word32) 0x40000000L) 547 L_tmp = (((Word32) temp2) * MU) >> 15; 550 if (L_tmp & (Word32) 0x00010000L [all...] |