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

Side by Side Diff: media/video/capture/mac/video_capture_device_decklink_mac.h

Issue 518073002: Mac VideoCapture: Support for Blackmagic DeckLink device & capabilities enumeration, using SDK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rsesek@ comments Created 6 years, 3 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
(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);
Robert Sesek 2014/09/03 17:51:29 Public members need documentation.
mcasas 2014/09/04 10:00:36 Done.
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698