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

Side by Side Diff: webrtc/test/fuzzers/neteq_rtp_fuzzer.cc

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc Created 3 years, 5 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) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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 <cmath> 11 #include <cmath>
12 #include <memory> 12 #include <memory>
13 #include <vector> 13 #include <vector>
14 14
15 #include "webrtc/base/array_view.h"
16 #include "webrtc/modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.h" 15 #include "webrtc/modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.h"
17 #include "webrtc/modules/audio_coding/neteq/tools/audio_checksum.h" 16 #include "webrtc/modules/audio_coding/neteq/tools/audio_checksum.h"
18 #include "webrtc/modules/audio_coding/neteq/tools/encode_neteq_input.h" 17 #include "webrtc/modules/audio_coding/neteq/tools/encode_neteq_input.h"
19 #include "webrtc/modules/audio_coding/neteq/tools/neteq_test.h" 18 #include "webrtc/modules/audio_coding/neteq/tools/neteq_test.h"
20 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" 19 #include "webrtc/modules/rtp_rtcp/source/byte_io.h"
20 #include "webrtc/rtc_base/array_view.h"
21 21
22 namespace webrtc { 22 namespace webrtc {
23 namespace test { 23 namespace test {
24 namespace { 24 namespace {
25 constexpr int kPayloadType = 95; 25 constexpr int kPayloadType = 95;
26 26
27 class SineGenerator : public EncodeNetEqInput::Generator { 27 class SineGenerator : public EncodeNetEqInput::Generator {
28 public: 28 public:
29 explicit SineGenerator(int sample_rate_hz) 29 explicit SineGenerator(int sample_rate_hz)
30 : sample_rate_hz_(sample_rate_hz) {} 30 : sample_rate_hz_(sample_rate_hz) {}
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 test.Run(); 159 test.Run();
160 } 160 }
161 161
162 } // namespace test 162 } // namespace test
163 163
164 void FuzzOneInput(const uint8_t* data, size_t size) { 164 void FuzzOneInput(const uint8_t* data, size_t size) {
165 test::FuzzOneInputTest(data, size); 165 test::FuzzOneInputTest(data, size);
166 } 166 }
167 167
168 } // namespace webrtc 168 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/test/fuzzers/flexfec_receiver_fuzzer.cc ('k') | webrtc/test/fuzzers/pseudotcp_parser_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698