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

Side by Side Diff: media/video/capture/video_capture_device.h

Issue 262383003: Add Intel Perceptual Computing SDK based depth video capture for Windows Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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
« no previous file with comments | « media/media.gyp ('k') | media/video/capture/win/video_capture_device_pxc_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 28 matching lines...) Expand all
39 public: 39 public:
40 Name() {} 40 Name() {}
41 Name(const std::string& name, const std::string& id) 41 Name(const std::string& name, const std::string& id)
42 : device_name_(name), unique_id_(id) {} 42 : device_name_(name), unique_id_(id) {}
43 43
44 #if defined(OS_WIN) 44 #if defined(OS_WIN)
45 // Windows targets Capture Api type: it can only be set on construction. 45 // Windows targets Capture Api type: it can only be set on construction.
46 enum CaptureApiType { 46 enum CaptureApiType {
47 MEDIA_FOUNDATION, 47 MEDIA_FOUNDATION,
48 DIRECT_SHOW, 48 DIRECT_SHOW,
49 PXC_CAPTURE,
49 API_TYPE_UNKNOWN 50 API_TYPE_UNKNOWN
50 }; 51 };
51 #endif 52 #endif
52 #if defined(OS_MACOSX) 53 #if defined(OS_MACOSX)
53 // 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.
54 enum CaptureApiType { 55 enum CaptureApiType {
55 AVFOUNDATION, 56 AVFOUNDATION,
56 QTKIT, 57 QTKIT,
57 API_TYPE_UNKNOWN 58 API_TYPE_UNKNOWN
58 }; 59 };
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 int GetPowerLineFrequencyForLocation() const; 228 int GetPowerLineFrequencyForLocation() const;
228 229
229 protected: 230 protected:
230 static const int kPowerLine50Hz = 50; 231 static const int kPowerLine50Hz = 50;
231 static const int kPowerLine60Hz = 60; 232 static const int kPowerLine60Hz = 60;
232 }; 233 };
233 234
234 } // namespace media 235 } // namespace media
235 236
236 #endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_H_ 237 #endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_H_
OLDNEW
« no previous file with comments | « media/media.gyp ('k') | media/video/capture/win/video_capture_device_pxc_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698