/external/chromium_org/third_party/webrtc/modules/audio_processing/ |
rms_level.h | 18 // Computes the root mean square (RMS) level in dBFs (decibels from digital 25 // RMS() to get the audio level indicator for the RTP header. 44 // Computes the RMS level over all data passed to Process() since the last 45 // call to RMS(). The returned value is positive but should be interpreted as 47 int RMS();
|
level_estimator_impl.h | 38 virtual int RMS() OVERRIDE;
|
level_estimator_impl.cc | 49 int LevelEstimatorImpl::RMS() { 55 return rms_level->RMS();
|
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/src/modules/audio_processing/ |
level_estimator_impl.h | 38 virtual int RMS();
|
level_estimator_impl.cc | 52 int RMS() { 59 double rms = sum_square_ / (sample_count_ * kMaxSquaredLevel); local 61 rms = 10 * log10(rms); 62 if (rms > 0) 63 rms = 0; 64 else if (rms < -kMinLevel) 65 rms = -kMinLevel; 67 rms = -rms; [all...] |
/hardware/invensense/60xx/mlsdk/mlutils/ |
mputest.c | 106 /* 0.4 dps-rms in LSB-rms */ 250 * the limit standard deviation (=~ RMS) set to assess whether 252 * The default is DEF_RMS_THRESH = 0.2 dps-rms. 312 * 9 If any of the RMS noise values is zero, it could be 334 float RMS[3]; 496 /* 3rd, check RMS */ 499 RMS[X] = 0.f, RMS[Y] = 0.f, RMS[Z] = 0.f [all...] |
/external/chromium_org/content/browser/speech/endpointer/ |
energy_endpointer.cc | 17 // Returns the RMS (quadratic mean) of the input signal. 18 float RMS(const int16* samples, int num_samples) { 237 float rms = RMS(samples, num_samples); local 250 decision = (rms > decision_threshold_); 304 // threshold to be about 6dB above the average RMS. 306 decision_threshold_ = (0.98f * decision_threshold_) + (0.02f * 2 * rms); 310 // be about 10dB below the average RMS. If the noise level is high, 315 if (rms_adapt_ > rms) { 316 rms_adapt_ = (0.99f * rms_adapt_) + (0.01f * rms); [all...] |
/external/webrtc/src/modules/audio_processing/interface/ |
audio_processing.h | 504 // Returns the root mean square (RMS) level in dBFs (decibels from digital 506 // frames since the last call to RMS(). The returned value is positive but 514 // to have been muted. The RMS of the frame will be interpreted as -127. 515 virtual int RMS() = 0;
|
/external/webrtc/src/modules/audio_processing/test/ |
unit_test.cc | 756 EXPECT_EQ(apm_->kNotEnabledError, apm_->level_estimator()->RMS()); 769 EXPECT_EQ(127, apm_->level_estimator()->RMS()); 775 EXPECT_EQ(127, apm_->level_estimator()->RMS()); 777 // Try a few RMS values. 782 EXPECT_EQ(0, apm_->level_estimator()->RMS()); 787 EXPECT_EQ(1, apm_->level_estimator()->RMS()); 792 EXPECT_EQ(10, apm_->level_estimator()->RMS()); 797 EXPECT_EQ(70, apm_->level_estimator()->RMS()); 805 EXPECT_EQ(127, apm_->level_estimator()->RMS()); 815 EXPECT_EQ(90, apm_->level_estimator()->RMS()); [all...] |
process_test.cc | 893 printf("RMS: %d dBFS\n", -apm->level_estimator()->RMS()); [all...] |
/external/llvm/lib/CodeGen/ |
RegAllocGreedy.cpp | [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_processing/include/ |
audio_processing.h | 645 // Returns the root mean square (RMS) level in dBFs (decibels from digital 647 // frames since the last call to RMS(). The returned value is positive but 654 // to have been muted. The RMS of the frame will be interpreted as -127. 655 virtual int RMS() = 0;
|
mock_audio_processing.h | 125 MOCK_METHOD0(RMS,
|
/external/chromium_org/third_party/webrtc/modules/audio_processing/test/ |
audio_processing_unittest.cc | [all...] |
process_test.cc | [all...] |
/external/chromium_org/third_party/webrtc/voice_engine/ |
channel.cc | 128 _rtpRtcpModule->SetAudioLevel(rms_level_.RMS()); [all...] |