Home
last modified time | relevance | path

Searched refs:vo_sub (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dqpisf_2s.c72 isf[i] = vo_sub(isf1[i], mean_isf[i]); in Qpisf_2s_46b()
73 isf[i] = vo_sub(isf[i], vo_mult(MU, past_isfq[i])); in Qpisf_2s_46b()
84 isf_stage2[i] = vo_sub(isf[i], dico1_isf[i + surv1[k] * 9]); in Qpisf_2s_46b()
113 isf_stage2[i] = vo_sub(isf[9 + i], dico2_isf[i + surv1[k] * 7]); in Qpisf_2s_46b()
162 isf[i] = vo_sub(isf1[i], mean_isf[i]); in Qpisf_2s_36b()
163 isf[i] = vo_sub(isf[i], vo_mult(MU, past_isfq[i])); in Qpisf_2s_36b()
174 isf_stage2[i] = vo_sub(isf[i], dico1_isf[i + surv1[k] * 9]); in Qpisf_2s_36b()
200 isf_stage2[i] = vo_sub(isf[9 + i], dico2_isf[i + surv1[k] * 7]); in Qpisf_2s_36b()
303 past_isfq[i] = vo_sub(isf_q[i], tmp); in Dpisf_2s_46b()
397 past_isfq[i] = vo_sub(isf_q[i], tmp); in Dpisf_2s_36b()
Dmath_op.c126 tmp = vo_sub(table_isqrt[i], table_isqrt[i + 1]); /* table[i] - table[i+1]) */ in Isqrt_n()
173 tmp = vo_sub(table_pow2[i], table_pow2[i + 1]); /* table[i] - table[i+1] */ in Pow2()
176 exp = vo_sub(30, exponant); in Pow2()
Dgpclip.c66 dist_min = vo_sub(isf[1], isf[0]); in Gp_clip_test_isf()
70 dist = vo_sub(isf[i], isf[i - 1]); in Gp_clip_test_isf()
Disp_isf.c52 L_tmp = vo_L_mult(vo_sub(isp[i], table[ind]), slope[ind]); in Isp_isf()
82 L_tmp = vo_L_mult(vo_sub(table[ind + 1], table[ind]), offset); in Isf_isp()
Dq_pulse.c82 if (vo_sub((Word16) (pos1 & mask), (Word16) (pos2 & mask)) <= 0) in quant_2p_2N1()
197 mask = vo_sub((1 << N), 1); /* mask = ((1<<N)-1); */ in quant_4p_4N()
215 tmp = vo_sub((N << 2), 3); /* index = 1 << ((4*N)-3); */ in quant_4p_4N()
280 tmp = vo_sub((Word16)((vo_L_mult(5, N) >> 1)), 1); /* ((5*N)-1)) */ in quant_5p_5N()
288 tmp = vo_sub((Word16)((vo_L_mult(5, N) >> 1)), 1); /* index = 1 << ((5*N)-1); */ in quant_5p_5N()
296 tmp = vo_sub((Word16)((vo_L_mult(5, N) >> 1)), 1); /* ((5*N)-1)) */ in quant_5p_5N()
Dwb_vad.c69 res = vo_sub(add1(res, 127), (mant >> 8)); in ilog2()
89 temp0 = vo_sub(*in0, vo_mult(COEFF5_1, data[0])); in filter5()
93 temp0 = vo_sub(*in1, vo_mult(COEFF5_2, data[1])); in filter5()
117 temp1 = vo_sub(*in1, vo_mult(COEFF3, *data)); in filter3()
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()
609 … st->speech_level = add1(st->speech_level, vo_mult_r(alpha, vo_sub(tmp, st->speech_level))); in Estimate_Speech()
Dlog2.c79 tmp = vo_sub(table[i], table[i + 1]); /* table[i] - table[i+1] */ in Log2_norm()
Dvoicefac.c76 tmp = vo_sub(ener1, ener2); in voice_factor()
Daz_isp.c162 xint = vo_sub(xlow, vo_extract_l(t0)); /* xint = xlow - ylow*y */ in Az_isp()
Dq_gain2.c266 j = add1(vo_sub(e_max, exp_max[i]), 2);/* /4 to avoid overflow */ in Q_gain2()
DvoAMRWBEnc.c625 tmp = vo_sub(isf[i], st->isfold[i]); in coder()
632 tmp = vo_sub(20480, tmp); /* 1.25 - tmp (in Q14) */ in coder()
759 error[i] = vo_sub(speech[i + i_subfr - M], st->mem_syn[i]); in coder()
1527 exp = vo_sub(exp, exp_ener); in synthesis()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dbasic_op.h52 #define vo_sub(a,b) ((a) - (b)) macro