Searched defs:exc2 (Results 1 - 4 of 4) sorted by relevance
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | dtx_decoder_amr_wb.cpp | 198 int16 * exc2, /* o : CN excitation */ 400 exc2[i] = noise_gen_amrwb(&(st->cng_seed)) >> 4; 406 ener32 = Dot_product12(exc2, exc2, L_FRAME, &exp); 421 tmp = mult_int16(exc2[i], gain); /* Q0 * Q15 */ 422 exc2[i] = shl_int16(tmp, exp); 196 dtx_dec_amr_wb( dtx_decState * st, int16 * exc2, int16 new_state, int16 isf[], int16 ** prms ) argument
|
H A D | pvamrwbdecoder.cpp | 310 int16 *exc2 = &excp[L_SUBFR]; /* excitation vector */ local 311 int16 *HfIsf = &exc2[L_FRAME]; 351 dtx_dec_amr_wb(&(st->dtx_decSt), exc2, newDTXState, isf, &prms); 455 &exc2[i_subfr], 905 exc2[i] = (exc[i_subfr + i] + (0x0004 * (exc[i_subfr + i] != MAX_16))) >> 3; 919 tmp = mult_int16(exc2[i], pit_sharp); 931 voice_fac = voice_factor(exc2, -3, gain_pit, code, gain_code, L_SUBFR); 943 pv_memcpy((void *)exc2, (void *)&exc[i_subfr], L_SUBFR*sizeof(*exc2)); 1049 L_tmp = mac_16by16_to_int32(L_tmp, exc2[ [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | dtx.c | 161 Word16 * exc2, /* o : CN excitation */ 260 exc2[i] = (Random(&(st->cng_seed)) >> 4); 266 ener32 = Dot_product12(exc2, exc2, L_FRAME, &exp); 281 tmp = mult(exc2[i], gain); /* Q0 * Q15 */ 282 exc2[i] = shl(tmp, exp); 158 dtx_enc( dtx_encState * st, Word16 isf[M], Word16 * exc2, Word16 ** prms ) argument
|
H A D | voAMRWBEnc.c | 197 Word16 exc2[L_FRAME]; /* excitation vector */ local 555 exc2[i] = shr(exc[i], Q_new); 560 L_tmp += (exc2[i] * exc2[i])<<1; 567 dtx_enc(st->dtx_encSt, isf, exc2, &prms); 575 corr_gain = synthesis(Aq, &exc2[i_subfr], 0, &speech16k[i_subfr * 5 / 4], st); 673 exc2[i] = exc[i] >> Q_new; 677 L_tmp += (exc2[i] * exc2[i])<<1; 1188 Copy(&exc[i_subfr], exc2, L_SUBF [all...] |
Completed in 131 milliseconds