UIImage(lsqPixelBufferRefExtends) Category Reference
Declared in | TuSDKTSImage+Extend.h |
---|
+ lsqImageFromPixelBuffer:rotation:rectSize:
从PixelBuffer获取图片
+ (UIImage *)lsqImageFromPixelBuffer:(CVPixelBufferRef)pixelBuffer rotation:(UIImageOrientation)rotation rectSize:(CGSize)rectSize
Parameters
pixelBuffer |
CVPixelBufferRef |
---|---|
rotation |
旋转方向 |
rectSize |
区域长宽 (输出的图片不允许超过区域) |
Return Value
从PixelBuffer获取图片
Declared In
TuSDKTSImage+Extend.h
+ lsqImageFromPlanarPixelBuffer:
从 PlanarPixelBuffer 获取图片 (420f)
+ (UIImage *)lsqImageFromPlanarPixelBuffer:(CVPixelBufferRef)pixelBuffer
Parameters
pixelBuffer |
CVPixelBufferRef |
---|
Return Value
从Plane PixelBuffer获取图片
Declared In
TuSDKTSImage+Extend.h
+ lsqImageFromPixelBuffer:size:
从像素缓存获取图片
+ (UIImage *)lsqImageFromPixelBuffer:(const GLubyte *)pixelBuffer size:(CGSize)size
Parameters
pixelBuffer |
像素缓存 |
---|---|
size |
图片宽高 |
Return Value
图像对象
Declared In
TuSDKTSImage+Extend.h