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

Side by Side Diff: webrtc/modules/audio_processing/test/bitexactness_tools.h

Issue 1811443002: Added a bitexactness test for the level estimator in the audio processing module (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@NsBitLatest_CL
Patch Set: Changes in response to reviewer comment and in order to harmonize the code with the other bitexactn… Created 4 years, 9 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
hlundin-webrtc 2016/03/17 15:20:57 Nope.
1 /* 2 /*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 3 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
3 * 4 *
4 * Use of this source code is governed by a BSD-style license 5 * 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 6 * 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 7 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 8 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 9 * be found in the AUTHORS file in the root of the source tree.
9 */ 10 */
10 11
11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_TEST_BITEXACTNESS_TOOLS_H_ 12 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_TEST_BITEXACTNESS_TOOLS_H_
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_TEST_BITEXACTNESS_TOOLS_H_ 13 #define WEBRTC_MODULES_AUDIO_PROCESSING_TEST_BITEXACTNESS_TOOLS_H_
13 14
14 #include <string> 15 #include <string>
hlundin-webrtc 2016/03/17 15:20:57 Aren't all these changes done in the previous CL?
15 16
16 #include "webrtc/base/array_view.h" 17 #include "webrtc/base/array_view.h"
17 #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h" 18 #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h"
18 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
19 20
20 namespace webrtc { 21 namespace webrtc {
21 namespace test { 22 namespace test {
22 23
23 // Returns test vector to use for the render signal in an 24 // Returns test vector to use for the render signal in an
24 // APM bitexactness test. 25 // APM bitexactness test.
(...skipping 20 matching lines...) Expand all
45 // Verifies a vector against a reference and returns the results as an 46 // Verifies a vector against a reference and returns the results as an
46 // AssertionResult. 47 // AssertionResult.
47 ::testing::AssertionResult BitExactVector(rtc::ArrayView<const float> reference, 48 ::testing::AssertionResult BitExactVector(rtc::ArrayView<const float> reference,
48 rtc::ArrayView<const float> output, 49 rtc::ArrayView<const float> output,
49 float tolerance); 50 float tolerance);
50 51
51 } // namespace test 52 } // namespace test
52 } // namespace webrtc 53 } // namespace webrtc
53 54
54 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_TEST_BITEXACTNESS_TOOLS_H_ 55 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_TEST_BITEXACTNESS_TOOLS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698