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

Side by Side Diff: webrtc/modules/video_coding/protection_bitrate_calculator.h

Issue 2969653002: Update includes for webrtc/{base => rtc_base} rename (1/3) (Closed)
Patch Set: Rebased onto 89c4a7e57d524b13fbe0c823a83a4c10c2e63bd0 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
« no previous file with comments | « webrtc/modules/video_coding/packet_buffer.cc ('k') | webrtc/modules/video_coding/receiver.h » ('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) 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 #ifndef WEBRTC_MODULES_VIDEO_CODING_PROTECTION_BITRATE_CALCULATOR_H_ 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_PROTECTION_BITRATE_CALCULATOR_H_
12 #define WEBRTC_MODULES_VIDEO_CODING_PROTECTION_BITRATE_CALCULATOR_H_ 12 #define WEBRTC_MODULES_VIDEO_CODING_PROTECTION_BITRATE_CALCULATOR_H_
13 13
14 #include <list> 14 #include <list>
15 #include <memory> 15 #include <memory>
16 16
17 #include "webrtc/base/criticalsection.h"
18 #include "webrtc/modules/include/module_common_types.h" 17 #include "webrtc/modules/include/module_common_types.h"
19 #include "webrtc/modules/video_coding/include/video_coding.h" 18 #include "webrtc/modules/video_coding/include/video_coding.h"
20 #include "webrtc/modules/video_coding/media_opt_util.h" 19 #include "webrtc/modules/video_coding/media_opt_util.h"
20 #include "webrtc/rtc_base/criticalsection.h"
21 #include "webrtc/system_wrappers/include/clock.h" 21 #include "webrtc/system_wrappers/include/clock.h"
22 22
23 namespace webrtc { 23 namespace webrtc {
24 24
25 // ProtectionBitrateCalculator calculates how much of the allocated network 25 // ProtectionBitrateCalculator calculates how much of the allocated network
26 // capacity that can be used by an encoder and how much that 26 // capacity that can be used by an encoder and how much that
27 // is needed for redundant packets such as FEC and NACK. It uses an 27 // is needed for redundant packets such as FEC and NACK. It uses an
28 // implementation of |VCMProtectionCallback| to set new FEC parameters and get 28 // implementation of |VCMProtectionCallback| to set new FEC parameters and get
29 // the bitrate currently used for FEC and NACK. 29 // the bitrate currently used for FEC and NACK.
30 // Usage: 30 // Usage:
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 rtc::CriticalSection crit_sect_; 70 rtc::CriticalSection crit_sect_;
71 std::unique_ptr<media_optimization::VCMLossProtectionLogic> loss_prot_logic_ 71 std::unique_ptr<media_optimization::VCMLossProtectionLogic> loss_prot_logic_
72 GUARDED_BY(crit_sect_); 72 GUARDED_BY(crit_sect_);
73 size_t max_payload_size_ GUARDED_BY(crit_sect_); 73 size_t max_payload_size_ GUARDED_BY(crit_sect_);
74 74
75 RTC_DISALLOW_COPY_AND_ASSIGN(ProtectionBitrateCalculator); 75 RTC_DISALLOW_COPY_AND_ASSIGN(ProtectionBitrateCalculator);
76 }; 76 };
77 77
78 } // namespace webrtc 78 } // namespace webrtc
79 #endif // WEBRTC_MODULES_VIDEO_CODING_PROTECTION_BITRATE_CALCULATOR_H_ 79 #endif // WEBRTC_MODULES_VIDEO_CODING_PROTECTION_BITRATE_CALCULATOR_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/packet_buffer.cc ('k') | webrtc/modules/video_coding/receiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698