Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: webrtc/modules/audio_processing/include/audio_processing.h

Issue 1862393002: Pulling AEC divergent filter fraction. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: polishing a comment Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/modules/audio_processing/echo_cancellation_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 AudioProcessing::Statistic residual_echo_return_loss; 665 AudioProcessing::Statistic residual_echo_return_loss;
666 666
667 // ERL = 10log_10(P_far / P_echo) 667 // ERL = 10log_10(P_far / P_echo)
668 AudioProcessing::Statistic echo_return_loss; 668 AudioProcessing::Statistic echo_return_loss;
669 669
670 // ERLE = 10log_10(P_echo / P_out) 670 // ERLE = 10log_10(P_echo / P_out)
671 AudioProcessing::Statistic echo_return_loss_enhancement; 671 AudioProcessing::Statistic echo_return_loss_enhancement;
672 672
673 // (Pre non-linear processing suppression) A_NLP = 10log_10(P_echo / P_a) 673 // (Pre non-linear processing suppression) A_NLP = 10log_10(P_echo / P_a)
674 AudioProcessing::Statistic a_nlp; 674 AudioProcessing::Statistic a_nlp;
675
676 // Fraction of time that the AEC linear filter is divergent, in a 0.5-second
677 // non-overlapped aggregation window.
678 float divergent_filter_fraction;
675 }; 679 };
676 680
677 // TODO(ajm): discuss the metrics update period. 681 // TODO(ajm): discuss the metrics update period.
678 virtual int GetMetrics(Metrics* metrics) = 0; 682 virtual int GetMetrics(Metrics* metrics) = 0;
679 683
680 // Enables computation and logging of delay values. Statistics are obtained 684 // Enables computation and logging of delay values. Statistics are obtained
681 // through |GetDelayMetrics()|. 685 // through |GetDelayMetrics()|.
682 virtual int enable_delay_logging(bool enable) = 0; 686 virtual int enable_delay_logging(bool enable) = 0;
683 virtual bool is_delay_logging_enabled() const = 0; 687 virtual bool is_delay_logging_enabled() const = 0;
684 688
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 // This does not impact the size of frames passed to |ProcessStream()|. 968 // This does not impact the size of frames passed to |ProcessStream()|.
965 virtual int set_frame_size_ms(int size) = 0; 969 virtual int set_frame_size_ms(int size) = 0;
966 virtual int frame_size_ms() const = 0; 970 virtual int frame_size_ms() const = 0;
967 971
968 protected: 972 protected:
969 virtual ~VoiceDetection() {} 973 virtual ~VoiceDetection() {}
970 }; 974 };
971 } // namespace webrtc 975 } // namespace webrtc
972 976
973 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AUDIO_PROCESSING_H_ 977 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AUDIO_PROCESSING_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/echo_cancellation_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698