美摄SDK For iOS  3.16.4
NvsCommonDef.h
浏览该文件的文档.
1 //================================================================================
2 //
3 // (c) Copyright Meishe Co. Ltd, 2016. All rights reserved.
4 //
5 // This code and information is provided "as is" without warranty of any kind,
6 // either expressed or implied, including but not limited to the implied
7 // warranties of merchantability and/or fitness for a particular purpose.
8 //
9 //--------------------------------------------------------------------------------
10 // Birth Date: Dec 29. 2016
11 // Author: Meishe video team
12 //================================================================================
13 
16 #pragma once
17 
18 #include <stdint.h>
19 
20 #define NVS_EXPORT __attribute__((visibility("default")))
21 
28 typedef enum {
35 
41 
44 
51 typedef enum {
57 
64 typedef enum
65 {
71 
78 typedef enum
79 {
92 
94 
101 typedef enum
102 {
103  NvsVideoColorTransfer_SDR_VIDEO = 0, //SMPTE 170M transfer characteristic curve used by BT.601/BT.709/BT.2020. This is the curve used by most non-HDR video content.
104  NvsVideoColorTransfer_ST2084, //SMPTE ST 2084 transfer function. This is used by some HDR video content
105  NvsVideoColorTransfer_HLG //ARIB STD-B67 hybrid-log-gamma transfer function. This is used by some HDR video content.
107 
114 typedef enum
115 {
116  NvsVideoHDRType_None = 0, //This is used by SDR video content.
117  NvsVideoHDRType_HDR10, //SMPTE ST 2084 transfer function. This is used by some HDR video content
118  NvsVideoHDRType_HLG, //ARIB STD-B67 hybrid-log-gamma transfer function. This is used by some HDR video content.
119  NvsVideoHDRType_HDR10Plus, //This is used by HDR10+ video content, has dynamic meta data.
120  NvsVideoHDRType_DolbyVision, //This is used by dolby vision hdr video content, has dynamic meta data.
121  NvsVideoHDRType_Vivid //This is used by vivid hdr video content, has dynamic meta data.
123 
130 typedef enum NvsRoleInTheme
131 {
136 
143 typedef enum NvsTextAlignment
144 {
153 
161 {
165 
173 {
177 
184 typedef enum NvsCategory
185 {
190 
198 {
205 
213 {
217 
226 typedef enum NvsVideoFrameYUVColorMatrix
228 {
234 
243 
246 {
252 
254 
263 typedef enum NvsVideoFrameColorPrimaries
266 {
271 
273 
281 {
286 
287 
294 typedef enum {
306 
318 
331 
332 
339 typedef enum {
344 
351 typedef struct {
352  int num;
353  int den;
354 } NvsRational;
355 
362 typedef struct {
363  int width;
364  int height;
365 } NvsSize;
366 
373 typedef struct {
374  float left;
375  float right;
376  float bottom;
377  float top;
378 } NvsRect;
379 
386 typedef struct {
387  unsigned int sampleRate;
389  unsigned int channelCount;
391 
398 typedef struct {
399  unsigned int imageWidth;
400  unsigned int imageHeight;
406 
408 {
409  NvsVideoResolution res;
410  res.imageWidth = 0;
411  res.imageHeight = 0;
412  res.imagePAR.num = 1;
413  res.imagePAR.den = 1;
417  return res;
418 }
419 
430 typedef struct {
431  float r, g, b, a;
432 } NvsColor;
433 
440 typedef struct {
441  float x, y;
442 } NvsPosition2D;
443 
450 typedef struct {
451  float x, y, z;
452 } NvsPosition3D;
453 
460 typedef struct {
461  double x;
462  double y;
463 } NvsPointD;
464 
465 #define NVS_VIDEO_FRAME_MAX_PLANES 4
466 
473 typedef struct{
476  int planeRowPitch[NVS_VIDEO_FRAME_MAX_PLANES];
477  void* planePtr[NVS_VIDEO_FRAME_MAX_PLANES];
479  int64_t frameTimestamp;
480  bool isRec601;
482 
486 
493 typedef struct{
499 
500 #ifndef NV_AUDIO_MAX_CHANNEL_COUNT
501  #define NV_AUDIO_MAX_CHANNEL_COUNT 8
502 #endif
503 
504 typedef struct{
506  int planeSizeInBytes; // For planar audio: size in bytes of each plane(channel)
507  // For packed audio: size in bytes of total samples
512  int64_t timeStamp;
514 
522 typedef struct{
NvsAudSmpFmt_S32P
@ NvsAudSmpFmt_S32P
signed 32 bit 平面格式
Definition: NvsCommonDef.h:38
NvsVideoColorTransfer_ST2084
@ NvsVideoColorTransfer_ST2084
Definition: NvsCommonDef.h:104
NvsTextAlignmentBottom
@ NvsTextAlignmentBottom
Definition: NvsCommonDef.h:149
NvsVideoFrameColorPrimaries
NvsVideoFrameColorPrimaries
Definition: NvsCommonDef.h:266
NvsRoleInTheme
NvsRoleInTheme
片段在主题中的角色
Definition: NvsCommonDef.h:131
NvsVideoFrameYUVColorMatrix_Bt709
@ NvsVideoFrameYUVColorMatrix_Bt709
ITU-R BT1361 / IEC 61966-2-4 xvYCC709 / SMPTE RP177 Annex B
Definition: NvsCommonDef.h:230
NvsPixelFormat_YUV420
@ NvsPixelFormat_YUV420
YUV 4:2:0 12bpp ( 3通道, 一个亮度通道, 另两个为U分量和V分量通道, 所有通道都是连续的 )
Definition: NvsCommonDef.h:200
NvsAudioSampleBuffers::sampleRate
int sampleRate
音频采样率
Definition: NvsCommonDef.h:508
NvsThemeCategory
@ NvsThemeCategory
主题类型
Definition: NvsCommonDef.h:188
NvsVideoHDRType_HDR10
@ NvsVideoHDRType_HDR10
Definition: NvsCommonDef.h:117
NvsAudioResolution::sampleRate
unsigned int sampleRate
采样率
Definition: NvsCommonDef.h:387
NvsVideoFrameColorTransfer
NvsVideoFrameColorTransfer
Definition: NvsCommonDef.h:246
NvsRoleInThemeGeneral
@ NvsRoleInThemeGeneral
通用
Definition: NvsCommonDef.h:132
NvsVideoColorTransfer_HLG
@ NvsVideoColorTransfer_HLG
Definition: NvsCommonDef.h:105
NvsRoleInThemeTrailer
@ NvsRoleInThemeTrailer
片尾
Definition: NvsCommonDef.h:134
NvsLiveWindowHDRDisplayMode_TONE_MAP_SDR
@ NvsLiveWindowHDRDisplayMode_TONE_MAP_SDR
如果设备支持HDR,就使用HDR进行显示,如果设备不支持,使用HDR转换为SDR进行显示
Definition: NvsCommonDef.h:342
NvsLiveWindowHDRDisplayMode_Device
@ NvsLiveWindowHDRDisplayMode_Device
如果设备支持HDR,就使用HDR进行显示
Definition: NvsCommonDef.h:341
NvsVideoFrameInfo::isRec601
bool isRec601
色彩空间是否是BT.601
Definition: NvsCommonDef.h:480
NvsPointD::y
double y
Definition: NvsCommonDef.h:462
NvsLetterSpacingType
NvsLetterSpacingType
字间距类型
Definition: NvsCommonDef.h:161
NvsVideoResolutionBitDepth_Auto
@ NvsVideoResolutionBitDepth_Auto
图像像素的位深度为自适应,比如在编辑中有HDR的视频,SDK内部处理HDR视频会使用半精度浮点
Definition: NvsCommonDef.h:284
NvsLiveWindowFillModePreserveAspectFit
@ NvsLiveWindowFillModePreserveAspectFit
图像均匀地缩放来适合窗口,没有裁剪。
Definition: NvsCommonDef.h:317
NvsVideoFrameInfo::flipHorizontally
bool flipHorizontally
显示当前图像需要不需要水平翻转
Definition: NvsCommonDef.h:484
NvsTextAlignmentTop
@ NvsTextAlignmentTop
Definition: NvsCommonDef.h:148
NvsVideoFrameYUVColorMatrix_Bt2020
@ NvsVideoFrameYUVColorMatrix_Bt2020
ITU-R BT2020
Definition: NvsCommonDef.h:231
NvsLiveWindowFillModePreserveAspectCrop
@ NvsLiveWindowFillModePreserveAspectCrop
图像按比例均匀填充,必要时进行裁剪(默认模式)
Definition: NvsCommonDef.h:305
NvsRect
矩形
Definition: NvsCommonDef.h:373
NvsAVFileType_Unknown
@ NvsAVFileType_Unknown
未知
Definition: NvsCommonDef.h:52
NvsVideoFrameColorTransfer_SMPTE2084
@ NvsVideoFrameColorTransfer_SMPTE2084
SMPTE ST 2084 for 10-, 12-, 14- and 16-bit systems known as "PQ"
Definition: NvsCommonDef.h:248
NvsVideoFrameInfo
视频帧信息
Definition: NvsCommonDef.h:473
NvsVideoResolution::colorPrimaries
NvsVideoFrameColorPrimaries colorPrimaries
默认是bt709
Definition: NvsCommonDef.h:404
NvsLetterSpacingTypeAbsolute
@ NvsLetterSpacingTypeAbsolute
Definition: NvsCommonDef.h:163
NvsVideoFrameYUVColorMatrix_Bt601
@ NvsVideoFrameYUVColorMatrix_Bt601
ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL
Definition: NvsCommonDef.h:229
NvsTextAlignmentLeft
@ NvsTextAlignmentLeft
Definition: NvsCommonDef.h:145
NOT_USE_ASSET_DEFAULT_PARAM
@ NOT_USE_ASSET_DEFAULT_PARAM
Definition: NvsCommonDef.h:175
NvsCapturedAudioSampleInfo
回调的采集音频信息
Definition: NvsCommonDef.h:522
NvsVideoFrameColorPrimaries_DisplayP3
@ NvsVideoFrameColorPrimaries_DisplayP3
RGB color space Display P3 based on SMPTE RP 431-2-2007 and IEC 61966-2.1:1999.
Definition: NvsCommonDef.h:269
NvsRect::right
float right
right
Definition: NvsCommonDef.h:375
NvsAudioResolution::sampleFormat
NvsAudioSampleFormat sampleFormat
采样格式
Definition: NvsCommonDef.h:388
NvsAVFileType_Image
@ NvsAVFileType_Image
图片
Definition: NvsCommonDef.h:55
NvsVideoHDRType_HDR10Plus
@ NvsVideoHDRType_HDR10Plus
Definition: NvsCommonDef.h:119
NvsVideoFrameInfoExt::colorPrimaries
NvsVideoFrameColorPrimaries colorPrimaries
Definition: NvsCommonDef.h:497
NvsRational
比例值
Definition: NvsCommonDef.h:351
NvsAudSmpFmt_DBL
@ NvsAudSmpFmt_DBL
双精度浮点数
Definition: NvsCommonDef.h:34
NvsVideoFrameInfoExt::frameInfo
NvsVideoFrameInfo frameInfo
Definition: NvsCommonDef.h:494
NvsTextAlignmentJustify
@ NvsTextAlignmentJustify
Definition: NvsCommonDef.h:151
NvsPosition3D
三维坐标结构
Definition: NvsCommonDef.h:450
USE_ASSET_DEFAULT_PARAM
@ USE_ASSET_DEFAULT_PARAM
Definition: NvsCommonDef.h:174
NvsVideoFrameColorPrimaries_Bt2020
@ NvsVideoFrameColorPrimaries_Bt2020
RGB color space BT.2020 standardized as Rec. ITU-R BT.2020-1.
Definition: NvsCommonDef.h:268
NvsAudSmpFmt_FLTP
@ NvsAudSmpFmt_FLTP
单精度浮点数 平面格式
Definition: NvsCommonDef.h:39
NvsRect::bottom
float bottom
bottom
Definition: NvsCommonDef.h:376
NvsRect::left
float left
left
Definition: NvsCommonDef.h:374
NvsVideoFrameInfoExt::colorMatrix
NvsVideoFrameYUVColorMatrix colorMatrix
Definition: NvsCommonDef.h:495
NvsVideoRotation_270
@ NvsVideoRotation_270
Definition: NvsCommonDef.h:69
NvsVideoCodecType
NvsVideoCodecType
视频编码类型
Definition: NvsCommonDef.h:79
NvsAudioSampleBuffers::planeSizeInBytes
int planeSizeInBytes
Definition: NvsCommonDef.h:506
NvsSize::height
int height
高度
Definition: NvsCommonDef.h:364
NvsVideoFrameColorTransfer_ARIB_STD_B67
@ NvsVideoFrameColorTransfer_ARIB_STD_B67
ARIB STD-B67, known as "Hybrid log-gamma"
Definition: NvsCommonDef.h:249
NvsLiveWindowHDRDisplayMode_SDR
@ NvsLiveWindowHDRDisplayMode_SDR
强制使用SDR的方式进行显示,不进行HDR到SDR转化,不管设备支不支持HDR显示
Definition: NvsCommonDef.h:340
NvsVideoFrameInfo::frameTimestamp
int64_t frameTimestamp
获取到图像的时间戳(单位微秒)
Definition: NvsCommonDef.h:479
NvsVideoRotation_180
@ NvsVideoRotation_180
Definition: NvsCommonDef.h:68
NvsVideoFrameInfo::frameHeight
int frameHeight
获取到图像的高度(以像素为单位)
Definition: NvsCommonDef.h:475
NvsVideoCodecType_VP9
@ NvsVideoCodecType_VP9
Definition: NvsCommonDef.h:85
NvsAudSmpFmt_S32
@ NvsAudSmpFmt_S32
signed 32 bit
Definition: NvsCommonDef.h:32
NvsAudSmpFmt_DBLP
@ NvsAudSmpFmt_DBLP
双精度浮点数 平面格式
Definition: NvsCommonDef.h:40
NvsPointD
二维坐标点结构。 参数类型为双精度浮点数。
Definition: NvsCommonDef.h:460
NvsAudSmpFmt_S16
@ NvsAudSmpFmt_S16
signed 16 bit
Definition: NvsCommonDef.h:31
NvsAudSmpFmt_U8
@ NvsAudSmpFmt_U8
unsigned 8 bit
Definition: NvsCommonDef.h:30
NvsVideoCodecType_MPEG2
@ NvsVideoCodecType_MPEG2
Definition: NvsCommonDef.h:88
NvsRational::den
int den
分母
Definition: NvsCommonDef.h:353
NvsAudioSampleBuffers::sampleFormat
NvsAudioSampleFormat sampleFormat
音频数据格式
Definition: NvsCommonDef.h:510
NvsMakeDefaultVideoResolution
static NvsVideoResolution NvsMakeDefaultVideoResolution()
Definition: NvsCommonDef.h:407
NvsAVFileType
NvsAVFileType
文件类型
Definition: NvsCommonDef.h:51
NvsUserCategory
@ NvsUserCategory
用户自定义类型
Definition: NvsCommonDef.h:187
NvsPointD::x
double x
Definition: NvsCommonDef.h:461
NvsLiveWindowFillModeStretch
@ NvsLiveWindowFillModeStretch
图像被缩放来适合窗口
Definition: NvsCommonDef.h:329
NvsAVFileType_Audio
@ NvsAVFileType_Audio
音频
Definition: NvsCommonDef.h:54
NvsVideoFrameInfo::isFullRangeYUV
bool isFullRangeYUV
YUV取值范围是否是fullRange(0-255)
Definition: NvsCommonDef.h:481
NvsGpuVideoFrameFormat_RGBA8
@ NvsGpuVideoFrameFormat_RGBA8
Definition: NvsCommonDef.h:214
NvsVideoRotation
NvsVideoRotation
视频旋转角度
Definition: NvsCommonDef.h:65
NvsLiveWindowHDRDisplayMode
NvsLiveWindowHDRDisplayMode
Live Window 填充模式
Definition: NvsCommonDef.h:339
NvsVideoFramePixelFormat
NvsVideoFramePixelFormat
视频帧像素格式
Definition: NvsCommonDef.h:198
NvsVideoCodecType_H264
@ NvsVideoCodecType_H264
Definition: NvsCommonDef.h:81
NvsVideoHDRType_HLG
@ NvsVideoHDRType_HLG
Definition: NvsCommonDef.h:118
NvsAudSmpFmt_Count
@ NvsAudSmpFmt_Count
Definition: NvsCommonDef.h:42
NvsColor
自定义颜色类
Definition: NvsCommonDef.h:430
NvsVideoCodecType_H265
@ NvsVideoCodecType_H265
Definition: NvsCommonDef.h:82
NvsVideoColorTransfer
NvsVideoColorTransfer
颜色转换曲线
Definition: NvsCommonDef.h:102
NvsPosition2D::y
float y
Definition: NvsCommonDef.h:441
NvsTextAlignmentCenter
@ NvsTextAlignmentCenter
Definition: NvsCommonDef.h:146
NvsPosition3D::z
float z
Definition: NvsCommonDef.h:451
NvsCapturedAudioSampleInfo::sampleRate
int sampleRate
采样率
Definition: NvsCommonDef.h:523
NvsAudioResolution::channelCount
unsigned int channelCount
声道数
Definition: NvsCommonDef.h:389
NvsAudSmpFmt_None
@ NvsAudSmpFmt_None
无
Definition: NvsCommonDef.h:29
NvsLetterSpacingTypePercentage
@ NvsLetterSpacingTypePercentage
Definition: NvsCommonDef.h:162
NvsDefaultCategory
@ NvsDefaultCategory
默认类型
Definition: NvsCommonDef.h:186
NvsVideoCodecType_MPEG1
@ NvsVideoCodecType_MPEG1
Definition: NvsCommonDef.h:87
NvsAudSmpFmt_S16P
@ NvsAudSmpFmt_S16P
signed 16 bit 平面格式
Definition: NvsCommonDef.h:37
NvsVideoFrameInfoExt::colorTransfer
NvsVideoFrameColorTransfer colorTransfer
Definition: NvsCommonDef.h:496
NvsVideoFrameInfo::frameWidth
int frameWidth
获取到图像的宽度(以像素为单位)
Definition: NvsCommonDef.h:474
NvsTextAlignment
NvsTextAlignment
字幕对齐方式
Definition: NvsCommonDef.h:144
NvsVideoCodecType_VP8
@ NvsVideoCodecType_VP8
Definition: NvsCommonDef.h:84
NvsColor::r
float r
Definition: NvsCommonDef.h:431
NvsAudSmpFmt_FLT
@ NvsAudSmpFmt_FLT
单精度浮点数
Definition: NvsCommonDef.h:33
NvsVideoCodecType_Unknown
@ NvsVideoCodecType_Unknown
Definition: NvsCommonDef.h:80
NvsVideoResolutionBitDepth_16Bit_Float
@ NvsVideoResolutionBitDepth_16Bit_Float
图像像素的位深度为半精度浮点
Definition: NvsCommonDef.h:283
NvsVideoResolutionBitDepth_8Bit
@ NvsVideoResolutionBitDepth_8Bit
图像像素的位深度为8Bit
Definition: NvsCommonDef.h:282
NvsVideoHDRType_DolbyVision
@ NvsVideoHDRType_DolbyVision
Definition: NvsCommonDef.h:120
NvsLiveWindowFillMode
NvsLiveWindowFillMode
Live Window 填充模式
Definition: NvsCommonDef.h:294
NVS_VIDEO_FRAME_MAX_PLANES
#define NVS_VIDEO_FRAME_MAX_PLANES
Definition: NvsCommonDef.h:465
NvsAudioResolution
音频解析度
Definition: NvsCommonDef.h:386
NvsAudioSampleBuffers::channelCount
int channelCount
音频数据通道数
Definition: NvsCommonDef.h:509
NvsVideoHDRType
NvsVideoHDRType
HDR 视频类型
Definition: NvsCommonDef.h:115
NvsSize::width
int width
宽度
Definition: NvsCommonDef.h:363
NvsTextAlignmentVCenter
@ NvsTextAlignmentVCenter
Definition: NvsCommonDef.h:150
NvsGpuVideoFrameFormat_RGBA16F
@ NvsGpuVideoFrameFormat_RGBA16F
RGBA格式每个通道是半精度浮点(half float)
Definition: NvsCommonDef.h:215
NvsPixelFormat_BGRA
@ NvsPixelFormat_BGRA
BGRA
Definition: NvsCommonDef.h:201
NvsAudioSampleFormat
NvsAudioSampleFormat
音频采样格式
Definition: NvsCommonDef.h:28
NvsTextAlignmentRight
@ NvsTextAlignmentRight
Definition: NvsCommonDef.h:147
NvsVideoFrameYUVColorMatrix
NvsVideoFrameYUVColorMatrix
Definition: NvsCommonDef.h:228
NvsVideoResolution
视频解析度
Definition: NvsCommonDef.h:398
NvsVideoResolution::bitDepth
NvsVideoResolutionBitDepth bitDepth
默认是8Bit
Definition: NvsCommonDef.h:402
NvsVideoCodecType_AV1
@ NvsVideoCodecType_AV1
Definition: NvsCommonDef.h:90
NvsVideoRotation_0
@ NvsVideoRotation_0
Definition: NvsCommonDef.h:66
NvsAssetDefaultParam
NvsAssetDefaultParam
使用默认的字幕包属性
Definition: NvsCommonDef.h:173
NvsGpuVideoFrameFormat
NvsGpuVideoFrameFormat
视频帧像素格式
Definition: NvsCommonDef.h:213
NvsAudSmpFmt_U8P
@ NvsAudSmpFmt_U8P
unsigned 8 bit 平面格式
Definition: NvsCommonDef.h:36
NvsVideoHDRType_None
@ NvsVideoHDRType_None
Definition: NvsCommonDef.h:116
NvsPixelFormat_Nv12
@ NvsPixelFormat_Nv12
YUV 4:2:0 12bpp ( 2通道, 一个通道是连续的亮度通道, 另一通道为VU分量交错 )
Definition: NvsCommonDef.h:199
NvsVideoFrameColorTransfer_sRGB_HDR
@ NvsVideoFrameColorTransfer_sRGB_HDR
HDR signal (divided by reference white, i.e. 203 nit) with a sRGB transfer function
Definition: NvsCommonDef.h:250
NvsVideoFrameColorPrimaries_Bt709
@ NvsVideoFrameColorPrimaries_Bt709
RGB color space BT.709 standardized as Rec. ITU-R BT.709-5.
Definition: NvsCommonDef.h:267
NvsVideoCodecType_MJPEG
@ NvsVideoCodecType_MJPEG
Definition: NvsCommonDef.h:89
NvsVideoCodecType_WMV
@ NvsVideoCodecType_WMV
Definition: NvsCommonDef.h:86
NvsPosition2D
二维坐标结构
Definition: NvsCommonDef.h:440
NvsVideoFrameColorTransfer_sRGB
@ NvsVideoFrameColorTransfer_sRGB
Definition: NvsCommonDef.h:247
NvsVideoCodecType_ProRes
@ NvsVideoCodecType_ProRes
Definition: NvsCommonDef.h:91
NvsRect::top
float top
top
Definition: NvsCommonDef.h:377
NvsAudioSampleBuffers::timeStamp
int64_t timeStamp
音频数据的时间戳(单位微秒)
Definition: NvsCommonDef.h:512
NvsAudioSampleBuffers::actualSampleCount
int actualSampleCount
在audioBuffer中的有效采样数量
Definition: NvsCommonDef.h:511
NvsAudioSampleBuffers
Definition: NvsCommonDef.h:504
NvsVideoRotation_90
@ NvsVideoRotation_90
Definition: NvsCommonDef.h:67
NvsVideoResolution::imageHeight
unsigned int imageHeight
图像高度
Definition: NvsCommonDef.h:400
NvsVideoHDRType_Vivid
@ NvsVideoHDRType_Vivid
Definition: NvsCommonDef.h:121
NvsVideoResolution::imageWidth
unsigned int imageWidth
图像宽度
Definition: NvsCommonDef.h:399
NvsVideoCodecType_MPEG4
@ NvsVideoCodecType_MPEG4
Definition: NvsCommonDef.h:83
NvsVideoResolution::colorTransfer
NvsVideoFrameColorTransfer colorTransfer
默认是sRGB
Definition: NvsCommonDef.h:403
NV_AUDIO_MAX_CHANNEL_COUNT
#define NV_AUDIO_MAX_CHANNEL_COUNT
Definition: NvsCommonDef.h:501
NvsRational::num
int num
分子
Definition: NvsCommonDef.h:352
NvsSize
尺寸
Definition: NvsCommonDef.h:362
NvsVideoFrameInfo::displayRotation
int displayRotation
显示当前图像需要旋转的角度
Definition: NvsCommonDef.h:483
NvsAVFileType_AudioVideo
@ NvsAVFileType_AudioVideo
视频
Definition: NvsCommonDef.h:53
NvsRoleInThemeTitle
@ NvsRoleInThemeTitle
片头
Definition: NvsCommonDef.h:133
NvsVideoColorTransfer_SDR_VIDEO
@ NvsVideoColorTransfer_SDR_VIDEO
Definition: NvsCommonDef.h:103
NvsPixelFormat_P010
@ NvsPixelFormat_P010
YUV 4:2:0 24bpp ( 2通道, 一个通道是连续的亮度通道, 另一通道为VU分量交错 每个通道占用16位,高10位有效)
Definition: NvsCommonDef.h:203
NvsVideoResolutionBitDepth
NvsVideoResolutionBitDepth
视频帧像素格式
Definition: NvsCommonDef.h:281
NvsVideoResolution::imagePAR
NvsRational imagePAR
像素比(仅支持1:1)
Definition: NvsCommonDef.h:401
NvsCategory
NvsCategory
片段在主题中的类型
Definition: NvsCommonDef.h:185
NvsPixelFormat_RGBA
@ NvsPixelFormat_RGBA
RGBA
Definition: NvsCommonDef.h:202
NvsVideoFrameInfoExt
视频帧扩展信息
Definition: NvsCommonDef.h:493
NvsVideoFrameInfo::pixelFormat
NvsVideoFramePixelFormat pixelFormat
获取到图像的格式
Definition: NvsCommonDef.h:478