OLD | NEW |
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 #include "webrtc/modules/audio_coding/codecs/opus/interface/opus_interface.h" | 11 #include "webrtc/modules/audio_coding/codecs/opus/include/opus_interface.h" |
12 #include "webrtc/modules/audio_coding/codecs/tools/audio_codec_speed_test.h" | 12 #include "webrtc/modules/audio_coding/codecs/tools/audio_codec_speed_test.h" |
13 | 13 |
14 using ::std::string; | 14 using ::std::string; |
15 | 15 |
16 namespace webrtc { | 16 namespace webrtc { |
17 | 17 |
18 static const int kOpusBlockDurationMs = 20; | 18 static const int kOpusBlockDurationMs = 20; |
19 static const int kOpusSamplingKhz = 48; | 19 static const int kOpusSamplingKhz = 48; |
20 | 20 |
21 class OpusSpeedTest : public AudioCodecSpeedTest { | 21 class OpusSpeedTest : public AudioCodecSpeedTest { |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 string("audio_coding/speech_mono_32_48kHz"), | 112 string("audio_coding/speech_mono_32_48kHz"), |
113 string("pcm"), true), | 113 string("pcm"), true), |
114 ::std::tr1::make_tuple(2, 64000, | 114 ::std::tr1::make_tuple(2, 64000, |
115 string("audio_coding/music_stereo_48kHz"), | 115 string("audio_coding/music_stereo_48kHz"), |
116 string("pcm"), true)}; | 116 string("pcm"), true)}; |
117 | 117 |
118 INSTANTIATE_TEST_CASE_P(AllTest, OpusSpeedTest, | 118 INSTANTIATE_TEST_CASE_P(AllTest, OpusSpeedTest, |
119 ::testing::ValuesIn(param_set)); | 119 ::testing::ValuesIn(param_set)); |
120 | 120 |
121 } // namespace webrtc | 121 } // namespace webrtc |
OLD | NEW |