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

Side by Side Diff: webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc

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
OLDNEW
1 /* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 1 /* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
2 * 2 *
3 * Use of this source code is governed by a BSD-style license 3 * Use of this source code is governed by a BSD-style license
4 * that can be found in the LICENSE file in the root of the source 4 * that can be found in the LICENSE file in the root of the source
5 * tree. An additional intellectual property rights grant can be found 5 * tree. An additional intellectual property rights grant can be found
6 * in the file PATENTS. All contributing project authors may 6 * in the file PATENTS. All contributing project authors may
7 * be found in the AUTHORS file in the root of the source tree. 7 * be found in the AUTHORS file in the root of the source tree.
8 */ 8 */
9 9
10 #include "webrtc/modules/video_coding/codecs/vp8/screenshare_layers.h" 10 #include "webrtc/modules/video_coding/codecs/vp8/screenshare_layers.h"
11 11
12 #include <stdlib.h> 12 #include <stdlib.h>
13 13
14 #include <algorithm> 14 #include <algorithm>
15 15
16 #include "webrtc/base/checks.h" 16 #include "vpx/vp8cx.h"
17 #include "vpx/vpx_encoder.h" 17 #include "vpx/vpx_encoder.h"
18 #include "vpx/vp8cx.h"
19 #include "webrtc/modules/video_coding/include/video_codec_interface.h" 18 #include "webrtc/modules/video_coding/include/video_codec_interface.h"
19 #include "webrtc/rtc_base/checks.h"
20 #include "webrtc/system_wrappers/include/clock.h" 20 #include "webrtc/system_wrappers/include/clock.h"
21 #include "webrtc/system_wrappers/include/metrics.h" 21 #include "webrtc/system_wrappers/include/metrics.h"
22 22
23 namespace webrtc { 23 namespace webrtc {
24 24
25 static const int kOneSecond90Khz = 90000; 25 static const int kOneSecond90Khz = 90000;
26 static const int kMinTimeBetweenSyncs = kOneSecond90Khz * 5; 26 static const int kMinTimeBetweenSyncs = kOneSecond90Khz * 5;
27 static const int kMaxTimeBetweenSyncs = kOneSecond90Khz * 10; 27 static const int kMaxTimeBetweenSyncs = kOneSecond90Khz * 10;
28 static const int kQpDeltaThresholdForSync = 8; 28 static const int kQpDeltaThresholdForSync = 8;
29 static const int kMinBitrateKbpsForQpBoost = 500; 29 static const int kMinBitrateKbpsForQpBoost = 500;
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 RTC_HISTOGRAM_COUNTS_10000("WebRTC.Video.Screenshare.Layer1.Qp", 460 RTC_HISTOGRAM_COUNTS_10000("WebRTC.Video.Screenshare.Layer1.Qp",
461 stats_.tl1_qp_sum_ / stats_.num_tl1_frames_); 461 stats_.tl1_qp_sum_ / stats_.num_tl1_frames_);
462 RTC_HISTOGRAM_COUNTS_10000( 462 RTC_HISTOGRAM_COUNTS_10000(
463 "WebRTC.Video.Screenshare.Layer1.TargetBitrate", 463 "WebRTC.Video.Screenshare.Layer1.TargetBitrate",
464 stats_.tl1_target_bitrate_sum_ / stats_.num_tl1_frames_); 464 stats_.tl1_target_bitrate_sum_ / stats_.num_tl1_frames_);
465 } 465 }
466 } 466 }
467 } 467 }
468 468
469 } // namespace webrtc 469 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698