Home
last modified time | relevance | path

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

/external/webrtc/rtc_base/numerics/
Dmoving_average.cc19 MovingAverage::MovingAverage(size_t window_size) : history_(window_size, 0) { in MovingAverage() function in rtc::MovingAverage
23 MovingAverage::~MovingAverage() = default;
25 void MovingAverage::AddSample(int sample) { in AddSample()
34 absl::optional<int> MovingAverage::GetAverageRoundedDown() const { in GetAverageRoundedDown()
40 absl::optional<int> MovingAverage::GetAverageRoundedToClosest() const { in GetAverageRoundedToClosest()
46 absl::optional<double> MovingAverage::GetUnroundedAverage() const { in GetUnroundedAverage()
52 void MovingAverage::Reset() { in Reset()
57 size_t MovingAverage::Size() const { in Size()
Dmoving_average.h26 class MovingAverage {
29 explicit MovingAverage(size_t window_size);
30 ~MovingAverage();
32 MovingAverage(const MovingAverage&) = delete;
33 MovingAverage& operator=(const MovingAverage&) = delete;
Dmoving_average_unittest.cc18 rtc::MovingAverage moving_average(1); in TEST()
25 rtc::MovingAverage moving_average(1); in TEST()
32 rtc::MovingAverage moving_average(1024); in TEST()
42 rtc::MovingAverage moving_average(1024); in TEST()
51 rtc::MovingAverage moving_average(1024); in TEST()
60 rtc::MovingAverage moving_average(5); in TEST()
74 rtc::MovingAverage moving_average(10); in TEST()
/external/tensorflow/tensorflow/core/util/
Dutil.cc44 MovingAverage::MovingAverage(int window) in MovingAverage() function in tensorflow::MovingAverage
53 MovingAverage::~MovingAverage() { delete[] data_; } in ~MovingAverage()
55 void MovingAverage::Clear() { in Clear()
61 double MovingAverage::GetAverage() const { in GetAverage()
69 void MovingAverage::AddValue(double v) { in AddValue()
Dutil.h32 class MovingAverage {
34 explicit MovingAverage(int window);
35 ~MovingAverage();
/external/webrtc/modules/audio_processing/aec3/
Dmoving_average.cc22 MovingAverage::MovingAverage(size_t num_elem, size_t mem_len) in MovingAverage() function in webrtc::aec3::MovingAverage
32 MovingAverage::~MovingAverage() = default;
34 void MovingAverage::Average(rtc::ArrayView<const float> input, in Average()
Dmoving_average.h23 class MovingAverage {
27 MovingAverage(size_t num_elem, size_t mem_len);
28 ~MovingAverage();
Dmoving_average_unittest.cc17 TEST(MovingAverage, Average) { in TEST() argument
21 aec3::MovingAverage ma(num_elem, mem_len); in TEST()
53 TEST(MovingAverage, PassThrough) { in TEST() argument
57 aec3::MovingAverage ma(num_elem, mem_len); in TEST()
Dsubband_nearend_detector.h44 std::vector<aec3::MovingAverage> nearend_smoothers_;
Dsubband_nearend_detector.cc22 aec3::MovingAverage(kFftLengthBy2Plus1, in SubbandNearendDetector()
Dsuppression_gain.h120 std::vector<aec3::MovingAverage> nearend_smoothers_;
Dsuppression_gain.cc326 aec3::MovingAverage(kFftLengthBy2Plus1,
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCpuMonitor.java86 private final MovingAverage userCpuUsage;
88 private final MovingAverage systemCpuUsage;
90 private final MovingAverage totalCpuUsage;
92 private final MovingAverage frequencyScale;
120 private static class MovingAverage { class in CpuMonitor
127 public MovingAverage(int size) { in MovingAverage() method in CpuMonitor.MovingAverage
173 userCpuUsage = new MovingAverage(MOVING_AVERAGE_SAMPLES); in CpuMonitor()
174 systemCpuUsage = new MovingAverage(MOVING_AVERAGE_SAMPLES); in CpuMonitor()
175 totalCpuUsage = new MovingAverage(MOVING_AVERAGE_SAMPLES); in CpuMonitor()
176 frequencyScale = new MovingAverage(MOVING_AVERAGE_SAMPLES); in CpuMonitor()
/external/webrtc/modules/video_coding/utility/
Dquality_scaler.h90 rtc::MovingAverage average_qp_ RTC_GUARDED_BY(&task_checker_);
91 rtc::MovingAverage framedrop_percent_media_opt_
93 rtc::MovingAverage framedrop_percent_all_ RTC_GUARDED_BY(&task_checker_);
/external/webrtc/video/
Dvideo_quality_observer2.h75 rtc::MovingAverage render_interframe_delays_;
Dvideo_quality_observer.h72 rtc::MovingAverage render_interframe_delays_;
/external/tensorflow/tensorflow/core/distributed_runtime/
Dmaster.h90 MovingAverage last_1000_steps_ TF_GUARDED_BY(mu_);
/external/webrtc/rtc_tools/rtc_event_log_visualizer/
Danalyzer.cc513 MovingAverage<LoggedRtpPacket, double>(CountPackets, stream.packet_view, in CreatePacketRateGraph()
521 MovingAverage<LoggedRtcpPacketIncoming, double>( in CreatePacketRateGraph()
525 MovingAverage<LoggedRtcpPacketOutgoing, double>( in CreatePacketRateGraph()
578 MovingAverage<LogTime, uint64_t>([](auto packet) { return 1; }, packet_times, in CreateTotalPacketRateGraph()
867 MovingAverage<LoggedGenericPacketReceived, double>( in CreateTotalIncomingBitrateGraph()
1044 MovingAverage<LoggedGenericPacketSent, double>( in CreateTotalOutgoingBitrateGraph()
1056 MovingAverage<LoggedGenericPacketSent, double>( in CreateTotalOutgoingBitrateGraph()
1083 MovingAverage<LoggedRtpPacket, double>( in CreateStreamBitrateGraph()
Danalyzer_common.h146 void MovingAverage( in MovingAverage() function