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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/forward_error_correction.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) 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 #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h" 11 #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h"
12 12
13 #include <string.h> 13 #include <string.h>
14 14
15 #include <algorithm> 15 #include <algorithm>
16 #include <iterator> 16 #include <iterator>
17 #include <utility> 17 #include <utility>
18 18
19 #include "webrtc/base/checks.h"
20 #include "webrtc/base/logging.h"
19 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 21 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
20 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" 22 #include "webrtc/modules/rtp_rtcp/source/byte_io.h"
21 #include "webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.h" 23 #include "webrtc/modules/rtp_rtcp/source/flexfec_header_reader_writer.h"
22 #include "webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.h" 24 #include "webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.h"
23 #include "webrtc/modules/rtp_rtcp/source/ulpfec_header_reader_writer.h" 25 #include "webrtc/modules/rtp_rtcp/source/ulpfec_header_reader_writer.h"
24 #include "webrtc/rtc_base/checks.h"
25 #include "webrtc/rtc_base/logging.h"
26 26
27 namespace webrtc { 27 namespace webrtc {
28 28
29 namespace { 29 namespace {
30 // Transport header size in bytes. Assume UDP/IPv4 as a reasonable minimum. 30 // Transport header size in bytes. Assume UDP/IPv4 as a reasonable minimum.
31 constexpr size_t kTransportOverhead = 28; 31 constexpr size_t kTransportOverhead = 28;
32 } // namespace 32 } // namespace
33 33
34 ForwardErrorCorrection::Packet::Packet() : length(0), data(), ref_count_(0) {} 34 ForwardErrorCorrection::Packet::Packet() : length(0), data(), ref_count_(0) {}
35 ForwardErrorCorrection::Packet::~Packet() = default; 35 ForwardErrorCorrection::Packet::~Packet() = default;
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 784
785 size_t FecHeaderWriter::MaxFecPackets() const { 785 size_t FecHeaderWriter::MaxFecPackets() const {
786 return max_fec_packets_; 786 return max_fec_packets_;
787 } 787 }
788 788
789 size_t FecHeaderWriter::MaxPacketOverhead() const { 789 size_t FecHeaderWriter::MaxPacketOverhead() const {
790 return max_packet_overhead_; 790 return max_packet_overhead_;
791 } 791 }
792 792
793 } // namespace webrtc 793 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698