| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |