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

Side by Side Diff: webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.h

Issue 2964773002: Revert "Update includes for webrtc/{base => rtc_base} rename (1/3)" (Closed)
Patch Set: Created 3 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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
11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_INTELLIGIBILITY_INTELLIGIBILITY_ENHANCER _H_ 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_INTELLIGIBILITY_INTELLIGIBILITY_ENHANCER _H_
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_INTELLIGIBILITY_INTELLIGIBILITY_ENHANCER _H_ 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_INTELLIGIBILITY_INTELLIGIBILITY_ENHANCER _H_
13 13
14 #include <complex> 14 #include <complex>
15 #include <memory> 15 #include <memory>
16 #include <vector> 16 #include <vector>
17 17
18 #include "webrtc/base/swap_queue.h"
18 #include "webrtc/common_audio/channel_buffer.h" 19 #include "webrtc/common_audio/channel_buffer.h"
19 #include "webrtc/common_audio/lapped_transform.h" 20 #include "webrtc/common_audio/lapped_transform.h"
20 #include "webrtc/modules/audio_processing/audio_buffer.h" 21 #include "webrtc/modules/audio_processing/audio_buffer.h"
21 #include "webrtc/modules/audio_processing/intelligibility/intelligibility_utils. h" 22 #include "webrtc/modules/audio_processing/intelligibility/intelligibility_utils. h"
22 #include "webrtc/modules/audio_processing/render_queue_item_verifier.h" 23 #include "webrtc/modules/audio_processing/render_queue_item_verifier.h"
23 #include "webrtc/modules/audio_processing/vad/voice_activity_detector.h" 24 #include "webrtc/modules/audio_processing/vad/voice_activity_detector.h"
24 #include "webrtc/rtc_base/swap_queue.h"
25 25
26 namespace webrtc { 26 namespace webrtc {
27 27
28 // Speech intelligibility enhancement module. Reads render and capture 28 // Speech intelligibility enhancement module. Reads render and capture
29 // audio streams and modifies the render stream with a set of gains per 29 // audio streams and modifies the render stream with a set of gains per
30 // frequency bin to enhance speech against the noise background. 30 // frequency bin to enhance speech against the noise background.
31 // Details of the model and algorithm can be found in the original paper: 31 // Details of the model and algorithm can be found in the original paper:
32 // http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=6882788 32 // http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=6882788
33 class IntelligibilityEnhancer : public LappedTransform::Callback { 33 class IntelligibilityEnhancer : public LappedTransform::Callback {
34 public: 34 public:
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>> 128 SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>
129 noise_estimation_queue_; 129 noise_estimation_queue_;
130 130
131 std::vector<std::unique_ptr<intelligibility::DelayBuffer>> 131 std::vector<std::unique_ptr<intelligibility::DelayBuffer>>
132 high_bands_buffers_; 132 high_bands_buffers_;
133 }; 133 };
134 134
135 } // namespace webrtc 135 } // namespace webrtc
136 136
137 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INTELLIGIBILITY_INTELLIGIBILITY_ENHAN CER_H_ 137 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INTELLIGIBILITY_INTELLIGIBILITY_ENHAN CER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698