mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-30 08:50:33 +00:00
17 lines
421 B
Objective-C
17 lines
421 B
Objective-C
#import <Foundation/Foundation.h>
|
|
#import <AVFoundation/AVFoundation.h>
|
|
|
|
@protocol CameraFrameDelegate <NSObject>
|
|
@required
|
|
- (void) PushCameraImageIOS:(long long)len buffer:(unsigned char*)data;
|
|
@end
|
|
|
|
@interface CameraHelper : NSObject<AVCaptureVideoDataOutputSampleBufferDelegate>
|
|
|
|
@property (nonatomic, strong) id<CameraFrameDelegate> delegate;
|
|
|
|
- (void) startVideo:(int)width h:(int)height;
|
|
- (void) stopVideo;
|
|
|
|
@end
|