Searched defs:i_subfr (Results 1 - 11 of 11) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dint_lsf.cpp107 i_subfr = Current subframe (equal to 0,40,80 or 120) (Word16)
154 Word16 i_subfr, // i : Pointer to current sf (equal to 0,40,80 or 120)
160 if ( i_subfr == 0 )
167 else if ( sub(i_subfr, 40) == 0 )
173 else if ( sub(i_subfr, 80) == 0 )
180 else if ( sub(i_subfr, 120) == 0 )
216 Word16 i_subfr, /* i : Current sf (equal to 0,40,80 or 120) */
225 if (i_subfr == 0)
251 else if (i_subfr == 40)
278 else if (i_subfr
213 Int_lsf( Word16 lsf_old[], Word16 lsf_new[], Word16 i_subfr, Word16 lsf_out[], Flag *pOverflow ) argument
[all...]
H A Ddec_lag3.cpp66 i_subfr -- Word16 -- subframe flag
189 Word16 i_subfr, /* i : subframe flag */
201 if (i_subfr == 0) /* if 1st or 3rd subframe */
186 Dec_lag3(Word16 index, Word16 t0_min, Word16 t0_max, Word16 i_subfr, Word16 T0_prev, Word16 * T0, Word16 * T0_frac, Word16 flag4, Flag *pOverflow ) argument
H A Ddec_lag6.cpp66 i_subfr -- Word16 -- subframe flag
189 Word16 i_subfr, /* input : subframe flag */
201 if (i_subfr == 0) /* if 1st or 3rd subframe */
185 Dec_lag6( Word16 index, Word16 pit_min, Word16 pit_max, Word16 i_subfr, Word16 *T0, Word16 *T0_frac, Flag *pOverflow ) argument
H A Dpstfilt.cpp325 Word16 i_subfr; // index for beginning of subframe
342 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR)
359 Residu (Ap3, &syn_work[i_subfr], st->res2, L_SUBFR);
399 Syn_filt (Ap4, st->res2, &syn[i_subfr], L_SUBFR, st->mem_syn_pst, 1);
403 agc (st->agc_state, &syn_work[i_subfr], &syn[i_subfr],
451 register Word16 i_subfr; /* index for beginning of subframe */ local
470 for (i_subfr
[all...]
H A Ddec_amr.cpp571 Word16 i, i_subfr;
719 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR)
725 pit_flag = i_subfr;
727 if (sub (i_subfr, L_FRAME_BY2) == 0)
1102 Int_lsf(prev_lsf, st->lsfState->past_lsf_q, i_subfr, lsf_i);
1238 Syn_filt (Az, excp, &synth[i_subfr], L_SUBFR,
1244 Syn_filt (Az, exc_enhanced, &synth[i_subfr], L_SUBFR,
1258 Syn_filt(Az, exc_enhanced, &synth[i_subfr], L_SUBF
1370 Word16 i_subfr; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dspstproc.cpp103 i_subfr -- Word16 -- Subframe nr
175 Word16 i_subfr, /* i : Subframe nr */
239 p_exc = &exc[ i_subfr];
276 &exc[i_subfr],
277 &synth[i_subfr],
284 mem_err[j] = speech[i_subfr + i] - synth[i_subfr + i];
172 subframePostProc( Word16 *speech, enum Mode mode, Word16 i_subfr, Word16 gain_pit, Word16 gain_code, Word16 *Aq, Word16 synth[], Word16 xn[], Word16 code[], Word16 y1[], Word16 y2[], Word16 *mem_syn, Word16 *mem_err, Word16 *mem_w0, Word16 *exc, Word16 *sharp, Flag *pOverflow ) argument
H A Dcod_amr.cpp854 Word16 i_subfr, subfrNr;
957 for(subfrNr = 0, i_subfr = 0;
959 subfrNr++, i_subfr += L_FRAME_BY2)
962 pre_big(mode, gamma1, gamma1_12k2, gamma2, A_t, i_subfr, st->speech,
968 ol_ltp(st->pitchOLWghtSt, st->vadSt, mode, &st->wsp[i_subfr],
1029 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR)
1049 gamma2, A, Aq, &st->speech[i_subfr],
1051 st->ai_zero, &st->exc[i_subfr],
1257 Word16 i_subfr, subfrNr; local
[all...]
H A Dpitch_fr.cpp1064 i_subfr = subframe offset of type Word16
1118 Word16 i_subfr, // i : subframe offset
1162 if ((i_subfr == 0) || (sub(i_subfr,L_FRAME_BY2) == 0)) {
1168 (sub(i_subfr,L_FRAME_BY2) != 0)) {
1179 if (i_subfr == 0)
1372 Word16 i_subfr, /* i : subframe offset */
1424 if ((i_subfr == 0) || (i_subfr == L_FRAME_BY2))
1429 if (((mode != MR475) && (mode != MR515)) || (i_subfr !
1363 Pitch_fr( Pitch_frState *st, enum Mode mode, Word16 T_op[], Word16 exc[], Word16 xn[], Word16 h[], Word16 L_subfr, Word16 i_subfr, Word16 *pit_frac, Word16 *resu3, Word16 *ana_index, Flag *pOverflow ) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dpvamrwbdecoder.cpp327 int16 i, j, i_subfr, index, ind[8], tmp; local
443 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR)
445 j = i_subfr >> 6;
455 &exc2[i_subfr],
457 &synth16k[i_subfr *5/4],
571 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dpitch_f4.c73 Word16 i_subfr, /* (i) : indicator for first subframe. */
110 if ((i_subfr == 0) && (t0 >= t0_fr1))
123 if ((t0_fr2 == PIT_MIN)||((i_subfr == 0) && (t0 >= t0_fr2)))
66 Pitch_fr4( Word16 exc[], Word16 xn[], Word16 h[], Word16 t0_min, Word16 t0_max, Word16 * pit_frac, Word16 i_subfr, Word16 t0_fr2, Word16 t0_fr1, Word16 L_subfr ) argument
H A DvoAMRWBEnc.c201 Word32 i, j, i_subfr, select, pit_flag, clip_gain, vad_flag; local
429 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR)
435 Residu_opt(Ap, &speech[i_subfr], &wsp[i_subfr], L_SUBFR);
437 Residu(Ap, &speech[i_subfr], &wsp[i_subfr], L_SUBFR);
573 for (i_subfr = 0; i_subfr < L_FRAM
[all...]

Completed in 170 milliseconds