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

Side by Side Diff: media/cast/sender/h264_vt_encoder.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/h264_vt_encoder.h ('k') | media/cast/sender/h264_vt_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 // 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/h264_vt_encoder.h" 5 #include "media/cast/sender/h264_vt_encoder.h"
6 6
7 #include <stddef.h>
8
7 #include <string> 9 #include <string>
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/big_endian.h" 12 #include "base/big_endian.h"
11 #include "base/bind.h" 13 #include "base/bind.h"
12 #include "base/bind_helpers.h" 14 #include "base/bind_helpers.h"
13 #include "base/location.h" 15 #include "base/location.h"
14 #include "base/logging.h" 16 #include "base/logging.h"
15 #include "base/macros.h" 17 #include "base/macros.h"
16 #include "base/power_monitor/power_monitor.h" 18 #include "base/power_monitor/power_monitor.h"
17 #include "base/synchronization/lock.h" 19 #include "base/synchronization/lock.h"
20 #include "build/build_config.h"
18 #include "media/base/mac/corevideo_glue.h" 21 #include "media/base/mac/corevideo_glue.h"
19 #include "media/base/mac/video_frame_mac.h" 22 #include "media/base/mac/video_frame_mac.h"
20 #include "media/cast/cast_defines.h" 23 #include "media/cast/cast_defines.h"
21 #include "media/cast/constants.h" 24 #include "media/cast/constants.h"
22 #include "media/cast/sender/video_frame_factory.h" 25 #include "media/cast/sender/video_frame_factory.h"
23 26
24 namespace media { 27 namespace media {
25 namespace cast { 28 namespace cast {
26 29
27 namespace { 30 namespace {
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 encoded_frame->encode_completion_time = 760 encoded_frame->encode_completion_time =
758 encoder->cast_environment_->Clock()->NowTicks(); 761 encoder->cast_environment_->Clock()->NowTicks();
759 encoder->cast_environment_->PostTask( 762 encoder->cast_environment_->PostTask(
760 CastEnvironment::MAIN, FROM_HERE, 763 CastEnvironment::MAIN, FROM_HERE,
761 base::Bind(request->frame_encoded_callback, 764 base::Bind(request->frame_encoded_callback,
762 base::Passed(&encoded_frame))); 765 base::Passed(&encoded_frame)));
763 } 766 }
764 767
765 } // namespace cast 768 } // namespace cast
766 } // namespace media 769 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/sender/h264_vt_encoder.h ('k') | media/cast/sender/h264_vt_encoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698