UIImage(CMSampleBufferRefExtends) Category Reference

Declared in TuSDKTSImage+Extend.h

+ lsqImageFromSampleBuffer:rotation:rectSize:

从SampleBuffer获取图片

+ (UIImage *)lsqImageFromSampleBuffer:(CMSampleBufferRef)sampleBuffer rotation:(UIImageOrientation)rotation rectSize:(CGSize)rectSize

Parameters

sampleBuffer

CMSampleBufferRef

rotation

旋转方向

rectSize

区域长宽 (输出的图片不允许超过区域)

Return Value

从SampleBuffer获取图片

Declared In

TuSDKTSImage+Extend.h