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

Side by Side Diff: webrtc/modules/audio_processing/utility/delay_estimator_wrapper.cc

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) 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
11 #include "webrtc/modules/audio_processing/utility/delay_estimator_wrapper.h" 11 #include "webrtc/modules/audio_processing/utility/delay_estimator_wrapper.h"
12 12
13 #include <stdlib.h> 13 #include <stdlib.h>
14 #include <string.h> 14 #include <string.h>
15 15
16 #include "webrtc/base/checks.h"
16 #include "webrtc/modules/audio_processing/utility/delay_estimator.h" 17 #include "webrtc/modules/audio_processing/utility/delay_estimator.h"
17 #include "webrtc/modules/audio_processing/utility/delay_estimator_internal.h" 18 #include "webrtc/modules/audio_processing/utility/delay_estimator_internal.h"
18 #include "webrtc/rtc_base/checks.h"
19 19
20 // Only bit |kBandFirst| through bit |kBandLast| are processed and 20 // Only bit |kBandFirst| through bit |kBandLast| are processed and
21 // |kBandFirst| - |kBandLast| must be < 32. 21 // |kBandFirst| - |kBandLast| must be < 32.
22 enum { kBandFirst = 12 }; 22 enum { kBandFirst = 12 };
23 enum { kBandLast = 43 }; 23 enum { kBandLast = 43 };
24 24
25 static __inline uint32_t SetBit(uint32_t in, int pos) { 25 static __inline uint32_t SetBit(uint32_t in, int pos) {
26 uint32_t mask = (1 << pos); 26 uint32_t mask = (1 << pos);
27 uint32_t out = (in | mask); 27 uint32_t out = (in | mask);
28 28
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 } 477 }
478 478
479 return WebRtc_binary_last_delay(self->binary_handle); 479 return WebRtc_binary_last_delay(self->binary_handle);
480 } 480 }
481 481
482 float WebRtc_last_delay_quality(void* handle) { 482 float WebRtc_last_delay_quality(void* handle) {
483 DelayEstimator* self = (DelayEstimator*) handle; 483 DelayEstimator* self = (DelayEstimator*) handle;
484 RTC_DCHECK(self); 484 RTC_DCHECK(self);
485 return WebRtc_binary_last_delay_quality(self->binary_handle); 485 return WebRtc_binary_last_delay_quality(self->binary_handle);
486 } 486 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/utility/delay_estimator.cc ('k') | webrtc/modules/audio_processing/vad/standalone_vad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698