美摄SDK For iOS  3.14.0
Public 属性 | 所有成员列表
NvsVideoFrameInfo结构体 参考

视频帧信息 更多...

#include <NvsCommonDef.h>

Public 属性

int frameWidth
 获取到图像的宽度(以像素为单位) 更多...
 
int frameHeight
 获取到图像的高度(以像素为单位) 更多...
 
int planeRowPitch [NVS_VIDEO_FRAME_MAX_PLANES]
 平面图像每行在Frame中占的字节数 更多...
 
void * planePtr [NVS_VIDEO_FRAME_MAX_PLANES]
 
NvsVideoFramePixelFormat pixelFormat
 获取到图像的格式 更多...
 
int64_t frameTimestamp
 获取到图像的时间戳(单位微秒) 更多...
 
bool isRec601
 色彩空间是否是BT.601 更多...
 
bool isFullRangeYUV
 YUV取值范围是否是fullRange(0-255) 更多...
 
int displayRotation
 显示当前图像需要旋转的角度 更多...
 
bool flipHorizontally
 显示当前图像需要不需要水平翻转 更多...
 

详细描述

视频帧信息

类成员变量说明

◆ displayRotation

int NvsVideoFrameInfo::displayRotation

显示当前图像需要旋转的角度

◆ flipHorizontally

bool NvsVideoFrameInfo::flipHorizontally

显示当前图像需要不需要水平翻转

◆ frameHeight

int NvsVideoFrameInfo::frameHeight

获取到图像的高度(以像素为单位)

◆ frameTimestamp

int64_t NvsVideoFrameInfo::frameTimestamp

获取到图像的时间戳(单位微秒)

◆ frameWidth

int NvsVideoFrameInfo::frameWidth

获取到图像的宽度(以像素为单位)

◆ isFullRangeYUV

bool NvsVideoFrameInfo::isFullRangeYUV

YUV取值范围是否是fullRange(0-255)

◆ isRec601

bool NvsVideoFrameInfo::isRec601

色彩空间是否是BT.601

◆ pixelFormat

NvsVideoFramePixelFormat NvsVideoFrameInfo::pixelFormat

获取到图像的格式

◆ planePtr

void* NvsVideoFrameInfo::planePtr[NVS_VIDEO_FRAME_MAX_PLANES]

◆ planeRowPitch

int NvsVideoFrameInfo::planeRowPitch[NVS_VIDEO_FRAME_MAX_PLANES]

平面图像每行在Frame中占的字节数


该结构体的文档由以下文件生成: