| 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 // AVFoundation API is only introduced in Mac OS X > 10.6, and there is only one | 5 // AVFoundation API is only introduced in Mac OS X > 10.6, and there is only one |
| 6 // build of Chromium, so the (potential) linking with AVFoundation has to happen | 6 // build of Chromium, so the (potential) linking with AVFoundation has to happen |
| 7 // in runtime. For this to be clean, an AVFoundationGlue class is defined to try | 7 // in runtime. For this to be clean, an AVFoundationGlue class is defined to try |
| 8 // and load these AVFoundation system libraries. If it succeeds, subsequent | 8 // and load these AVFoundation system libraries. If it succeeds, subsequent |
| 9 // clients can use AVFoundation via the rest of the classes declared in this | 9 // clients can use AVFoundation via the rest of the classes declared in this |
| 10 // file. | 10 // file. |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 87 |
| 88 // Originally AVFrameRateRange and coming from AVCaptureDevice.h. | 88 // Originally AVFrameRateRange and coming from AVCaptureDevice.h. |
| 89 MEDIA_EXPORT | 89 MEDIA_EXPORT |
| 90 @interface CrAVFrameRateRange : NSObject | 90 @interface CrAVFrameRateRange : NSObject |
| 91 | 91 |
| 92 - (Float64)maxFrameRate; | 92 - (Float64)maxFrameRate; |
| 93 | 93 |
| 94 @end | 94 @end |
| 95 | 95 |
| 96 MEDIA_EXPORT | 96 MEDIA_EXPORT |
| 97 @interface CrAVCaptureInput // Originally from AVCaptureInput.h. | 97 @interface CrAVCaptureInput : NSObject // Originally from AVCaptureInput.h. |
| 98 @end | 98 @end |
| 99 | 99 |
| 100 MEDIA_EXPORT | 100 MEDIA_EXPORT |
| 101 @interface CrAVCaptureOutput // Originally from AVCaptureOutput.h. | 101 @interface CrAVCaptureOutput : NSObject // Originally from AVCaptureOutput.h. |
| 102 @end | 102 @end |
| 103 | 103 |
| 104 // Originally AVCaptureSession and coming from AVCaptureSession.h. | 104 // Originally AVCaptureSession and coming from AVCaptureSession.h. |
| 105 MEDIA_EXPORT | 105 MEDIA_EXPORT |
| 106 @interface CrAVCaptureSession : NSObject | 106 @interface CrAVCaptureSession : NSObject |
| 107 | 107 |
| 108 - (void)release; | 108 - (void)release; |
| 109 - (void)addInput:(CrAVCaptureInput*)input; | 109 - (void)addInput:(CrAVCaptureInput*)input; |
| 110 - (void)removeInput:(CrAVCaptureInput*)input; | 110 - (void)removeInput:(CrAVCaptureInput*)input; |
| 111 - (void)addOutput:(CrAVCaptureOutput*)output; | 111 - (void)addOutput:(CrAVCaptureOutput*)output; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 @interface AVCaptureDeviceInputGlue : NSObject | 175 @interface AVCaptureDeviceInputGlue : NSObject |
| 176 | 176 |
| 177 + (CrAVCaptureDeviceInput*)deviceInputWithDevice:(CrAVCaptureDevice*)device | 177 + (CrAVCaptureDeviceInput*)deviceInputWithDevice:(CrAVCaptureDevice*)device |
| 178 error:(NSError**)outError; | 178 error:(NSError**)outError; |
| 179 | 179 |
| 180 @end | 180 @end |
| 181 | 181 |
| 182 #endif // defined(__OBJC__) | 182 #endif // defined(__OBJC__) |
| 183 | 183 |
| 184 #endif // MEDIA_BASE_MAC_AVFOUNDATION_GLUE_H_ | 184 #endif // MEDIA_BASE_MAC_AVFOUNDATION_GLUE_H_ |
| OLD | NEW |