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

Side by Side Diff: media/cast/sender/video_sender.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 4 years, 12 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 | « media/cast/sender/video_encoder_unittest.cc ('k') | media/cast/sender/video_sender_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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/video_sender.h" 5 #include "media/cast/sender/video_sender.h"
6 6
7 #include <stdint.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 #include <cmath> 10 #include <cmath>
9 #include <cstring> 11 #include <cstring>
10 12
11 #include "base/bind.h" 13 #include "base/bind.h"
12 #include "base/logging.h" 14 #include "base/logging.h"
13 #include "base/trace_event/trace_event.h" 15 #include "base/trace_event/trace_event.h"
14 #include "media/cast/cast_defines.h" 16 #include "media/cast/cast_defines.h"
15 #include "media/cast/net/cast_transport_config.h" 17 #include "media/cast/net/cast_transport_config.h"
16 #include "media/cast/sender/performance_metrics_overlay.h" 18 #include "media/cast/sender/performance_metrics_overlay.h"
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 media::VideoFrameMetadata::RESOURCE_UTILIZATION, 383 media::VideoFrameMetadata::RESOURCE_UTILIZATION,
382 encoded_frame->dependency == EncodedFrame::KEY ? 384 encoded_frame->dependency == EncodedFrame::KEY ?
383 std::min(1.0, attenuated_utilization) : attenuated_utilization); 385 std::min(1.0, attenuated_utilization) : attenuated_utilization);
384 } 386 }
385 387
386 SendEncodedFrame(encoder_bitrate, encoded_frame.Pass()); 388 SendEncodedFrame(encoder_bitrate, encoded_frame.Pass());
387 } 389 }
388 390
389 } // namespace cast 391 } // namespace cast
390 } // namespace media 392 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/sender/video_encoder_unittest.cc ('k') | media/cast/sender/video_sender_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698