OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <map> | 5 #include <map> |
6 #include <string> | 6 #include <string> |
7 | 7 |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "base/process_util.h" | 11 #include "base/process_util.h" |
12 #include "base/stl_util-inl.h" | 12 #include "base/stl_util.h" |
13 #include "base/stringprintf.h" | 13 #include "base/stringprintf.h" |
14 #include "content/browser/browser_thread.h" | 14 #include "content/browser/browser_thread.h" |
15 #include "content/browser/renderer_host/media/media_stream_manager.h" | 15 #include "content/browser/renderer_host/media/media_stream_manager.h" |
16 #include "content/browser/renderer_host/media/video_capture_host.h" | 16 #include "content/browser/renderer_host/media/video_capture_host.h" |
17 #include "content/browser/renderer_host/media/video_capture_manager.h" | 17 #include "content/browser/renderer_host/media/video_capture_manager.h" |
18 #include "content/common/media/video_capture_messages.h" | 18 #include "content/common/media/video_capture_messages.h" |
19 #include "media/video/capture/video_capture_types.h" | 19 #include "media/video/capture/video_capture_types.h" |
20 | 20 |
21 #include "testing/gmock/include/gmock/gmock.h" | 21 #include "testing/gmock/include/gmock/gmock.h" |
22 #include "testing/gtest/include/gtest/gtest.h" | 22 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 } | 376 } |
377 | 377 |
378 #ifdef DUMP_VIDEO | 378 #ifdef DUMP_VIDEO |
379 TEST_F(VideoCaptureHostTest, CaptureAndDumpVideoVga) { | 379 TEST_F(VideoCaptureHostTest, CaptureAndDumpVideoVga) { |
380 CaptureAndDumpVideo(640, 480, 30); | 380 CaptureAndDumpVideo(640, 480, 30); |
381 } | 381 } |
382 TEST_F(VideoCaptureHostTest, CaptureAndDump720P) { | 382 TEST_F(VideoCaptureHostTest, CaptureAndDump720P) { |
383 CaptureAndDumpVideo(1280, 720, 30); | 383 CaptureAndDumpVideo(1280, 720, 30); |
384 } | 384 } |
385 #endif | 385 #endif |
OLD | NEW |