TuSDKGPUVideoPixelBufferForTexture Class Reference
Inherits from | SLGPUImageOutput |
---|---|
Conforms to | TuSDKSampleBufferInput |
Declared in | TuSDKGPUVideoPixelBufferForTexture.h |
inputRotation
输入的画面方向
@property (nonatomic) LSQGPUImageRotationMode inputRotation
Availability
3.0
Declared In
TuSDKGPUVideoPixelBufferForTexture.h
outputRotation
输出的画面方向
@property (nonatomic) LSQGPUImageRotationMode outputRotation
Availability
3.0
Declared In
TuSDKGPUVideoPixelBufferForTexture.h
inputPixelFormatType
输入的采样数据类型 支持: kCVPixelFormatType_420YpCbCr8BiPlanarFullRange | kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange kCVPixelFormatType_32BGRA
@property (nonatomic) OSType inputPixelFormatType
Availability
3.0
Declared In
TuSDKGPUVideoPixelBufferForTexture.h
inputSize
输入的视频宽高
@property (nonatomic, readonly) CGSize inputSize
Availability
3.0
Declared In
TuSDKGPUVideoPixelBufferForTexture.h
outputSize
设置输出 outputSize, 如果输出比例和原视频比例不一致时,自动缩放视频大小,视频不会被裁剪
@property (nonatomic) CGSize outputSize
Availability
3.4.2
Declared In
TuSDKGPUVideoPixelBufferForTexture.h
aspectOutputRatioInSideCanvas
设置比例不一致时是否自适应画布 比例不一致时是否将视频自适应画布大小 默认:NO
@property (nonatomic) BOOL aspectOutputRatioInSideCanvas
Availability
3.4.2
Declared In
TuSDKGPUVideoPixelBufferForTexture.h
textureRect
设置画面显示区域 默认:(CGRectMake(0,0,1,1) 完整画面) aspectOutputRatioInSideCanvas aspectOutputRatioInSideCanvas 为 NO 时可用
@property (nonatomic) CGRect textureRect
Availability
3.4.2
Declared In
TuSDKGPUVideoPixelBufferForTexture.h