Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/utility/
Ddelay_estimator_unittest.cc507 int32_t mean_value = 4000; in TEST_F() local
508 int32_t mean_value_before = mean_value; in TEST_F()
509 int32_t new_mean_value = mean_value * 2; in TEST_F()
512 WebRtc_MeanEstimatorFix(new_mean_value, 10, &mean_value); in TEST_F()
513 EXPECT_LT(mean_value_before, mean_value); in TEST_F()
514 EXPECT_GT(new_mean_value, mean_value); in TEST_F()
517 new_mean_value = mean_value / 2; in TEST_F()
518 mean_value_before = mean_value; in TEST_F()
519 WebRtc_MeanEstimatorFix(new_mean_value, 10, &mean_value); in TEST_F()
520 EXPECT_GT(mean_value_before, mean_value); in TEST_F()
[all …]
Ddelay_estimator_wrapper.c45 float* mean_value) { in MeanEstimatorFloat() argument
47 *mean_value += (new_value - *mean_value) * scale; in MeanEstimatorFloat()
Ddelay_estimator.h249 int32_t* mean_value);
Ddelay_estimator.c674 int32_t* mean_value) { in WebRtc_MeanEstimatorFix() argument
675 int32_t diff = new_value - *mean_value; in WebRtc_MeanEstimatorFix()
683 *mean_value += diff; in WebRtc_MeanEstimatorFix()
/external/webrtc/webrtc/common_audio/vad/
Dvad_sp.c166 if (current_median < self->mean_value[channel]) { in WebRtcVad_FindMinimum()
172 tmp32 = (alpha + 1) * self->mean_value[channel]; in WebRtcVad_FindMinimum()
175 self->mean_value[channel] = (int16_t) (tmp32 >> 15); in WebRtcVad_FindMinimum()
177 return self->mean_value[channel]; in WebRtcVad_FindMinimum()
Dvad_core.h45 int16_t mean_value[kNumChannels]; member
Dvad_core.c525 self->mean_value[i] = 1600; in WebRtcVad_InitCore()
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/
Dsmoothness_unittest.py110 mean_value, discrepancy_value = self.metric._ComputeLatencyMetric(
112 self.assertEquals(30, mean_value.value)
127 mean_value, discrepancy_value = self.metric._ComputeLatencyMetric(
129 self.assertEquals(None, mean_value.value)
131 mean_value.none_value_reason)