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

Side by Side Diff: media/gpu/video_encode_accelerator_unittest.cc

Issue 2596283002: Include-what-you-use for ThreadTaskRunnerHandle. (Closed)
Patch Set: rebase Created 3 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <inttypes.h> 5 #include <inttypes.h>
6 #include <stddef.h> 6 #include <stddef.h>
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <memory> 10 #include <memory>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "media/filters/ffmpeg_video_decoder.h" 46 #include "media/filters/ffmpeg_video_decoder.h"
47 #include "media/filters/h264_parser.h" 47 #include "media/filters/h264_parser.h"
48 #include "media/filters/ivf_parser.h" 48 #include "media/filters/ivf_parser.h"
49 #include "media/gpu/video_accelerator_unittest_helpers.h" 49 #include "media/gpu/video_accelerator_unittest_helpers.h"
50 #include "media/video/fake_video_encode_accelerator.h" 50 #include "media/video/fake_video_encode_accelerator.h"
51 #include "media/video/video_encode_accelerator.h" 51 #include "media/video/video_encode_accelerator.h"
52 #include "testing/gtest/include/gtest/gtest.h" 52 #include "testing/gtest/include/gtest/gtest.h"
53 53
54 #if defined(OS_CHROMEOS) 54 #if defined(OS_CHROMEOS)
55 #if defined(USE_V4L2_CODEC) 55 #if defined(USE_V4L2_CODEC)
56 #include "base/threading/thread_task_runner_handle.h"
56 #include "media/gpu/v4l2_video_encode_accelerator.h" 57 #include "media/gpu/v4l2_video_encode_accelerator.h"
57 #endif 58 #endif
58 #if defined(ARCH_CPU_X86_FAMILY) 59 #if defined(ARCH_CPU_X86_FAMILY)
59 #include "media/gpu/vaapi_video_encode_accelerator.h" 60 #include "media/gpu/vaapi_video_encode_accelerator.h"
60 #include "media/gpu/vaapi_wrapper.h" 61 #include "media/gpu/vaapi_wrapper.h"
61 // Status has been defined as int in Xlib.h. 62 // Status has been defined as int in Xlib.h.
62 #undef Status 63 #undef Status
63 #endif // defined(ARCH_CPU_X86_FAMILY) 64 #endif // defined(ARCH_CPU_X86_FAMILY)
64 #elif defined(OS_MACOSX) 65 #elif defined(OS_MACOSX)
65 #include "media/gpu/vt_video_encode_accelerator_mac.h" 66 #include "media/gpu/vt_video_encode_accelerator_mac.h"
(...skipping 2264 matching lines...) Expand 10 before | Expand all | Expand 10 after
2330 2331
2331 media::g_env = 2332 media::g_env =
2332 reinterpret_cast<media::VideoEncodeAcceleratorTestEnvironment*>( 2333 reinterpret_cast<media::VideoEncodeAcceleratorTestEnvironment*>(
2333 testing::AddGlobalTestEnvironment( 2334 testing::AddGlobalTestEnvironment(
2334 new media::VideoEncodeAcceleratorTestEnvironment( 2335 new media::VideoEncodeAcceleratorTestEnvironment(
2335 std::move(test_stream_data), log_path, run_at_fps, 2336 std::move(test_stream_data), log_path, run_at_fps,
2336 needs_encode_latency, verify_all_output))); 2337 needs_encode_latency, verify_all_output)));
2337 2338
2338 return RUN_ALL_TESTS(); 2339 return RUN_ALL_TESTS();
2339 } 2340 }
OLDNEW
« no previous file with comments | « media/gpu/vaapi_video_encode_accelerator.cc ('k') | media/mojo/clients/mojo_renderer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698