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

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

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc 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/video/vie_encoder.h ('k') | webrtc/video/vie_encoder_unittest.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) 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/video/vie_encoder.h" 11 #include "webrtc/video/vie_encoder.h"
12 12
13 #include <algorithm> 13 #include <algorithm>
14 #include <limits> 14 #include <limits>
15 #include <numeric> 15 #include <numeric>
16 #include <utility> 16 #include <utility>
17 17
18 #include "webrtc/api/video/i420_buffer.h" 18 #include "webrtc/api/video/i420_buffer.h"
19 #include "webrtc/base/arraysize.h"
20 #include "webrtc/base/checks.h"
21 #include "webrtc/base/location.h"
22 #include "webrtc/base/logging.h"
23 #include "webrtc/base/timeutils.h"
24 #include "webrtc/base/trace_event.h"
25 #include "webrtc/common_video/include/video_bitrate_allocator.h" 19 #include "webrtc/common_video/include/video_bitrate_allocator.h"
26 #include "webrtc/common_video/include/video_frame.h" 20 #include "webrtc/common_video/include/video_frame.h"
27 #include "webrtc/modules/pacing/paced_sender.h" 21 #include "webrtc/modules/pacing/paced_sender.h"
28 #include "webrtc/modules/video_coding/codecs/vp8/temporal_layers.h" 22 #include "webrtc/modules/video_coding/codecs/vp8/temporal_layers.h"
29 #include "webrtc/modules/video_coding/include/video_codec_initializer.h" 23 #include "webrtc/modules/video_coding/include/video_codec_initializer.h"
30 #include "webrtc/modules/video_coding/include/video_coding.h" 24 #include "webrtc/modules/video_coding/include/video_coding.h"
31 #include "webrtc/modules/video_coding/include/video_coding_defines.h" 25 #include "webrtc/modules/video_coding/include/video_coding_defines.h"
26 #include "webrtc/rtc_base/arraysize.h"
27 #include "webrtc/rtc_base/checks.h"
28 #include "webrtc/rtc_base/location.h"
29 #include "webrtc/rtc_base/logging.h"
30 #include "webrtc/rtc_base/timeutils.h"
31 #include "webrtc/rtc_base/trace_event.h"
32 #include "webrtc/video/overuse_frame_detector.h" 32 #include "webrtc/video/overuse_frame_detector.h"
33 #include "webrtc/video/send_statistics_proxy.h" 33 #include "webrtc/video/send_statistics_proxy.h"
34 34
35 namespace webrtc { 35 namespace webrtc {
36 36
37 namespace { 37 namespace {
38 38
39 // Time interval for logging frame counts. 39 // Time interval for logging frame counts.
40 const int64_t kFrameLogIntervalMs = 60000; 40 const int64_t kFrameLogIntervalMs = 60000;
41 41
(...skipping 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after
1241 std::string ViEEncoder::AdaptCounter::ToString( 1241 std::string ViEEncoder::AdaptCounter::ToString(
1242 const std::vector<int>& counters) const { 1242 const std::vector<int>& counters) const {
1243 std::stringstream ss; 1243 std::stringstream ss;
1244 for (size_t reason = 0; reason < kScaleReasonSize; ++reason) { 1244 for (size_t reason = 0; reason < kScaleReasonSize; ++reason) {
1245 ss << (reason ? " cpu" : "quality") << ":" << counters[reason]; 1245 ss << (reason ? " cpu" : "quality") << ":" << counters[reason];
1246 } 1246 }
1247 return ss.str(); 1247 return ss.str();
1248 } 1248 }
1249 1249
1250 } // namespace webrtc 1250 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/video/vie_encoder.h ('k') | webrtc/video/vie_encoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698