ppsspp/ios/CameraHelper.h

17 lines
421 B
C
Raw Normal View History

#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;
2024-05-22 14:02:13 +00:00
- (void) startVideo:(int)width h:(int)height;
- (void) stopVideo;
@end