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

Side by Side Diff: webrtc/video/video_send_stream.cc

Issue 2535593002: RTC_[D]CHECK_op: Remove "u" suffix on integer constants (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « webrtc/video/video_quality_test.cc ('k') | webrtc/video/video_send_stream_tests.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 #include "webrtc/video/video_send_stream.h" 10 #include "webrtc/video/video_send_stream.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 TransportFeedbackObserver* transport_feedback_callback, 43 TransportFeedbackObserver* transport_feedback_callback,
44 RtcpRttStats* rtt_stats, 44 RtcpRttStats* rtt_stats,
45 RtpPacketSender* paced_sender, 45 RtpPacketSender* paced_sender,
46 TransportSequenceNumberAllocator* transport_sequence_number_allocator, 46 TransportSequenceNumberAllocator* transport_sequence_number_allocator,
47 FlexfecSender* flexfec_sender, 47 FlexfecSender* flexfec_sender,
48 SendStatisticsProxy* stats_proxy, 48 SendStatisticsProxy* stats_proxy,
49 SendDelayStats* send_delay_stats, 49 SendDelayStats* send_delay_stats,
50 RtcEventLog* event_log, 50 RtcEventLog* event_log,
51 RateLimiter* retransmission_rate_limiter, 51 RateLimiter* retransmission_rate_limiter,
52 size_t num_modules) { 52 size_t num_modules) {
53 RTC_DCHECK_GT(num_modules, 0u); 53 RTC_DCHECK_GT(num_modules, 0);
54 RtpRtcp::Configuration configuration; 54 RtpRtcp::Configuration configuration;
55 ReceiveStatistics* null_receive_statistics = configuration.receive_statistics; 55 ReceiveStatistics* null_receive_statistics = configuration.receive_statistics;
56 configuration.audio = false; 56 configuration.audio = false;
57 configuration.receiver_only = false; 57 configuration.receiver_only = false;
58 configuration.flexfec_sender = flexfec_sender; 58 configuration.flexfec_sender = flexfec_sender;
59 configuration.receive_statistics = null_receive_statistics; 59 configuration.receive_statistics = null_receive_statistics;
60 configuration.outgoing_transport = outgoing_transport; 60 configuration.outgoing_transport = outgoing_transport;
61 configuration.intra_frame_callback = intra_frame_callback; 61 configuration.intra_frame_callback = intra_frame_callback;
62 configuration.bandwidth_callback = bandwidth_callback; 62 configuration.bandwidth_callback = bandwidth_callback;
63 configuration.transport_feedback_callback = transport_feedback_callback; 63 configuration.transport_feedback_callback = transport_feedback_callback;
(...skipping 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after
1212 } 1212 }
1213 1213
1214 void VideoSendStreamImpl::SetTransportOverhead( 1214 void VideoSendStreamImpl::SetTransportOverhead(
1215 int transport_overhead_per_packet) { 1215 int transport_overhead_per_packet) {
1216 for (RtpRtcp* rtp_rtcp : rtp_rtcp_modules_) 1216 for (RtpRtcp* rtp_rtcp : rtp_rtcp_modules_)
1217 rtp_rtcp->SetTransportOverhead(transport_overhead_per_packet); 1217 rtp_rtcp->SetTransportOverhead(transport_overhead_per_packet);
1218 } 1218 }
1219 1219
1220 } // namespace internal 1220 } // namespace internal
1221 } // namespace webrtc 1221 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/video/video_quality_test.cc ('k') | webrtc/video/video_send_stream_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698