Home
last modified time | relevance | path

Searched refs:i_subfr (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dcod_amr.cpp1257 Word16 i_subfr, subfrNr; in cod_amr() local
1362 for (subfrNr = 0, i_subfr = 0; in cod_amr()
1364 subfrNr++, i_subfr += L_FRAME_BY2) in cod_amr()
1367 pre_big(mode, gamma1, gamma1_12k2, gamma2, A_t, i_subfr, st->speech, in cod_amr()
1374 ol_ltp(st->pitchOLWghtSt, st->vadSt, mode, &st->wsp[i_subfr], in cod_amr()
1435 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) in cod_amr()
1458 gamma2, A, Aq, &st->speech[i_subfr], in cod_amr()
1460 st->ai_zero, &st->exc[i_subfr], in cod_amr()
1466 gamma2, A, Aq, &st->speech[i_subfr], in cod_amr()
1468 st->ai_zero, &st->exc[i_subfr], in cod_amr()
[all …]
Dspstproc.cpp175 Word16 i_subfr, /* i : Subframe nr */ in subframePostProc() argument
239 p_exc = &exc[ i_subfr]; in subframePostProc()
276 &exc[i_subfr], in subframePostProc()
277 &synth[i_subfr], in subframePostProc()
284 mem_err[j] = speech[i_subfr + i] - synth[i_subfr + i]; in subframePostProc()
Dpitch_fr.cpp1372 Word16 i_subfr, /* i : subframe offset */ in Pitch_fr() argument
1424 if ((i_subfr == 0) || (i_subfr == L_FRAME_BY2)) in Pitch_fr()
1429 if (((mode != MR475) && (mode != MR515)) || (i_subfr != L_FRAME_BY2)) in Pitch_fr()
1441 if (i_subfr == 0) in Pitch_fr()
Dspstproc.h112 Word16 i_subfr, /* i : Subframe nr */
Dpitch_fr.h135 Word16 i_subfr, /* i : subframe offset */
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dpstfilt.cpp451 Word16 i_subfr; /* index for beginning of subframe */ in Post_Filter() local
470 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) in Post_Filter()
487 Residu(Ap3, &syn_work[i_subfr], st->res2, L_SUBFR); in Post_Filter()
563 Syn_filt(Ap4, st->res2, &syn[i_subfr], L_SUBFR, st->mem_syn_pst, 1); in Post_Filter()
567 agc(&(st->agc_state), &syn_work[i_subfr], &syn[i_subfr], in Post_Filter()
Dint_lsf.cpp216 Word16 i_subfr, /* i : Current sf (equal to 0,40,80 or 120) */ in Int_lsf() argument
225 if (i_subfr == 0) in Int_lsf()
251 else if (i_subfr == 40) in Int_lsf()
278 else if (i_subfr == 80) in Int_lsf()
305 else if (i_subfr == 120) in Int_lsf()
Ddec_amr.cpp1370 Word16 i_subfr; in Decoder_amr() local
1563 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) in Decoder_amr()
1569 pit_flag = i_subfr; in Decoder_amr()
1572 if (i_subfr == L_FRAME_BY2) in Decoder_amr()
2115 i_subfr, in Decoder_amr()
2281 Syn_filt(Az, excp, &synth[i_subfr], L_SUBFR, in Decoder_amr()
2287 Syn_filt(Az, exc_enhanced, &synth[i_subfr], L_SUBFR, in Decoder_amr()
2317 Syn_filt(Az, exc_enhanced, &synth[i_subfr], L_SUBFR, st->mem_syn, 1); in Decoder_amr()
2321 Copy(&synth[i_subfr+L_SUBFR-M], st->mem_syn, M); in Decoder_amr()
Ddec_lag6.cpp189 Word16 i_subfr, /* input : subframe flag */ in Dec_lag6() argument
201 if (i_subfr == 0) /* if 1st or 3rd subframe */ in Dec_lag6()
Ddec_lag3.cpp189 Word16 i_subfr, /* i : subframe flag */ in Dec_lag3() argument
201 if (i_subfr == 0) /* if 1st or 3rd subframe */ in Dec_lag3()
Ddec_lag6.h110 Word16 i_subfr, /* input : subframe flag */
Ddec_lag3.h110 Word16 i_subfr, /* i : subframe flag */
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dpvamrwbdecoder.cpp327 int16 i, j, i_subfr, index, ind[8], tmp; in pvDecoder_AmrWb() local
443 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) in pvDecoder_AmrWb()
445 j = i_subfr >> 6; in pvDecoder_AmrWb()
455 &exc2[i_subfr], in pvDecoder_AmrWb()
457 &synth16k[i_subfr *5/4], in pvDecoder_AmrWb()
571 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) in pvDecoder_AmrWb()
573 pit_flag = i_subfr; in pvDecoder_AmrWb()
576 if ((i_subfr == 2*L_SUBFR) && (nb_bits > NBBITS_7k)) in pvDecoder_AmrWb()
676 Pred_lt4(&exc[i_subfr], T0, T0_frac, L_SUBFR + 1); in pvDecoder_AmrWb()
702 L_tmp = ((int32) exc[i-1+i_subfr] + exc[i+1+i_subfr]); in pvDecoder_AmrWb()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
DvoAMRWBEnc.c201 Word32 i, j, i_subfr, select, pit_flag, clip_gain, vad_flag; in coder() local
429 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) in coder()
435 Residu_opt(Ap, &speech[i_subfr], &wsp[i_subfr], L_SUBFR); in coder()
437 Residu(Ap, &speech[i_subfr], &wsp[i_subfr], L_SUBFR); in coder()
573 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) in coder()
575 corr_gain = synthesis(Aq, &exc2[i_subfr], 0, &speech16k[i_subfr * 5 / 4], st); in coder()
658 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) in coder()
661 Residu_opt(p_Aq, &speech[i_subfr], &exc[i_subfr], L_SUBFR); in coder()
663 Residu(p_Aq, &speech[i_subfr], &exc[i_subfr], L_SUBFR); in coder()
720 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) in coder()
[all …]
Dpitch_f4.c73 Word16 i_subfr, /* (i) : indicator for first subframe. */ in Pitch_fr4() argument
110 if ((i_subfr == 0) && (t0 >= t0_fr1)) in Pitch_fr4()
123 if ((t0_fr2 == PIT_MIN)||((i_subfr == 0) && (t0 >= t0_fr2))) in Pitch_fr4()
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
Dint_lsf.h101 Word16 i_subfr, /* i : Current sf (equal to 0,40,80 or 120) */
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dacelp.h353 Word16 i_subfr, /* (i) : indicator for first subframe. */