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

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

Issue 3007763002: Move array_view.h to webrtc/api/ (Closed)
Patch Set: rebase Created 3 years, 3 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 /* 2 /*
3 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 3 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
4 * 4 *
5 * 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
6 * 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
7 * tree. An additional intellectual property rights grant can be found 7 * tree. An additional intellectual property rights grant can be found
8 * in the file PATENTS. All contributing project authors may 8 * in the file PATENTS. All contributing project authors may
9 * 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.
10 */ 10 */
11 11
12 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_TEST_BITEXACTNESS_TOOLS_H_ 12 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_TEST_BITEXACTNESS_TOOLS_H_
13 #define WEBRTC_MODULES_AUDIO_PROCESSING_TEST_BITEXACTNESS_TOOLS_H_ 13 #define WEBRTC_MODULES_AUDIO_PROCESSING_TEST_BITEXACTNESS_TOOLS_H_
14 14
15 #include <string> 15 #include <string>
16 16
17 #include "webrtc/api/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 "webrtc/rtc_base/array_view.h"
19 #include "webrtc/test/gtest.h" 19 #include "webrtc/test/gtest.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
22 namespace test { 22 namespace test {
23 23
24 // Returns test vector to use for the render signal in an 24 // Returns test vector to use for the render signal in an
25 // APM bitexactness test. 25 // APM bitexactness test.
26 std::string GetApmRenderTestVectorFileName(int sample_rate_hz); 26 std::string GetApmRenderTestVectorFileName(int sample_rate_hz);
27 27
28 // Returns test vector to use for the capture signal in an 28 // Returns test vector to use for the capture signal in an
(...skipping 18 matching lines...) Expand all
47 // Verifies a vector against a reference and returns the results as an 47 // Verifies a vector against a reference and returns the results as an
48 // AssertionResult. 48 // AssertionResult.
49 ::testing::AssertionResult VerifyArray(rtc::ArrayView<const float> reference, 49 ::testing::AssertionResult VerifyArray(rtc::ArrayView<const float> reference,
50 rtc::ArrayView<const float> output, 50 rtc::ArrayView<const float> output,
51 float element_error_bound); 51 float element_error_bound);
52 52
53 } // namespace test 53 } // namespace test
54 } // namespace webrtc 54 } // namespace webrtc
55 55
56 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_TEST_BITEXACTNESS_TOOLS_H_ 56 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_TEST_BITEXACTNESS_TOOLS_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/test/audio_buffer_tools.h ('k') | webrtc/modules/audio_processing/test/bitexactness_tools.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698