Home
last modified time | relevance | path

Searched refs:vadSt (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/codecs/amrnb/enc/src/
Dol_ltp.cpp203 vadState *vadSt, /* i/o : VAD state struct */ in ol_ltp() argument
223 *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()
Dpitch_ol.cpp309 vadState *vadSt, /* i/o : VAD state struct */ in Lag_max()
382 vad_tone_detection(vadSt, max, t0, pOverflow); in Lag_max()
634 vadState *vadSt, /* i/o : VAD state struct */ in Lag_max_wrapper() argument
649 temp = Lag_max(vadSt, corr, scal_sig, scal_fac, scal_flag, L_frame, in Lag_max_wrapper()
940 vadState *vadSt, /* i/o : VAD state struct */ in Pitch_ol() argument
990 vad_tone_detection_update(vadSt, 1, pOverflow); in Pitch_ol()
994 vad_tone_detection_update(vadSt, 0, pOverflow); in Pitch_ol()
1136 p_max1 = Lag_max(vadSt, corr_ptr, scal_sig, scal_fac, scal_flag, L_frame, in Pitch_ol()
1145 p_max2 = Lag_max(vadSt, corr_ptr, scal_sig, scal_fac, scal_flag, L_frame, in Pitch_ol()
1149 p_max3 = Lag_max(vadSt, corr_ptr, scal_sig, scal_fac, scal_flag, L_frame, in Pitch_ol()
[all …]
Dp_ol_wgh.cpp572 vadState *vadSt, /* i/o : VAD state struct */ in Lag_max() argument
644 vadSt->L_Rmax = L_add(vadSt->L_Rmax, t0, pOverflow); in Lag_max()
646 vadSt->L_R0 = L_add(vadSt->L_R0, t1, pOverflow); in Lag_max()
649 vad_tone_detection_update(vadSt, 0, pOverflow); in Lag_max()
650 vad_tone_detection(vadSt, t0, t1, pOverflow); in Lag_max()
862 vadState *vadSt, /* i/o : VAD state struct */ in Pitch_ol_wgh() argument
934 p_max1 = Lag_max(vadSt, corr_ptr, scal_sig, L_frame, pit_max, pit_min, in Pitch_ol_wgh()
974 vad_complex_detection_update(vadSt, corr_hp_max); in Pitch_ol_wgh()
Dcod_amr.cpp290 s->vadSt = NULL; in cod_amr_init()
306 vad1_init(&s->vadSt) || in cod_amr_init()
308 vad2_init(&s->vadSt) || in cod_amr_init()
529 vad1_reset(st->vadSt); in cod_amr_reset()
531 vad2_reset(st->vadSt); in cod_amr_reset()
646 vad1_exit(&(*state)->vadSt); in cod_amr_exit()
648 vad2_exit(&(*state)->vadSt); in cod_amr_exit()
1279 vad_flag = vad2(st->new_speech, st->vadSt, pOverflow); in cod_amr()
1280 vad_flag = vad2(st->new_speech + 80, st->vadSt, pOverflow) || vad_flag; in cod_amr()
1282 vad_flag = vad1(st->vadSt, st->new_speech, pOverflow); in cod_amr()
[all …]
Dpitch_ol.h103 vadState *vadSt, /* i/o : VAD state struct */
Dol_ltp.h106 vadState *vadSt, /* i/o : VAD state struct */
Dcod_amr.h160 vadState *vadSt; member
/frameworks/av/media/codecs/amrnb/common/include/
Dp_ol_wgh.h127 vadState *vadSt, /* i/o : VAD state struct */
/frameworks/av/media/codecs/amrwb/enc/inc/
Dcod_main.h64 VadVars *vadSt; member
/frameworks/av/media/codecs/amrwb/enc/src/
DvoAMRWBEnc.c139 wb_vad_reset(cod_state->vadSt); in Reset_encoder()
369 vad_flag = wb_vad(st->vadSt, buf); /* Voice Activity Detection */ in coder()
511 wb_vad_tone_detection(st->vadSt, st->ol_gain); in coder()
533 wb_vad_tone_detection(st->vadSt, st->ol_gain); in coder()
1642 st->vadSt = NULL; in voAMRWB_Init()
1669 wb_vad_init(&(st->vadSt), pMemOP); in voAMRWB_Init()
1915 wb_vad_exit(&(((Coder_State *) gData)->vadSt), pMemOP); in voAMRWB_Uninit()