You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
637 B
23 lines
637 B
![]()
2 years ago
|
//
|
||
|
// XHCaptureHelper.h
|
||
|
// MessageDisplayExample
|
||
|
//
|
||
|
// Created by 曾 宪华 on 14-5-25.
|
||
|
// Copyright (c) 2014年 曾宪华 开发团队(http://iyilunba.com ) 本人QQ:543413507 本人QQ群(142557668). All rights reserved.
|
||
|
//
|
||
|
#import <UIKit/UIKit.h>
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
#import <AVFoundation/AVFoundation.h>
|
||
|
|
||
|
typedef void(^DidOutputSampleBufferBlock)(CMSampleBufferRef sampleBuffer);
|
||
|
|
||
|
@interface XHCaptureHelper : NSObject <AVCaptureVideoDataOutputSampleBufferDelegate>
|
||
|
|
||
|
- (void)setDidOutputSampleBufferHandle:(DidOutputSampleBufferBlock)didOutputSampleBuffer;
|
||
|
|
||
|
- (void)showCaptureOnView:(UIView *)preview;
|
||
|
|
||
|
@end
|