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

Side by Side Diff: media/cast/sender/h264_vt_encoder_unittest.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.cc ('k') | media/cast/sender/performance_metrics_overlay.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 <stdint.h>
6
5 #include <queue> 7 #include <queue>
6 8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/macros.h"
9 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
10 #include "base/power_monitor/power_monitor.h" 13 #include "base/power_monitor/power_monitor.h"
11 #include "base/test/launcher/unit_test_launcher.h" 14 #include "base/test/launcher/unit_test_launcher.h"
12 #include "base/test/power_monitor_test_base.h" 15 #include "base/test/power_monitor_test_base.h"
13 #include "base/test/simple_test_tick_clock.h" 16 #include "base/test/simple_test_tick_clock.h"
14 #include "base/test/test_suite.h" 17 #include "base/test/test_suite.h"
15 #include "media/base/cdm_context.h" 18 #include "media/base/cdm_context.h"
16 #include "media/base/decoder_buffer.h" 19 #include "media/base/decoder_buffer.h"
17 #include "media/base/media.h" 20 #include "media/base/media.h"
18 #include "media/base/media_switches.h" 21 #include "media/base/media_switches.h"
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 gfx::Size(kVideoWidth, kVideoHeight), base::TimeDelta())); 412 gfx::Size(kVideoWidth, kVideoHeight), base::TimeDelta()));
410 413
411 // After a power resume event, the factory should produce frames right away 414 // After a power resume event, the factory should produce frames right away
412 // because the encoder re-initializes on its own. 415 // because the encoder re-initializes on its own.
413 power_source_->GenerateResumeEvent(); 416 power_source_->GenerateResumeEvent();
414 CreateFrameAndMemsetPlane(video_frame_factory.get()); 417 CreateFrameAndMemsetPlane(video_frame_factory.get());
415 } 418 }
416 419
417 } // namespace cast 420 } // namespace cast
418 } // namespace media 421 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/sender/h264_vt_encoder.cc ('k') | media/cast/sender/performance_metrics_overlay.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698