Home
last modified time | relevance | path

Searched refs:PIT_MAX (Results 1 – 15 of 15) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dol_ltp.cpp223 *T_op = Pitch_ol(vadSt, mode, wsp, PIT_MIN, PIT_MAX, L_FRAME, idx, dtx, in ol_ltp()
230 *T_op = Pitch_ol(vadSt, mode, wsp, PIT_MIN, PIT_MAX, L_FRAME_BY2, in ol_ltp()
235 *T_op = Pitch_ol_wgh(st, vadSt, wsp, PIT_MIN, PIT_MAX, L_FRAME_BY2, in ol_ltp()
240 *T_op = Pitch_ol(vadSt, mode, wsp, PIT_MIN_MR122, PIT_MAX, in ol_ltp()
Dcod_amr.h134 Word16 old_wsp[L_FRAME + PIT_MAX];
142 Word16 old_exc[L_FRAME + PIT_MAX + L_INTERPOL];
Dcod_amr.cpp486 st->wsp = st->old_wsp + PIT_MAX; in cod_amr_reset()
487 st->exc = st->old_exc + PIT_MAX + L_INTERPOL; in cod_amr_reset()
498 memset(st->old_exc, 0, sizeof(Word16)*(PIT_MAX + L_INTERPOL)); in cod_amr_reset()
499 memset(st->old_wsp, 0, sizeof(Word16)*PIT_MAX); in cod_amr_reset()
1326 memset(st->old_exc, 0, sizeof(Word16)*(PIT_MAX + L_INTERPOL)); in cod_amr()
1594 memcpy(&st->old_exc[0], &st->old_exc[L_FRAME], (PIT_MAX + L_INTERPOL)*sizeof(Word16)); in cod_amr()
1602 memcpy(&st->old_wsp[0], &st->old_wsp[L_FRAME], PIT_MAX*sizeof(Word16)); in cod_amr()
Dpitch_fr.cpp1448 pit_min, PIT_MAX, &t0_min, &t0_max, pOverflow); in Pitch_fr()
1455 pit_min, PIT_MAX, &t0_min, &t0_max, pOverflow); in Pitch_fr()
1465 pit_min, PIT_MAX, &t0_min, &t0_max, pOverflow); in Pitch_fr()
Dp_ol_wgh.cpp882 Word32 corr[PIT_MAX+1], *corr_ptr; in Pitch_ol_wgh()
885 Word16 scaled_signal[PIT_MAX + L_FRAME]; in Pitch_ol_wgh()
Dpitch_ol.cpp973 Word32 corr[PIT_MAX+1]; in Pitch_ol()
978 Word16 scaled_signal[L_FRAME + PIT_MAX]; in Pitch_ol()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dcod_main.h39 Word16 old_wsp[PIT_MAX / OPL_DECIM]; /* old decimated weighted speech vector */
40 Word16 old_exc[PIT_MAX + L_INTERPOL]; /* old excitation vector */
63 Word16 old_hp_wsp[L_FRAME / OPL_DECIM + (PIT_MAX / OPL_DECIM)];
Dcnst.h50 #define PIT_MAX 231 /* Maximum pitch lag */ macro
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
DvoAMRWBEnc.c86 Set_zero(cod_state->old_exc, PIT_MAX + L_INTERPOL); in Reset_encoder()
98 Set_zero(cod_state->old_wsp, (PIT_MAX / OPL_DECIM)); in Reset_encoder()
126 Set_zero(cod_state->old_hp_wsp, (L_FRAME / 2) / OPL_DECIM + (PIT_MAX / OPL_DECIM)); in Reset_encoder()
167 Word16 old_wsp[L_FRAME + (PIT_MAX / OPL_DECIM)]; in coder()
171 Word16 old_exc[(L_FRAME + 1) + PIT_MAX + L_INTERPOL]; in coder()
240 exc = old_exc + PIT_MAX + L_INTERPOL; in coder()
241 wsp = old_wsp + (PIT_MAX / OPL_DECIM); in coder()
245 Copy(st->old_wsp, old_wsp, PIT_MAX / OPL_DECIM); in coder()
246 Copy(st->old_exc, old_exc, PIT_MAX + L_INTERPOL); in coder()
350 Scale_sig(old_exc, PIT_MAX + L_INTERPOL, exp); in coder()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
De_pv_amrwbdec.h88 int16 old_exc[PIT_MAX + L_INTERPOL]; /* old excitation vector */
128 (2*L_FRAME + 1) + PIT_MAX + L_INTERPOL + NB_SUBFR*(M+1) \
Dpvamrwbdecoder.cpp184 (PIT_MAX + L_INTERPOL)*sizeof(*dec_state->old_exc)); in pvDecoder_AmrWb_Reset()
303 …int16 *Aq = &old_exc[(L_FRAME + 1) + PIT_MAX + L_INTERPOL];/* A(z) quantized for the 4 subframes… in pvDecoder_AmrWb()
483 pv_memcpy((void *)old_exc, (void *)st->old_exc, (PIT_MAX + L_INTERPOL)*sizeof(*old_exc)); in pvDecoder_AmrWb()
485 exc = old_exc + PIT_MAX + L_INTERPOL; in pvDecoder_AmrWb()
638 if (T0_max > PIT_MAX) in pvDecoder_AmrWb()
640 T0_max = PIT_MAX; in pvDecoder_AmrWb()
641 T0_min = PIT_MAX - 15; in pvDecoder_AmrWb()
873 scale_signal(exc + i_subfr - (PIT_MAX + L_INTERPOL), in pvDecoder_AmrWb()
874 PIT_MAX + L_INTERPOL + L_SUBFR, in pvDecoder_AmrWb()
1137 (PIT_MAX + L_INTERPOL)*sizeof(*old_exc)); in pvDecoder_AmrWb()
Dpvamrwbdecoder_cnst.h103 #define PIT_MAX 231 /* Maximum pitch lag */ macro
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Ddec_amr.cpp406 state->exc = state->old_exc + PIT_MAX + L_INTERPOL; in Decoder_amr_reset()
409 memset(state->old_exc, 0, sizeof(Word16)*(PIT_MAX + L_INTERPOL)); in Decoder_amr_reset()
1622 if (t0_max > PIT_MAX) in Decoder_amr()
1624 t0_max = PIT_MAX; in Decoder_amr()
1635 if (st->old_T0 < PIT_MAX) in Decoder_amr()
1654 PIT_MAX, pit_flag, &T0, &T0_frac, pOverflow); in Decoder_amr()
2293 for (i = PIT_MAX + L_INTERPOL + L_SUBFR - 1; i >= 0; i--) in Decoder_amr()
2329 Copy(&st->old_exc[L_SUBFR], &st->old_exc[0], PIT_MAX + L_INTERPOL); in Decoder_amr()
Ddec_amr.h117 Word16 old_exc[L_SUBFR + PIT_MAX + L_INTERPOL];
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
Dcnst.h83 #define PIT_MAX 143 /* Maximum pitch lag */ macro