CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
hrydgard

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: hrydgard/ppsspp
Path: blob/master/ios/CameraHelper.h
Views: 1401
1
#import <Foundation/Foundation.h>
2
#import <AVFoundation/AVFoundation.h>
3
4
@protocol CameraFrameDelegate <NSObject>
5
@required
6
- (void) PushCameraImageIOS:(long long)len buffer:(unsigned char*)data;
7
@end
8
9
@interface CameraHelper : NSObject<AVCaptureVideoDataOutputSampleBufferDelegate>
10
11
@property (nonatomic, strong) id<CameraFrameDelegate> delegate;
12
13
- (void) startVideo:(int)width h:(int)height;
14
- (void) stopVideo;
15
16
@end
17
18