Home
last modified time | relevance | path

Searched refs:add1 (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/media/codecs/amrwb/enc/src/
Dqpisf_2s.c251 isf_q[i] = add1(isf_q[i], dico21_isf[indice[2] * 3 + i]); in Dpisf_2s_46b()
252 isf_q[i + 3] = add1(isf_q[i + 3], dico22_isf[indice[3] * 3 + i]); in Dpisf_2s_46b()
253 isf_q[i + 6] = add1(isf_q[i + 6], dico23_isf[indice[4] * 3 + i]); in Dpisf_2s_46b()
254 isf_q[i + 9] = add1(isf_q[i + 9], dico24_isf[indice[5] * 3 + i]); in Dpisf_2s_46b()
259 isf_q[i + 12] = add1(isf_q[i + 12], dico25_isf[indice[6] * 4 + i]); in Dpisf_2s_46b()
265 isf_q[i] = add1(tmp, mean_isf[i]); in Dpisf_2s_46b()
266 isf_q[i] = add1(isf_q[i], vo_mult(MU, past_isfq[i])); in Dpisf_2s_46b()
296 isf_q[i] = add1(vo_mult(ALPHA, isfold[i]), vo_mult(ONE_ALPHA, ref_isf[i])); in Dpisf_2s_46b()
302 tmp = add1(ref_isf[i], vo_mult(past_isfq[i], MU)); /* predicted ISF */ in Dpisf_2s_46b()
344 isf_q[i] = add1(isf_q[i], dico21_isf_36b[indice[2] * 5 + i]); in Dpisf_2s_36b()
[all …]
Dwb_vad.c68 res = add1(res, (ex2 << 6)); in ilog2()
69 res = vo_sub(add1(res, 127), (mant >> 8)); in ilog2()
90 temp1 = add1(data[0], vo_mult(COEFF5_1, temp0)); in filter5()
94 temp2 = add1(data[1], vo_mult(COEFF5_2, temp0)); in filter5()
118 temp2 = add1(*data, vo_mult(COEFF3, temp1)); in filter3()
304 stat_rat = add1(stat_rat, shr(temp, (8 - exp))); in update_cntrl()
336 … st->ave_level[i] = add1(st->ave_level[i], vo_mult_r(alpha, vo_sub(level[i], st->ave_level[i]))); in update_cntrl()
427 st->bckr_est[i] = add1(-2, add(st->bckr_est[i],vo_mult_r(alpha_down, temp))); in noise_estimate_update()
435 st->bckr_est[i] = add1(bckr_add, add1(st->bckr_est[i],vo_mult_r(alpha_up, temp))); in noise_estimate_update()
509 temp = add1(vo_mult(NO_SLOPE, (ilog2_noise_level - NO_P1)), THR_HIGH); in vad_decision()
[all …]
Dq_pulse.c69 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask)))); in quant_2p_2N1()
73 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask)))); in quant_2p_2N1()
86 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask)))); in quant_2p_2N1()
95 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask)))); in quant_2p_2N1()
223 tmp = add1((Word16)((vo_L_mult(3, n_1) >> 1)), 1); in quant_4p_4N()
283 … tmp = add1((N << 1), 1); /* index += quant_3p_3N1(posB[0], posB[1], posB[2], n_1) << ((2*N)+1);*/ in quant_5p_5N()
291 …tmp = add1((N << 1), 1); /* index += quant_3p_3N1(posB[0], posB[1], posB[2], n_1) <<((2*N)+1); … in quant_5p_5N()
299 …tmp = add1((N << 1), 1); /* index += quant_3p_3N1(posB[0], posB[1], posB[2], n_1) << ((2… in quant_5p_5N()
305 …tmp = add1((N << 1), 1); /* index = quant_3p_3N1(posA[0], posA[1], posA[2], n_1) << ((2*… in quant_5p_5N()
310 …tmp = add1((N << 1), 1); /* index = quant_3p_3N1(posA[0], posA[1], posA[2], n_1) << ((2*… in quant_5p_5N()
[all …]
Dc2t64fx.c82 s = L_shl(s, add1(exp, 5)); in ACELP_2t64_fx()
242 ps2 = add1(ps1, dn[i1]); in ACELP_2t64_fx()
243 alp2 = add1(alp1, add1(*p1++, *p2++)); in ACELP_2t64_fx()
291 *index = add1((i0 << 6), i1); in ACELP_2t64_fx()
294 y[i] = vo_shr_r(add1((*p0++), (*p1++)), 3); in ACELP_2t64_fx()
Disp_isf.c54 isf[i] = add1(isf[i], (ind << 7)); in Isp_isf()
83 isp[i] = add1(table[ind], (Word16)((L_tmp >> 8))); in Isf_isp()
Dc4t64fx.c610 ps = add1(add1(add1(dn[ix], dn[iy]), dn[i]), dn[j]); in ACELP_4t64_fx()
636 vec[i] = add1(add1(add1(*p0++, *p1++), *p2++), *p3++); in ACELP_4t64_fx()
697 vec[i] += add1((*p0++), (*p1++)); in ACELP_4t64_fx()
698 vec[i+1] += add1((*p0++), (*p1++)); in ACELP_4t64_fx()
699 vec[i+2] += add1((*p0++), (*p1++)); in ACELP_4t64_fx()
700 vec[i+3] += add1((*p0++), (*p1++)); in ACELP_4t64_fx()
1024 ps2 = add1(ps1, dn[y]); in search_ixiy()
1052 *ps = add1(*ps, add1(dn[*ix], dn[*iy])); in search_ixiy()
Dvoicefac.c77 ener1 = add1(add1(ener1, ener2), 1); in voice_factor()
Daz_isp.c95 f2[i] = add1(f2[i], f2[i - 2]); in Az_isp()
Dq_gain2.c266 j = add1(vo_sub(e_max, exp_max[i]), 2);/* /4 to avoid overflow */ in Q_gain2()
Dpitch_f4.c261 excf[i] = add1(vo_mult(tmp, h[i]), excf[i - 1]); in Norm_Corr()
DvoAMRWBEnc.c1481 tmp = add1(tmp, vo_mult(weight2, gain2)); in synthesis()
1539 …HP_corr_gain = add1(vo_mult(HP_calc_gain, st->gain_alpha), vo_mult((32767 - st->gain_alpha), HP_es… in synthesis()
/frameworks/compile/libbcc/tests/libbcc/
Dtbaa.ll25 define i32 @add1(i32 %in) #0 {
47 !4 = !{!"add1"}
/frameworks/av/media/codecs/amrwb/enc/inc/
Dbasic_op.h46 #define add1(a,b) ((a) + (b)) macro