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

Side by Side Diff: webrtc/modules/audio_coding/neteq/tools/packet.cc

Issue 2964773002: Revert "Update includes for webrtc/{base => rtc_base} rename (1/3)" (Closed)
Patch Set: 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) 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/neteq/tools/packet.h" 11 #include "webrtc/modules/audio_coding/neteq/tools/packet.h"
12 12
13 #include <string.h> 13 #include <string.h>
14 14
15 #include <memory> 15 #include <memory>
16 16
17 #include "webrtc/base/checks.h"
17 #include "webrtc/modules/include/module_common_types.h" 18 #include "webrtc/modules/include/module_common_types.h"
18 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" 19 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h"
19 #include "webrtc/rtc_base/checks.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
22 namespace test { 22 namespace test {
23 23
24 Packet::Packet(uint8_t* packet_memory, 24 Packet::Packet(uint8_t* packet_memory,
25 size_t allocated_bytes, 25 size_t allocated_bytes,
26 double time_ms, 26 double time_ms,
27 const RtpHeaderParser& parser) 27 const RtpHeaderParser& parser)
28 : payload_memory_(packet_memory), 28 : payload_memory_(packet_memory),
29 payload_(NULL), 29 payload_(NULL),
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 destination->payload_type_frequency = header_.payload_type_frequency; 161 destination->payload_type_frequency = header_.payload_type_frequency;
162 memcpy(&destination->arrOfCSRCs, 162 memcpy(&destination->arrOfCSRCs,
163 &header_.arrOfCSRCs, 163 &header_.arrOfCSRCs,
164 sizeof(header_.arrOfCSRCs)); 164 sizeof(header_.arrOfCSRCs));
165 memcpy( 165 memcpy(
166 &destination->extension, &header_.extension, sizeof(header_.extension)); 166 &destination->extension, &header_.extension, sizeof(header_.extension));
167 } 167 }
168 168
169 } // namespace test 169 } // namespace test
170 } // namespace webrtc 170 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/tools/packet.h ('k') | webrtc/modules/audio_coding/neteq/tools/packet_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698