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

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

Issue 883293005: Cast: Basic cast_receiver API for chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed extra BUILD.gn line Created 5 years, 9 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef MEDIA_VIDEO_CAPTURE_MAC_VIDEO_CAPTURE_DEVICE_AVFOUNDATION_MAC_H_ 5 #ifndef MEDIA_VIDEO_CAPTURE_MAC_VIDEO_CAPTURE_DEVICE_AVFOUNDATION_MAC_H_
6 #define MEDIA_VIDEO_CAPTURE_MAC_VIDEO_CAPTURE_DEVICE_AVFOUNDATION_MAC_H_ 6 #define MEDIA_VIDEO_CAPTURE_MAC_VIDEO_CAPTURE_DEVICE_AVFOUNDATION_MAC_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #import "base/mac/scoped_nsobject.h" 10 #import "base/mac/scoped_nsobject.h"
11 #include "base/synchronization/lock.h" 11 #include "base/synchronization/lock.h"
12 #include "base/threading/thread_checker.h" 12 #include "base/threading/thread_checker.h"
13 #import "media/base/mac/avfoundation_glue.h" 13 #import "media/base/mac/avfoundation_glue.h"
14 #include "media/base/video_capture_types.h"
14 #import "media/video/capture/mac/platform_video_capturing_mac.h" 15 #import "media/video/capture/mac/platform_video_capturing_mac.h"
15 #include "media/video/capture/video_capture_device.h" 16 #include "media/video/capture/video_capture_device.h"
16 #include "media/video/capture/video_capture_types.h"
17 17
18 namespace media { 18 namespace media {
19 class VideoCaptureDeviceMac; 19 class VideoCaptureDeviceMac;
20 } 20 }
21 21
22 @class CrAVCaptureDevice; 22 @class CrAVCaptureDevice;
23 @class CrAVCaptureSession; 23 @class CrAVCaptureSession;
24 @class CrAVCaptureVideoDataOutput; 24 @class CrAVCaptureVideoDataOutput;
25 25
26 // Class used by VideoCaptureDeviceMac (VCDM) for video capture using 26 // Class used by VideoCaptureDeviceMac (VCDM) for video capture using
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // called after setCaptureDevice:, and, eventually, also after 113 // called after setCaptureDevice:, and, eventually, also after
114 // setCaptureHeight:width:frameRate:. Returns YES on sucess, NO otherwise. 114 // setCaptureHeight:width:frameRate:. Returns YES on sucess, NO otherwise.
115 - (BOOL)startCapture; 115 - (BOOL)startCapture;
116 116
117 // Stops video capturing and stops listening to notifications. 117 // Stops video capturing and stops listening to notifications.
118 - (void)stopCapture; 118 - (void)stopCapture;
119 119
120 @end 120 @end
121 121
122 #endif // MEDIA_VIDEO_CAPTURE_MAC_VIDEO_CAPTURE_DEVICE_AVFOUNDATION_MAC_H_ 122 #endif // MEDIA_VIDEO_CAPTURE_MAC_VIDEO_CAPTURE_DEVICE_AVFOUNDATION_MAC_H_
OLDNEW
« no previous file with comments | « media/video/capture/linux/video_capture_device_linux.h ('k') | media/video/capture/mac/video_capture_device_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698