TKVideoFrame类
说明 | 类型 |
---|---|
Inherits from | NSObject |
Declared in | TKRoomDefines.h |
概览
视频数据信息(YUV格式)
width
width of video frame
@property (assign, nonatomic) NSInteger width;
height
Height of video frame
@property (assign, nonatomic) NSInteger height;
yStride
Stride of Y data buffer
@property (assign, nonatomic) NSInteger yStride;
uStride
Stride of U data buffer
@property (assign, nonatomic) NSInteger uStride;
vStride
Stride of V data buffer
@property (assign, nonatomic) NSInteger vStride;
yBuffer
Y data buffer
@property (nonatomic) void *yBuffer;
uBuffer
U data buffer
@property (nonatomic) void *uBuffer;
vBuffer
V data buffer
@property (nonatomic) void *vBuffer;
rotation
Rotation of this frame (0, 90, 180, 270)
@property (assign, nonatomic) NSInteger rotation;