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 "media/video/capture/video_capture_device_dummy.h" | 5 #include "media/video/capture/video_capture_device_dummy.h" |
6 | 6 |
7 namespace media { | 7 namespace media { |
8 | 8 |
9 VideoCaptureDevice* VideoCaptureDevice::Create(const Name& device_name) { | 9 VideoCaptureDevice* VideoCaptureDevice::Create(const Name& device_name) { |
10 return NULL; | 10 return NULL; |
11 } | 11 } |
12 | 12 |
13 void VideoCaptureDevice::GetDeviceNames(Names* device_names) {} | 13 void VideoCaptureDevice::GetDeviceNames(Names* device_names) {} |
14 | 14 |
15 VideoCaptureDeviceDummy::VideoCaptureDeviceDummy() {} | 15 VideoCaptureDeviceDummy::VideoCaptureDeviceDummy() {} |
16 | 16 |
17 VideoCaptureDeviceDummy::~VideoCaptureDeviceDummy() {} | 17 VideoCaptureDeviceDummy::~VideoCaptureDeviceDummy() {} |
18 | 18 |
19 void VideoCaptureDeviceDummy::Allocate( | 19 void VideoCaptureDeviceDummy::Allocate( |
20 const VideoCaptureCapability& capture_format, | 20 const VideoCaptureCapability& capture_format, |
21 VideoCaptureDevice::EventHandler* observer) { | 21 VideoCaptureDevice::EventHandler* observer) { |
22 } | 22 } |
23 | 23 |
24 void VideoCaptureDeviceDummy::Start() {} | 24 void VideoCaptureDeviceDummy::Start() {} |
25 | 25 |
26 void VideoCaptureDeviceDummy::Stop() {} | 26 void VideoCaptureDeviceDummy::Stop() {} |
27 | 27 |
28 void VideoCaptureDeviceDummy::DeAllocate() {} | 28 void VideoCaptureDeviceDummy::DeAllocate() {} |
29 | 29 |
| 30 void VideoCaptureDeviceDummy::GetDeviceSupportedFormats( |
| 31 const std::string& device_name, |
| 32 VideoCaptureFormats* capture_formats) {}; |
| 33 |
30 } // namespace media | 34 } // namespace media |
OLD | NEW |