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

Unified Diff: webrtc/video_engine/overuse_frame_detector.h

Issue 1481723003: Enable cpplint for webrtc/video_engine (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « PRESUBMIT.py ('k') | webrtc/video_engine/overuse_frame_detector_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video_engine/overuse_frame_detector.h
diff --git a/webrtc/video_engine/overuse_frame_detector.h b/webrtc/video_engine/overuse_frame_detector.h
index 0deb5ba83c3b2def0c46dd6f6366c86737b492db..050b14fd003a669c4a05a5e6a8825fcae075af80 100644
--- a/webrtc/video_engine/overuse_frame_detector.h
+++ b/webrtc/video_engine/overuse_frame_detector.h
@@ -50,7 +50,7 @@ struct CpuOveruseOptions {
// Method based on encode time of frames.
bool enable_encode_usage_method;
int low_encode_usage_threshold_percent; // Threshold for triggering underuse.
- int high_encode_usage_threshold_percent; // Threshold for triggering overuse.
+ int high_encode_usage_threshold_percent; // Threshold for triggering overuse.
pbos 2015/11/26 13:51:58 run git cl format (that'll align //s)
kjellander_webrtc 2015/11/26 14:04:45 No it didn't do anything to my CL, I guess it's be
bool enable_extended_processing_usage; // Include a larger time span (in
// addition to encode time) for
// measuring the processing time of a
@@ -61,9 +61,9 @@ struct CpuOveruseOptions {
int min_frame_samples; // The minimum number of frames required.
int min_process_count; // The number of initial process times required before
// triggering an overuse/underuse.
- int high_threshold_consecutive_count; // The number of consecutive checks
- // above the high threshold before
- // triggering an overuse.
+ int high_threshold_consecutive_count; // The number of consecutive checks
+ // above the high threshold before
+ // triggering an overuse.
};
struct CpuOveruseMetrics {
@@ -71,9 +71,9 @@ struct CpuOveruseMetrics {
: avg_encode_time_ms(-1),
encode_usage_percent(-1) {}
- int avg_encode_time_ms; // The average encode time in ms.
- int encode_usage_percent; // The average encode time divided by the average
- // time difference between incoming captured frames.
+ int avg_encode_time_ms; // Average encode time in ms.
+ int encode_usage_percent; // Average encode time divided by the average time
+ // difference between incoming captured frames.
};
class CpuOveruseMetricsObserver {
« no previous file with comments | « PRESUBMIT.py ('k') | webrtc/video_engine/overuse_frame_detector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698