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.
21 lines
725 B
21 lines
725 B
// |
|
// XHCaptureHelper.h |
|
// MessageDisplayExample |
|
// |
|
// Created by 曾 宪华 on 14-5-25. |
|
// Copyright (c) 2014年 嗨,我是曾宪华(@xhzengAIB),曾加入YY Inc.担任高级移动开发工程师,拍立秀App联合创始人,热衷于简洁、而富有理性的事物 QQ:543413507 主页:http://zengxianhua.com All rights reserved. |
|
// |
|
|
|
#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
|
|
|