/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
voicefac.c | 49 ener1 = vo_mult(ener1, tmp); 60 tmp = vo_mult(tmp, tmp); 61 ener2 = vo_mult(ener2, tmp);
|
qpisf_2s.c | 73 isf[i] = vo_sub(isf[i], vo_mult(MU, past_isfq[i])); 163 isf[i] = vo_sub(isf[i], vo_mult(MU, past_isfq[i])); 266 isf_q[i] = add1(isf_q[i], vo_mult(MU, past_isfq[i])); 296 isf_q[i] = add1(vo_mult(ALPHA, isfold[i]), vo_mult(ONE_ALPHA, ref_isf[i])); 302 tmp = add1(ref_isf[i], vo_mult(past_isfq[i], MU)); /* predicted ISF */ 359 isf_q[i] = add1(isf_q[i], vo_mult(MU, past_isfq[i])); 390 isf_q[i] = add1(vo_mult(ALPHA, isfold[i]), vo_mult(ONE_ALPHA, ref_isf[i])); 396 tmp = add1(ref_isf[i], vo_mult(past_isfq[i], MU)); /* predicted ISF * [all...] |
wb_vad.c | 61 mant = vo_mult(mant, mant); 89 temp0 = vo_sub(*in0, vo_mult(COEFF5_1, data[0])); 90 temp1 = add1(data[0], vo_mult(COEFF5_1, temp0)); 93 temp0 = vo_sub(*in1, vo_mult(COEFF5_2, data[1])); 94 temp2 = add1(data[1], vo_mult(COEFF5_2, temp0)); 117 temp1 = vo_sub(*in1, vo_mult(COEFF3, *data)); 118 temp2 = add1(*data, vo_mult(COEFF3, temp1)); 497 temp = vo_mult(noise_level, MIN_SPEECH_SNR) << 3; 509 temp = add1(vo_mult(NO_SLOPE, (ilog2_noise_level - NO_P1)), THR_HIGH); 511 temp2 = add1(SP_CH_MIN, vo_mult(SP_SLOPE, (ilog2_speech_level - SP_P1))) [all...] |
c4t64fx.c | 535 *p0 = vo_mult(*p0, psign[j]); 692 ps = vo_mult(ps, ps); 866 *cor_x++ = vo_mult(corr, sign[pos]) + (*p0++); 868 *cor_y++ = vo_mult(corr, sign[pos-3]) + (*p3++); 890 *cor_x++ = vo_mult(corr, sign[pos]) + (*p0++); 892 *cor_y++ = vo_mult(corr, sign[pos-3]) + (*p3++); 932 cor_x[i] = vo_mult(corr, sign[pos]) + (*p0++); 934 cor_y[i] = vo_mult(corr, sign[pos + 1]) + (*p3++); 950 cor_x[i+1] = vo_mult(corr, sign[pos]) + (*p0++); 952 cor_y[i+1] = vo_mult(corr, sign[pos + 1]) + (*p3++) [all...] |
c2t64fx.c | 214 *p0 = vo_mult(*p0, psign[j]); 241 sq = vo_mult(ps2, ps2);
|
pitch_f4.c | 261 excf[i] = add1(vo_mult(tmp, h[i]), excf[i - 1]); 263 excf[0] = vo_mult(tmp, h[0]);
|
voAMRWBEnc.c | 503 st->ada_w = vo_mult(st->ada_w, 29491); 631 tmp = vo_mult(tmp, 26214); /* tmp = L_tmp*0.8/256 */ [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
basic_op.h | 49 #define vo_mult(a,b) (( a * b ) >> 15 ) macro [all...] |