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 #ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_QUALITY_TEST_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_QUALITY_TEST_H_ |
12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_QUALITY_TEST_H_ | 12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_QUALITY_TEST_H_ |
13 | 13 |
14 #include <fstream> | 14 #include <fstream> |
15 #include <memory> | 15 #include <memory> |
16 #include <gflags/gflags.h> | 16 #include <gflags/gflags.h> |
17 #include "webrtc/test/gtest.h" | 17 |
18 #include "webrtc/modules/audio_coding/neteq/include/neteq.h" | 18 #include "webrtc/modules/audio_coding/neteq/include/neteq.h" |
19 #include "webrtc/modules/audio_coding/neteq/tools/audio_sink.h" | 19 #include "webrtc/modules/audio_coding/neteq/tools/audio_sink.h" |
20 #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h" | 20 #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h" |
21 #include "webrtc/modules/audio_coding/neteq/tools/rtp_generator.h" | 21 #include "webrtc/modules/audio_coding/neteq/tools/rtp_generator.h" |
22 #include "webrtc/modules/include/module_common_types.h" | 22 #include "webrtc/modules/include/module_common_types.h" |
| 23 #include "webrtc/test/gtest.h" |
23 #include "webrtc/typedefs.h" | 24 #include "webrtc/typedefs.h" |
24 | 25 |
25 using google::RegisterFlagValidator; | 26 using google::RegisterFlagValidator; |
26 | 27 |
27 namespace webrtc { | 28 namespace webrtc { |
28 namespace test { | 29 namespace test { |
29 | 30 |
30 class LossModel { | 31 class LossModel { |
31 public: | 32 public: |
32 virtual ~LossModel() {}; | 33 virtual ~LossModel() {}; |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 AudioFrame out_frame_; | 132 AudioFrame out_frame_; |
132 WebRtcRTPHeader rtp_header_; | 133 WebRtcRTPHeader rtp_header_; |
133 | 134 |
134 size_t total_payload_size_bytes_; | 135 size_t total_payload_size_bytes_; |
135 }; | 136 }; |
136 | 137 |
137 } // namespace test | 138 } // namespace test |
138 } // namespace webrtc | 139 } // namespace webrtc |
139 | 140 |
140 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_QUALITY_TEST_H_ | 141 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_QUALITY_TEST_H_ |
OLD | NEW |