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

Side by Side Diff: webrtc/modules/audio_coding/neteq/packet.h

Issue 1417683006: modules: more interface -> include renames (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix last incorrectly wrapped pragma message Created 5 years, 1 month 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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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_PACKET_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_PACKET_H_
12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_PACKET_H_ 12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_PACKET_H_
13 13
14 #include <list> 14 #include <list>
15 15
16 #include "webrtc/modules/interface/module_common_types.h" 16 #include "webrtc/modules/include/module_common_types.h"
17 #include "webrtc/typedefs.h" 17 #include "webrtc/typedefs.h"
18 18
19 namespace webrtc { 19 namespace webrtc {
20 20
21 // Struct for holding RTP packets. 21 // Struct for holding RTP packets.
22 struct Packet { 22 struct Packet {
23 RTPHeader header; 23 RTPHeader header;
24 uint8_t* payload; // Datagram excluding RTP header and header extension. 24 uint8_t* payload; // Datagram excluding RTP header and header extension.
25 size_t payload_length; 25 size_t payload_length;
26 bool primary; // Primary, i.e., not redundant payload. 26 bool primary; // Primary, i.e., not redundant payload.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 bool operator>(const Packet& rhs) const { return rhs.operator<(*this); } 79 bool operator>(const Packet& rhs) const { return rhs.operator<(*this); }
80 bool operator<=(const Packet& rhs) const { return !operator>(rhs); } 80 bool operator<=(const Packet& rhs) const { return !operator>(rhs); }
81 bool operator>=(const Packet& rhs) const { return !operator<(rhs); } 81 bool operator>=(const Packet& rhs) const { return !operator<(rhs); }
82 }; 82 };
83 83
84 // A list of packets. 84 // A list of packets.
85 typedef std::list<Packet*> PacketList; 85 typedef std::list<Packet*> PacketList;
86 86
87 } // namespace webrtc 87 } // namespace webrtc
88 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_PACKET_H_ 88 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_PACKET_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/neteq_impl.cc ('k') | webrtc/modules/audio_coding/neteq/rtcp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698