lsqFrameFormatType Constants Reference

Declared in TuSDKVideoCameraBase.h

lsqFrameFormatType

输出帧格式类型

Definition

typedef NS_ENUM(NSInteger, lsqFrameFormatType ) {
   lsqFormatTypeBGRA,
   lsqFormatTypeNV12,
   lsqFormatTypeNV21,
   lsqFormatTypeI420,
   lsqFormatTypeYV12,
   lsqFormatTypeRawData,
};

Constants

lsqFormatTypeBGRA

输出 BGRA 格式 (kCVPixelFormatType_32BGRA)

Declared In TuSDKVideoCameraBase.h.

lsqFormatTypeNV12

输出 YUV 格式 (NV12,YYYYYYYY UVUV)

Declared In TuSDKVideoCameraBase.h.

lsqFormatTypeNV21

输出 YUV 格式 (NV21, YYYYYYYY VUVU) 注:无法用于预览,仅供推流时使用

Declared In TuSDKVideoCameraBase.h.

lsqFormatTypeI420

输出 YUV 格式 (I420: YYYYYYYY UU VV )

Declared In TuSDKVideoCameraBase.h.

lsqFormatTypeYV12

输出 YUV 格式 (YV12: YYYYYYYY VV UU )

Declared In TuSDKVideoCameraBase.h.

lsqFormatTypeRawData

输出基于 BGRA 格式的原始数据

Declared In TuSDKVideoCameraBase.h.

Declared In

TuSDKVideoCameraBase.h