OLD | NEW |
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 |
| 7 #include <utility> |
5 #include <vector> | 8 #include <vector> |
6 #include <utility> | |
7 | 9 |
8 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "build/build_config.h" |
11 #include "media/base/video_frame.h" | 15 #include "media/base/video_frame.h" |
12 #include "media/cast/cast_defines.h" | 16 #include "media/cast/cast_defines.h" |
13 #include "media/cast/cast_environment.h" | 17 #include "media/cast/cast_environment.h" |
14 #include "media/cast/sender/fake_video_encode_accelerator_factory.h" | 18 #include "media/cast/sender/fake_video_encode_accelerator_factory.h" |
| 19 #include "media/cast/sender/video_encoder.h" |
15 #include "media/cast/sender/video_frame_factory.h" | 20 #include "media/cast/sender/video_frame_factory.h" |
16 #include "media/cast/sender/video_encoder.h" | |
17 #include "media/cast/test/fake_single_thread_task_runner.h" | 21 #include "media/cast/test/fake_single_thread_task_runner.h" |
18 #include "media/cast/test/utility/default_config.h" | 22 #include "media/cast/test/utility/default_config.h" |
19 #include "media/cast/test/utility/video_utility.h" | 23 #include "media/cast/test/utility/video_utility.h" |
20 #include "testing/gtest/include/gtest/gtest.h" | 24 #include "testing/gtest/include/gtest/gtest.h" |
21 | 25 |
22 #if defined(OS_MACOSX) | 26 #if defined(OS_MACOSX) |
23 #include "media/cast/sender/h264_vt_encoder.h" | 27 #include "media/cast/sender/h264_vt_encoder.h" |
24 #endif | 28 #endif |
25 | 29 |
26 namespace media { | 30 namespace media { |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 #endif | 422 #endif |
419 return values; | 423 return values; |
420 } | 424 } |
421 } // namespace | 425 } // namespace |
422 | 426 |
423 INSTANTIATE_TEST_CASE_P( | 427 INSTANTIATE_TEST_CASE_P( |
424 , VideoEncoderTest, ::testing::ValuesIn(DetermineEncodersToTest())); | 428 , VideoEncoderTest, ::testing::ValuesIn(DetermineEncodersToTest())); |
425 | 429 |
426 } // namespace cast | 430 } // namespace cast |
427 } // namespace media | 431 } // namespace media |
OLD | NEW |