Home
last modified time | relevance | path

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

/external/libopus/src/
Dopus_encoder.c901 … int is_silence, /* only digital silence detected in this frame */ in decide_dtx_mode() argument
907 if (!is_silence) in decide_dtx_mode()
914 is_silence = peak_signal_energy >= (PSEUDO_SNR_THRESHOLD * noise_energy); in decide_dtx_mode()
918 if (is_silence) in decide_dtx_mode()
1103 int is_silence = 0; in opus_encode_native() local
1145 is_silence = 1; in opus_encode_native()
1155 if (!is_silence && analysis_info.activity_probability > DTX_ACTIVITY_THRESHOLD) in opus_encode_native()
1171 if (!is_silence) in opus_encode_native()
1392 st->silk_mode.useDTX = st->use_dtx && !(analysis_info.valid || is_silence); in opus_encode_native()
2145 if (st->use_dtx && (analysis_info.valid || is_silence)) in opus_encode_native()
[all …]