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

Side by Side Diff: webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.h

Issue 2809153002: Change from WebRtcRTPHeader to RTPHeader in NetEq tests and tools (Closed)
Patch Set: Fixing neteq_rtp_fuzzer Created 3 years, 8 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) 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 17
18 #include "webrtc/common_types.h"
18 #include "webrtc/modules/audio_coding/neteq/include/neteq.h" 19 #include "webrtc/modules/audio_coding/neteq/include/neteq.h"
19 #include "webrtc/modules/audio_coding/neteq/tools/audio_sink.h" 20 #include "webrtc/modules/audio_coding/neteq/tools/audio_sink.h"
20 #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h" 21 #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h"
21 #include "webrtc/modules/audio_coding/neteq/tools/rtp_generator.h" 22 #include "webrtc/modules/audio_coding/neteq/tools/rtp_generator.h"
22 #include "webrtc/modules/include/module_common_types.h" 23 #include "webrtc/modules/include/module_common_types.h"
23 #include "webrtc/test/gtest.h" 24 #include "webrtc/test/gtest.h"
24 #include "webrtc/typedefs.h" 25 #include "webrtc/typedefs.h"
25 26
26 using google::RegisterFlagValidator; 27 using google::RegisterFlagValidator;
27 28
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 std::unique_ptr<AudioSink> output_; 124 std::unique_ptr<AudioSink> output_;
124 std::ofstream log_file_; 125 std::ofstream log_file_;
125 126
126 std::unique_ptr<RtpGenerator> rtp_generator_; 127 std::unique_ptr<RtpGenerator> rtp_generator_;
127 std::unique_ptr<NetEq> neteq_; 128 std::unique_ptr<NetEq> neteq_;
128 std::unique_ptr<LossModel> loss_model_; 129 std::unique_ptr<LossModel> loss_model_;
129 130
130 std::unique_ptr<int16_t[]> in_data_; 131 std::unique_ptr<int16_t[]> in_data_;
131 rtc::Buffer payload_; 132 rtc::Buffer payload_;
132 AudioFrame out_frame_; 133 AudioFrame out_frame_;
133 WebRtcRTPHeader rtp_header_; 134 RTPHeader rtp_header_;
134 135
135 size_t total_payload_size_bytes_; 136 size_t total_payload_size_bytes_;
136 }; 137 };
137 138
138 } // namespace test 139 } // namespace test
139 } // namespace webrtc 140 } // namespace webrtc
140 141
141 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_QUALITY_TEST_H_ 142 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_QUALITY_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698