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

视频帧信息 更多...

#include <NvsEffectCommonDef.h>

Public 属性

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

详细描述

视频帧信息

类成员变量说明

◆ displayRotation

int NvsEffectVideoFrameInfo::displayRotation

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

◆ flipHorizontally

bool NvsEffectVideoFrameInfo::flipHorizontally

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

◆ frameHeight

int NvsEffectVideoFrameInfo::frameHeight

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

◆ frameTimestamp

int64_t NvsEffectVideoFrameInfo::frameTimestamp

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

◆ frameWidth

int NvsEffectVideoFrameInfo::frameWidth

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

◆ isFullRangeYUV

bool NvsEffectVideoFrameInfo::isFullRangeYUV

◆ isRec601

bool NvsEffectVideoFrameInfo::isRec601

是否是BT.601

◆ pixelFormat

NvsEffectVideoFramePixelFormat NvsEffectVideoFrameInfo::pixelFormat

获取到图像的格式

◆ planePtr

void* NvsEffectVideoFrameInfo::planePtr[NVS_VIDEO_FRAME_MAX_PLANES]

◆ planeRowPitch

int NvsEffectVideoFrameInfo::planeRowPitch[NVS_VIDEO_FRAME_MAX_PLANES]

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


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