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

Side by Side Diff: media/video/capture/video_capture_device.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: perkj@ and magjed@ 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // VideoCaptureDevice is the abstract base class for realizing video capture 5 // VideoCaptureDevice is the abstract base class for realizing video capture
6 // device support in Chromium. It provides the interface for OS dependent 6 // device support in Chromium. It provides the interface for OS dependent
7 // implementations. 7 // implementations.
8 // The class is created and functions are invoked on a thread owned by 8 // The class is created and functions are invoked on a thread owned by
9 // VideoCaptureManager. Capturing is done on other threads, depending on the OS 9 // VideoCaptureManager. Capturing is done on other threads, depending on the OS
10 // specific implementation. 10 // specific implementation.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 DIRECT_SHOW, 48 DIRECT_SHOW,
49 DIRECT_SHOW_WDM, 49 DIRECT_SHOW_WDM,
50 API_TYPE_UNKNOWN 50 API_TYPE_UNKNOWN
51 }; 51 };
52 #endif 52 #endif
53 #if defined(OS_MACOSX) 53 #if defined(OS_MACOSX)
54 // Mac targets Capture Api type: it can only be set on construction. 54 // Mac targets Capture Api type: it can only be set on construction.
55 enum CaptureApiType { 55 enum CaptureApiType {
56 AVFOUNDATION, 56 AVFOUNDATION,
57 QTKIT, 57 QTKIT,
58 DECKLINK,
58 API_TYPE_UNKNOWN 59 API_TYPE_UNKNOWN
59 }; 60 };
60 // For AVFoundation Api, identify devices that are built-in or USB. 61 // For AVFoundation Api, identify devices that are built-in or USB.
61 enum TransportType { 62 enum TransportType {
62 USB_OR_BUILT_IN, 63 USB_OR_BUILT_IN,
63 OTHER_TRANSPORT 64 OTHER_TRANSPORT
64 }; 65 };
65 #endif 66 #endif
66 #if defined(OS_WIN) || defined(OS_MACOSX) 67 #if defined(OS_WIN) || defined(OS_MACOSX)
67 Name(const std::string& name, 68 Name(const std::string& name,
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 int GetPowerLineFrequencyForLocation() const; 260 int GetPowerLineFrequencyForLocation() const;
260 261
261 protected: 262 protected:
262 static const int kPowerLine50Hz = 50; 263 static const int kPowerLine50Hz = 50;
263 static const int kPowerLine60Hz = 60; 264 static const int kPowerLine60Hz = 60;
264 }; 265 };
265 266
266 } // namespace media 267 } // namespace media
267 268
268 #endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_H_ 269 #endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698