OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Implementation of VideoCaptureDevice class for Blackmagic video capture |
| 6 // devices by using the DeckLink SDK. |
| 7 |
| 8 #ifndef MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_DECKLINK_MAC_H_ |
| 9 #define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_DECKLINK_MAC_H_ |
| 10 |
| 11 #include "media/video/capture/video_capture_device.h" |
| 12 |
| 13 #import <Foundation/Foundation.h> |
| 14 |
| 15 namespace media { |
| 16 |
| 17 // Extension of VideoCaptureDevice to create and manipulate Blackmagic devices |
| 18 // via DeckLink SDK. |
| 19 class MEDIA_EXPORT VideoCaptureDeviceDeckLinkMac : public VideoCaptureDevice { |
| 20 public: |
| 21 static void EnumerateDevices(VideoCaptureDevice::Names* device_names); |
| 22 static void EnumerateDeviceCapabilities( |
| 23 const VideoCaptureDevice::Name& device, |
| 24 VideoCaptureFormats* supported_formats); |
| 25 |
| 26 explicit VideoCaptureDeviceDeckLinkMac(const Name& device_name); |
| 27 virtual ~VideoCaptureDeviceDeckLinkMac(); |
| 28 |
| 29 // VideoCaptureDevice implementation. |
| 30 virtual void AllocateAndStart( |
| 31 const VideoCaptureParams& params, |
| 32 scoped_ptr<VideoCaptureDevice::Client> client) OVERRIDE; |
| 33 virtual void StopAndDeAllocate() OVERRIDE; |
| 34 |
| 35 private: |
| 36 DISALLOW_COPY_AND_ASSIGN(VideoCaptureDeviceDeckLinkMac); |
| 37 }; |
| 38 |
| 39 } // namespace media |
| 40 |
| 41 #endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_DECKLINK_MAC_H_ |
OLD | NEW |