/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...] |
rms_level.h | 20 // Computes the root mean square (RMS) level in dBFs (decibels from digital 27 // RMS() to get the audio level indicator for the RTP header. 46 // Computes the RMS level over all data passed to Process() since the last 47 // call to RMS(). The returned value is positive but should be interpreted as 49 int RMS();
|
level_estimator_impl.cc | 57 int LevelEstimatorImpl::RMS() { 63 return rms_->RMS();
|
/external/webrtc/webrtc/modules/audio_processing/agc/ |
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]);
|
utility.h | 17 double Linear2Loudness(double rms);
|
agc.h | 35 // Retrieves the difference between the target RMS level and the current 36 // signal RMS level in dB. Returns true if an update is available and false
|
histogram_unittest.cc | 25 double rms; member in struct:webrtc::InputOutput 65 if (io.rms < 0) { 75 hist_->Update(io.rms, io.activity_probability);
|
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) {
|
/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);
|
/hardware/bsp/intel/peripheral/libupm/src/ecs1030/ |
ecs1030.cxx | 58 float rms = 0; local 64 rms = rms + volt; 68 rms = rms / (float)NUMBER_OF_SAMPLES; 69 rms = sqrt(rms); 70 return rms / R_LOAD;
|
/cts/suite/audio_quality/lib/include/ |
BuiltinProcessing.h | 41 * calculate RMS of given data. The rms is passed to moving average filter 42 * And the averaged RMS should be within passMin to passMax to pass the test. 45 * Output:int64_t rms
|
/external/bison/ |
ChangeLog-1998 | 7 1997-08-25 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 13 1997-06-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 23 1997-06-18 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 30 1997-06-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 35 1997-05-24 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 39 1997-05-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 44 1997-05-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 53 1997-05-02 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 57 1997-04-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 62 1997-04-22 Richard Stallman <rms@psilocin.gnu.ai.mit.edu [all...] |
/external/opencv3/samples/python2/ |
calibrate.py | 68 rms, camera_matrix, dist_coefs, rvecs, tvecs = cv2.calibrateCamera(obj_points, img_points, (w, h), None, None) 69 print "RMS:", rms
|
/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/autotest/client/site_tests/audio_SeekAudioFeedback/ |
audio_SeekAudioFeedback.py | 47 logging.info('rms test on media file %s.', test_file) 65 # The RMS values are for debugging only. 73 rms = audio_helper.get_rms(reduced_file.name)[0] 75 self._rms_values['%s_rms_value' % test_file.replace('.', '_')]=rms
|
/external/autotest/client/site_tests/desktopui_MediaAudioFeedback/ |
desktopui_MediaAudioFeedback.py | 45 logging.info('rms test on media file %s.', media_file) 62 # The RMS values are for debugging only. 70 rms = audio_helper.get_rms(reduced_file.name)[0] 72 self._rms_values['%s_rms_value' % media_file.replace('.', '_')] = rms
|
/external/webrtc/webrtc/modules/audio_processing/vad/ |
common.h | 22 double rms[kMaxNumFrames]; member in struct:AudioFeatures
|
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/go/darwin-x86/src/math/cmplx/ |
sin.go | 47 // arithmetic domain # trials peak rms 69 // arithmetic domain # trials peak rms 93 // arithmetic domain # trials peak rms 113 // arithmetic domain # trials peak rms
|
/prebuilts/go/linux-x86/src/math/cmplx/ |
sin.go | 47 // arithmetic domain # trials peak rms 69 // arithmetic domain # trials peak rms 93 // arithmetic domain # trials peak rms 113 // arithmetic domain # trials peak rms
|
/external/autotest/client/site_tests/accessibility_ChromeVoxSound/ |
accessibility_ChromeVoxSound.py | 53 rms = self._rms_of_next_audio_chunk() 54 if rms > 0: 71 return vars(stat_output)['rms']
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/sound/ |
hdspm.h | 26 /* -------------------- IOCTL Peak/RMS Meters -------------------- */ 28 /* peam rms level structure like we get from hardware 32 rms are made out of low and high values
|
/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");
|