Searched refs:nb_no_activity_frames (Results 1 – 1 of 1) sorted by relevance
115 int nb_no_activity_frames; member896 … int *nb_no_activity_frames /* number of consecutive frames with no activity */ in decide_dtx_mode() argument903 (*nb_no_activity_frames)++; in decide_dtx_mode()904 if (*nb_no_activity_frames > NB_SPEECH_FRAMES_BEFORE_DTX) in decide_dtx_mode()906 if (*nb_no_activity_frames <= (NB_SPEECH_FRAMES_BEFORE_DTX + MAX_CONSECUTIVE_DTX)) in decide_dtx_mode()910 (*nb_no_activity_frames) = NB_SPEECH_FRAMES_BEFORE_DTX; in decide_dtx_mode()913 (*nb_no_activity_frames) = 0; in decide_dtx_mode()2135 if (decide_dtx_mode(activity, &st->nb_no_activity_frames)) in opus_encode_native()2143 st->nb_no_activity_frames = 0; in opus_encode_native()2736 *value = st->nb_no_activity_frames >= NB_SPEECH_FRAMES_BEFORE_DTX; in opus_encoder_ctl()