Home
last modified time | relevance | path

Searched refs:exc2 (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/module/codecs/amrwb/dec/src/
Dpvamrwbdecoder.cpp310 int16 *exc2 = &excp[L_SUBFR]; /* excitation vector */ in pvDecoder_AmrWb() local
311 int16 *HfIsf = &exc2[L_FRAME]; in pvDecoder_AmrWb()
354 dtx_dec_amr_wb(&(st->dtx_decSt), exc2, newDTXState, isf, &prms); in pvDecoder_AmrWb()
458 &exc2[i_subfr], in pvDecoder_AmrWb()
908 exc2[i] = (exc[i_subfr + i] + (0x0004 * (exc[i_subfr + i] != MAX_16))) >> 3; in pvDecoder_AmrWb()
922 tmp = mult_int16(exc2[i], pit_sharp); in pvDecoder_AmrWb()
934 voice_fac = voice_factor(exc2, -3, gain_pit, code, gain_code, L_SUBFR); in pvDecoder_AmrWb()
946 pv_memcpy((void *)exc2, (void *)&exc[i_subfr], L_SUBFR*sizeof(*exc2)); in pvDecoder_AmrWb()
1052 L_tmp = mac_16by16_to_int32(L_tmp, exc2[0], gain_pit); in pvDecoder_AmrWb()
1054 exc2[0] = amr_wb_round(L_tmp); in pvDecoder_AmrWb()
[all …]
Ddtx.h167 …int16 * exc2, /* o : CN excitation …
194 …int16 * exc2, /* o : CN excitation …
Ddtx_decoder_amr_wb.cpp198 int16 * exc2, /* o : CN excitation */ in dtx_dec_amr_wb() argument
400 exc2[i] = noise_gen_amrwb(&(st->cng_seed)) >> 4; in dtx_dec_amr_wb()
406 ener32 = Dot_product12(exc2, exc2, L_FRAME, &exp); in dtx_dec_amr_wb()
421 tmp = mult_int16(exc2[i], gain); /* Q0 * Q15 */ in dtx_dec_amr_wb()
422 exc2[i] = shl_int16(tmp, exp); in dtx_dec_amr_wb()
/frameworks/av/media/module/codecs/amrwb/enc/src/
Ddtx.c161 …Word16 * exc2, /* o : CN excitation … in dtx_enc() argument
260 exc2[i] = (Random(&(st->cng_seed)) >> 4); in dtx_enc()
266 ener32 = Dot_product12(exc2, exc2, L_FRAME, &exp); in dtx_enc()
281 tmp = mult(exc2[i], gain); /* Q0 * Q15 */ in dtx_enc()
282 exc2[i] = shl(tmp, exp); in dtx_enc()
DvoAMRWBEnc.c197 Word16 exc2[L_FRAME]; /* excitation vector */ in coder() local
555 exc2[i] = shr(exc[i], Q_new); in coder()
560 L_tmp += (exc2[i] * exc2[i])<<1; in coder()
567 dtx_enc(st->dtx_encSt, isf, exc2, &prms); in coder()
575 corr_gain = synthesis(Aq, &exc2[i_subfr], 0, &speech16k[i_subfr * 5 / 4], st); in coder()
673 exc2[i] = exc[i] >> Q_new; in coder()
677 Word32 tmp = L_mult(exc2[i], exc2[i]); // (exc2[i] * exc2[i])<<1; in coder()
1190 Copy(&exc[i_subfr], exc2, L_SUBFR); in coder()
1193 Scale_sig_opt(exc2, L_SUBFR, shift); in coder()
1195 Scale_sig(exc2, L_SUBFR, shift); in coder()
[all …]
/frameworks/av/media/module/codecs/amrwb/enc/inc/
Ddtx.h86 …Word16 * exc2, /* o : CN excitation …