/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
p_med_ol.c | 42 Word32 i, j, max, R0, R1, R2; 238 Word32 i;
|
hp6k.c | 60 Word32 i, L_tmp;
|
qisf_ns.c | 42 Word32 tmp;
|
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/ |
post_pro.cpp | 292 Word32 L_tmp; 352 Word32 L_tmp; 372 L_tmp = ((Word32) st->y1_hi) * c_a1; 373 L_tmp += (((Word32) st->y1_lo) * c_a1) >> 15; 374 L_tmp += ((Word32) st->y2_hi) * c_a2; 375 L_tmp += (((Word32) st->y2_lo) * c_a2) >> 15; 376 L_tmp += ((Word32) st->x0) * c_b0; 377 L_tmp += ((Word32) st->x1) * c_b1; 378 L_tmp += ((Word32) x2) * c_b2; 390 st->y1_lo = (Word16)((L_tmp >> 1) - ((Word32) st->y1_hi << 15)) [all...] |
bgnscd.cpp | 243 Word32 s; 250 s = (Word32) 0; 412 Word32 s, L_temp; 419 s = (Word32) 0; 423 L_temp = ((Word32) speech[i]) * speech[i]; 424 if (L_temp != (Word32) 0x40000000L) 436 if (s > (Word32)0x1fffffffL) 455 L_temp = (Word32)frameEnergyMin << 4; 456 if (L_temp != (Word32)((Word16) L_temp))
|
dtx_dec.cpp | 403 Word32 L_log_en_int; 417 Word32 L_lsf_mean; 426 Word32 L_lsf[M]; 858 Word32 L_log_en_int; 873 Word32 L_lsf_mean; 882 Word32 L_lsf[M]; 886 Word32 L_temp; 1054 L_temp = ((Word32) tmp_int_length) << 10; 1055 if (L_temp != (Word32)((Word16) L_temp)) 1058 L_temp = (Word32)((tmp_int_length > 0) ? MAX_16 : MIN_16) [all...] |
ph_disp.cpp | 78 Added proper casting (Word32) to some left shifting operations 455 Word32 L_temp; 672 Word32 L_temp; 673 Word32 L_temp2; 722 L_temp = ((Word32) state->prevCbGain * ONFACTPLUS1) << 1; 725 if (L_temp > (Word32) 0X1fffffffL) 730 else if (L_temp < (Word32) 0xe0000000L) 859 L_temp = ((Word32) c_inno_sav * *(p_ph_imp++)) >> 15; 870 L_temp = ((Word32) c_inno_sav * *(p_ph_imp++)) >> 15; 889 L_temp2 = ((Word32) * (p_inno++) * cbGain) << 1 [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
p_ol_wgh.cpp | 45 Description: t0 was not being declared as Word32. 414 corr = pointer to buffer of correlation values (Word32) 422 rmax = pointer to max(<s[i]*s[j]>), (Word32) 423 r0 = pointer to the residual energy (Word32) 468 Word32 corr[], // i : correlation vector. 482 Word32 max, t0; 486 Word32 t1; 573 Word32 corr[], /* i : correlation vector. */ 590 Word32 max; 591 Word32 t0 [all...] |
pre_proc.cpp | 485 Word32 L_tmp; 548 Word32 L_tmp; 561 L_tmp = ((Word32) st->y1_hi) * 7807; 562 L_tmp += (Word32)(((Word32) st->y1_lo * 7807) >> 15); 564 L_tmp += ((Word32) st->y2_hi) * (-3733); 566 L_tmp += (Word32)(((Word32) st->y2_lo * (-3733)) >> 15); 569 L_tmp += ((Word32) x_n_2) * 1899; 571 L_tmp += ((Word32) x_n_1) * (-3798) [all...] |
calc_cor.h | 80 Word32 corr[] /* o : correlation of selected lag */
|
l_negate.cpp | 34 L_var1 = 32 bit long signed integer (Word32) whose value falls 74 Word32 L_negate (Word32 L_var1) 76 Word32 L_var_out; 150 Word32 L_negate(register Word32 L_var1)
|
qgain475.cpp | 411 Word32 L_tmp; 488 Word32 L_tmp; 505 L_tmp = ((Word32) g_code * gcode0) << 1; 519 Log2((Word32) g_code, &exp, &frac, pOverflow); 531 qua_ener = (Word16)((L_tmp + (Word32) 0x00008000L) >> 16); 597 Word32 L_tmp; 707 Word32 L_tmp; 754 Log2((Word32) frac, &exp, &frac, pOverflow); [all...] |
dtx_enc.cpp | 133 extern Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow); 544 Word32 L_lsp[M]; 680 Word32 L_lsp[M]; 711 (Word32)(st->lsp_hist[i * M + j]), 779 log_en = (Word16)(((Word32) st->log_en_index) << (-2 + 10)); 799 log_en = (Word16)(((Word32)(5443 * log_en)) >> 15); 879 Word32 L_frame_en; 947 Word32 L_frame_en [all...] |
c8_31pf.cpp | 219 Word32 s; 245 cod[i] = (Word16)((Word32) cod[i] + POS_CODE); 252 cod[i] = (Word16)((Word32) cod[i] - NEG_CODE); 447 Word32 tempWord32; 455 tempWord32 = ((Word32) ib * 5) << 1; 463 tempWord32 = ((Word32) ic * 25) << 1; 579 Word32 tempWord32; 627 tempWord32 = ((Word32) ib * 5) << 1; 639 ic = (Word16)(((Word32) ib * 1311) >> 15);
|
/frameworks/base/media/libstagefright/codecs/aacenc/basic_op/ |
typedefs.h | 80 typedef long Word32;
|
/frameworks/base/media/libstagefright/codecs/amrnb/common/include/ |
mac_32.h | 105 static inline Word32 Mac_32(Word32 L_var3, 125 static inline Word32 Mac_32_16(Word32 L_var3,
|
norm_s.h | 112 register Word32 var_out = 0; 113 Word32 var1 = var << 16; 129 register Word32 var_out = 0; 130 register Word32 ra = var1 << 16;
|
vad2.h | 161 Word32 Lframe_cnt; 162 Word32 Lch_enrg[NUM_CHAN]; /* scaled as 22,9 or 27,4 */ 163 Word32 Lch_noise[NUM_CHAN]; /* scaled as 22,9 */ 176 Word32 L_R0; 177 Word32 L_Rmax;
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/inc/ |
wb_vad.h | 61 Word32 prev_pow_sum; /* power of previous frame */
|
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
add.cpp | 135 Word32 sum; 137 sum = (Word32) var1 + var2; 181 Word32 sum; 182 sum = (Word32) var1 + var2; 193 else if (sum < (Word32) 0xffff8000L) 199 /* Return the sum as a 16 bit value by type casting Word32 to Word16 */
|
l_deposit_h.cpp | 57 var1 = deposit of var1 into MSWord of 32 bit value (Word32) 87 Word32 L_deposit_h (Word16 var1) 89 Word32 L_var_out; 91 L_var_out = (Word32) var1 << 16; 163 Word32 L_deposit_h(Word16 var1) 176 return ((Word32) var1 << 16);
|
l_deposit_l.cpp | 57 var1 = deposit of var1 into LSWord of 32 bit value (Word32) 87 Word32 L_deposit_l (Word16 var1) 89 Word32 L_var_out; 91 L_var_out = (Word32) var1; 163 Word32 L_deposit_l(Word16 var1) 176 return ((Word32) var1);
|
norm_l.cpp | 58 L_var1 = 32 bit long signed integer (Word32) whose value falls 101 Word16 norm_l (Word32 L_var1) 111 if (L_var1 == (Word32) 0xffffffffL) 121 for (var_out = 0; L_var1 < (Word32) 0x40000000L; var_out++) 200 Word16 norm_l(register Word32 L_var1) 214 Word32 y = L_var1 - (L_var1 < 0);
|
round.cpp | 101 L_var1 = 32 bit signed integer (Word32) whose value falls 140 Word16 pv_round (Word32 L_var1) 143 Word32 L_rounded; 149 L_rounded = L_add (L_var1, (Word32) 0x00008000L); 187 Word16 pv_round(register Word32 L_var1, Flag *pOverflow) 191 L_var1 = L_add(L_var1, (Word32) 0x00008000L, pOverflow);
|
lsp_lsf.cpp | 58 Added proper casting (Word32) to some left shifting operations 175 Word32 L_tmp; 222 Word32 L_tmp; 231 L_tmp = ((Word32)(table[ind + 1] - table[ind]) * offset) >> 8; 298 Word32 L_tmp; 356 Word32 L_tmp; 375 L_tmp = (Word32)(temp - table[ind]) * slope[ind];
|