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

Side by Side Diff: media/filters/video_renderer_algorithm_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 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
« no previous file with comments | « media/filters/video_renderer_algorithm.h ('k') | media/filters/vp8_bool_decoder.h » ('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 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 <stddef.h>
6 #include <stdint.h>
7
5 #include <cmath> 8 #include <cmath>
6 9
7 #include "base/bind.h" 10 #include "base/bind.h"
8 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/macros.h"
9 #include "base/strings/stringprintf.h" 13 #include "base/strings/stringprintf.h"
10 #include "base/test/simple_test_tick_clock.h" 14 #include "base/test/simple_test_tick_clock.h"
11 #include "media/base/timestamp_constants.h" 15 #include "media/base/timestamp_constants.h"
12 #include "media/base/video_frame_pool.h" 16 #include "media/base/video_frame_pool.h"
13 #include "media/base/wall_clock_time_source.h" 17 #include "media/base/wall_clock_time_source.h"
14 #include "media/filters/video_renderer_algorithm.h" 18 #include "media/filters/video_renderer_algorithm.h"
15 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
16 20
17 namespace media { 21 namespace media {
18 22
(...skipping 1365 matching lines...) Expand 10 before | Expand all | Expand 10 after
1384 ASSERT_TRUE(is_using_cadence()); 1388 ASSERT_TRUE(is_using_cadence());
1385 1389
1386 // Finally the last frame. 1390 // Finally the last frame.
1387 rendered_frame = RenderAndStep(&tg, &frames_dropped); 1391 rendered_frame = RenderAndStep(&tg, &frames_dropped);
1388 EXPECT_EQ(1u, frames_queued()); 1392 EXPECT_EQ(1u, frames_queued());
1389 EXPECT_EQ(tg.interval(12), rendered_frame->timestamp()); 1393 EXPECT_EQ(tg.interval(12), rendered_frame->timestamp());
1390 ASSERT_TRUE(is_using_cadence()); 1394 ASSERT_TRUE(is_using_cadence());
1391 } 1395 }
1392 1396
1393 } // namespace media 1397 } // namespace media
OLDNEW
« no previous file with comments | « media/filters/video_renderer_algorithm.h ('k') | media/filters/vp8_bool_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698