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

Side by Side Diff: media/cast/sender/performance_metrics_overlay.cc

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 5 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/cast/sender/performance_metrics_overlay.h" 5 #include "media/cast/sender/performance_metrics_overlay.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <algorithm> 10 #include <algorithm>
8 #include <string> 11 #include <string>
9 12
10 #include "base/logging.h" 13 #include "base/logging.h"
11 #include "base/numerics/safe_conversions.h" 14 #include "base/numerics/safe_conversions.h"
12 #include "base/strings/stringprintf.h" 15 #include "base/strings/stringprintf.h"
13 #include "media/base/video_frame.h" 16 #include "media/base/video_frame.h"
14 17
15 namespace media { 18 namespace media {
16 namespace cast { 19 namespace cast {
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 RenderLineOfText(base::StringPrintf("%d %3.1d%% %3.1d%%", 306 RenderLineOfText(base::StringPrintf("%d %3.1d%% %3.1d%%",
304 frames_ago, 307 frames_ago,
305 deadline_pct, 308 deadline_pct,
306 lossy_pct), 309 lossy_pct),
307 top, 310 top,
308 frame); 311 frame);
309 } 312 }
310 313
311 } // namespace cast 314 } // namespace cast
312 } // namespace media 315 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/sender/h264_vt_encoder_unittest.cc ('k') | media/cast/sender/size_adaptable_video_encoder_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698