HomeSort by relevance Sort by last modified time
    Searched refs:rms (Results 1 - 25 of 80) sorted by null

1 2 3 4

  /external/webrtc/webrtc/modules/audio_processing/
rms_level.cc 42 int RMSLevel::RMS() {
49 float rms = sum_square_ / (sample_count_ * kMaxSquaredLevel); local
51 rms = 10 * log10(rms);
52 assert(rms <= 0);
53 if (rms < -kMinLevel)
54 rms = -kMinLevel;
56 rms = -rms;
58 return static_cast<int>(rms + 0.5)
    [all...]
  /external/webrtc/webrtc/modules/audio_processing/agc/
utility.h 17 double Linear2Loudness(double rms);
utility.cc 23 double Linear2Loudness(double rms) {
24 if (rms == 0)
26 return kLinear2LoudnessScale * log(rms);
histogram.h 33 // Insert RMS and the corresponding activity probability.
34 void Update(double rms, double activity_probability);
53 // Find the histogram bin associated with the given |rms|.
54 int GetBinIndex(double rms);
70 // Histogram of input RMS in Q10 with |kHistSize_| bins. In each 'Update(),'
agc.cc 54 const std::vector<double>& rms = vad_.chunkwise_rms(); local
57 RTC_DCHECK_EQ(rms.size(), probabilities.size());
58 for (size_t i = 0; i < rms.size(); ++i) {
59 histogram_->Update(rms[i], probabilities[i]);
histogram.cc 50 // loudness_db = 13.5 * log10(rms);
89 void Histogram::Update(double rms, double activity_probaility) {
95 int hist_index = GetBinIndex(rms);
191 int Histogram::GetBinIndex(double rms) {
193 if (rms <= kHistBinCenters[0]) {
195 } else if (rms >= kHistBinCenters[kHistSize - 1]) {
200 double rms_log = log(rms);
206 if (rms > b) {
histogram_unittest.cc 25 double rms; member in struct:webrtc::InputOutput
65 if (io.rms < 0) {
75 hist_->Update(io.rms, io.activity_probability);
  /cts/suite/audio_quality/lib/src/
BuiltinProcessing.cpp 55 int64_t rms = 0; local
62 rms = (int64_t)sqrt(energy/samples);
65 if (rms < passMin) {
66 MSG("Volume %lld low compared to min %lld max %lld", rms, passMin, passMax);
68 } else if (rms <= passMax) {
69 MSG("Volume %lld OK compared to min %lld max %lld", rms, passMin, passMax);
76 LOGW("Volume %lld high compared to min %lld max %lld", rms, passMin, passMax);
80 rmsVal->setInt64(rms);
  /external/google-benchmark/src/
complexity.h 28 // Return a vector containing the bigO and RMS information for the specified
36 // - rms : Normalized Root Mean Squared Error.
43 LeastSq() : coef(0.0), rms(0.0), complexity(oNone) {}
46 double rms; member in struct:benchmark::LeastSq
complexity.cc 99 // Calculate RMS
100 double rms = 0.0;
103 rms += pow((time[i] - fit), 2);
106 // Normalized RMS by the mean of the observed values
108 result.rms = sqrt(rms / n.size()) / mean;
139 if (current_fit.rms < best_fit.rms) {
195 // time unit multiplier. But since RMS is a relative quantity it
202 Run rms;
    [all...]
  /external/libcxx/utils/google-benchmark/src/
complexity.h 28 // Return a vector containing the bigO and RMS information for the specified
36 // - rms : Normalized Root Mean Squared Error.
43 LeastSq() : coef(0.0), rms(0.0), complexity(oNone) {}
46 double rms; member in struct:benchmark::LeastSq
complexity.cc 99 // Calculate RMS
100 double rms = 0.0;
103 rms += pow((time[i] - fit), 2);
106 // Normalized RMS by the mean of the observed values
108 result.rms = sqrt(rms / n.size()) / mean;
139 if (current_fit.rms < best_fit.rms) {
195 // time unit multiplier. But since RMS is a relative quantity it
202 Run rms;
    [all...]
  /external/webrtc/webrtc/modules/audio_processing/vad/
common.h 22 double rms[kMaxNumFrames]; member in struct:AudioFeatures
voice_activity_detector.cc 62 std::copy(features_.rms, features_.rms + chunkwise_rms_.size(),
vad_audio_proc.cc 102 Rms(features->rms, kMaxNumFrames);
104 if (features->rms[i] < kSilenceRms) {
264 void VadAudioProc::Rms(double* rms, size_t length_rms) {
268 rms[i] = 0;
270 rms[i] += audio_buffer_[offset] * audio_buffer_[offset];
271 rms[i] = sqrt(rms[i] / kNumSubframeSamples);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/src/
complexity.h 35 // Return a vector containing the bigO and RMS information for the specified
43 // - rms : Normalized Root Mean Squared Error.
50 LeastSq() : coef(0.0), rms(0.0), complexity(oNone) {}
53 double rms; member in struct:benchmark::LeastSq
complexity.cc 100 // Calculate RMS
101 double rms = 0.0;
104 rms += pow((time[i] - fit), 2);
107 // Normalized RMS by the mean of the observed values
109 result.rms = sqrt(rms / n.size()) / mean;
140 if (current_fit.rms < best_fit.rms) {
299 // time unit multiplier. But since RMS is a relative quantity it
306 Run rms;
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
Correlation.java 60 double rms = 0; local
64 rms += mDataAutocorrelated[i]*mDataAutocorrelated[i];
71 rms = Math.sqrt(rms/mDataAutocorrelated.length);
76 log(String.format(" average : %.3f rms: %.3f", average, rms));
82 double raw = (rms-average) /(factor*average);
  /external/tensorflow/tensorflow/python/training/
rmsprop.py 116 v.dtype.base_dtype, "rms",
131 rms = self.get_slot(var, "rms")
138 rms,
149 rms,
159 rms = self.get_slot(var, "rms")
166 rms.handle,
177 rms.handle,
187 rms = self.get_slot(var, "rms"
    [all...]
  /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/perf/
PerfOutputWriter.java 49 final double rms = (double) reference / 1000000; local
50 writeResult(description, dms, rms, "%.2f", "ms");
  /external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
Correlation.java 77 double rms = 0; local
82 rms += mDataAutocorrelated[i] * mDataAutocorrelated[i];
89 rms = Math.sqrt(rms / mDataAutocorrelated.length);
93 log(String.format(" average : %.3f rms: %.3f", average, rms));
96 mRms = rms;
102 double raw = (rms - average) / (factor * average);
  /external/libopus/src/
mlp_train.c 118 double rms=0; local
163 rms += error[i]*error[i];
186 return rms;
203 double rms; member in struct:GradientArg
223 arg->rms = compute_gradient(arg->net, arg->inputs, arg->outputs, arg->nbSamples, arg->W0_grad, arg->W1_grad, arg->error_rate);
294 double rms=0; local
305 rms += args[i].rms;
315 rms = (rms/(outDim*nbSamples))
427 float rms; local
    [all...]
  /external/tensorflow/tensorflow/contrib/bayesflow/python/ops/
sgld_optimizer.py 150 v.dtype, 'rms', self._name)
165 rms = self.get_slot(var, 'rms')
168 self._update_momentum(rms, grad, math_ops.cast(self._decay_tensor,
170 new_grad = self._apply_noisy_update(rms, grad)
179 rms = self.get_slot(var, 'rms')
182 self._update_momentum(rms, grad, math_ops.cast(self._decay_tensor,
184 new_grad = self._apply_noisy_update(rms, grad)
  /external/autotest/client/site_tests/accessibility_ChromeVoxSound/
accessibility_ChromeVoxSound.py 45 rms = self._rms_of_next_audio_chunk()
46 if rms > 0:
75 return vars(stat_output)['rms']
  /prebuilts/go/darwin-x86/src/math/cmplx/
asin.go 44 // arithmetic domain # trials peak rms
82 // arithmetic domain # trials peak rms
127 // arithmetic domain # trials peak rms
131 // had peak relative error 1.5e-16, rms relative error

Completed in 968 milliseconds

1 2 3 4