MeiCam SDK For iOS  3.16.2
NvsCommonDef.h
Go to the documentation of this file.
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 {
152 
160 {
164 
172 {
176 
183 typedef enum NvsCategory
184 {
189 
197 {
204 
212 {
216 
225 typedef enum NvsVideoFrameYUVColorMatrix
227 {
233 
242 
245 {
251 
253 
262 typedef enum NvsVideoFrameColorPrimaries
265 {
270 
272 
280 {
285 
286 
293 typedef enum {
305 
317 
330 
331 
338 typedef enum {
343 
350 typedef struct {
351  int num;
352  int den;
353 } NvsRational;
354 
361 typedef struct {
362  int width;
363  int height;
364 } NvsSize;
365 
372 typedef struct {
373  float left;
374  float right;
375  float bottom;
376  float top;
377 } NvsRect;
378 
385 typedef struct {
386  unsigned int sampleRate;
388  unsigned int channelCount;
390 
397 typedef struct {
398  unsigned int imageWidth;
399  unsigned int imageHeight;
405 
407 {
408  NvsVideoResolution res;
409  res.imageWidth = 0;
410  res.imageHeight = 0;
411  res.imagePAR.num = 1;
412  res.imagePAR.den = 1;
416  return res;
417 }
418 
429 typedef struct {
430  float r, g, b, a;
431 } NvsColor;
432 
439 typedef struct {
440  float x, y;
441 } NvsPosition2D;
442 
449 typedef struct {
450  float x, y, z;
451 } NvsPosition3D;
452 
459 typedef struct {
460  double x;
461  double y;
462 } NvsPointD;
463 
464 #define NVS_VIDEO_FRAME_MAX_PLANES 4
465 
472 typedef struct{
475  int planeRowPitch[NVS_VIDEO_FRAME_MAX_PLANES];
476  void* planePtr[NVS_VIDEO_FRAME_MAX_PLANES];
478  int64_t frameTimestamp;
479  bool isRec601;
481 
485 
492 typedef struct{
498 
499 #ifndef NV_AUDIO_MAX_CHANNEL_COUNT
500  #define NV_AUDIO_MAX_CHANNEL_COUNT 8
501 #endif
502 
503 typedef struct{
505  int planeSizeInBytes; // For planar audio: size in bytes of each plane(channel)
506  // For packed audio: size in bytes of total samples
511  int64_t timeStamp;
513 
521 typedef struct{
NvsAudSmpFmt_S32P
@ NvsAudSmpFmt_S32P
signed 32 bit,planer
Definition: NvsCommonDef.h:38
NvsVideoColorTransfer_ST2084
@ NvsVideoColorTransfer_ST2084
Definition: NvsCommonDef.h:104
NvsTextAlignmentBottom
@ NvsTextAlignmentBottom
Definition: NvsCommonDef.h:149
NvsVideoFrameColorPrimaries
NvsVideoFrameColorPrimaries
Definition: NvsCommonDef.h:265
NvsRoleInTheme
NvsRoleInTheme
The role of the clip in the theme.
Definition: NvsCommonDef.h:131
NvsVideoFrameYUVColorMatrix_Bt709
@ NvsVideoFrameYUVColorMatrix_Bt709
ITU-R BT1361 / IEC 61966-2-4 xvYCC709 / SMPTE RP177 Annex B.
Definition: NvsCommonDef.h:229
NvsPixelFormat_YUV420
@ NvsPixelFormat_YUV420
YUV 4:2:0 12bpp (Three channels, one luminance channel, the other two are U component and V component...
Definition: NvsCommonDef.h:199
NvsAudioSampleBuffers::sampleRate
int sampleRate
audio sample rate
Definition: NvsCommonDef.h:507
NvsThemeCategory
@ NvsThemeCategory
Theme category.
Definition: NvsCommonDef.h:187
NvsVideoHDRType_HDR10
@ NvsVideoHDRType_HDR10
Definition: NvsCommonDef.h:117
NvsAudioResolution::sampleRate
unsigned int sampleRate
Sampling rate.
Definition: NvsCommonDef.h:386
NvsVideoFrameColorTransfer
NvsVideoFrameColorTransfer
Definition: NvsCommonDef.h:245
NvsRoleInThemeGeneral
@ NvsRoleInThemeGeneral
General.
Definition: NvsCommonDef.h:132
NvsVideoColorTransfer_HLG
@ NvsVideoColorTransfer_HLG
Definition: NvsCommonDef.h:105
NvsRoleInThemeTrailer
@ NvsRoleInThemeTrailer
Trailer.
Definition: NvsCommonDef.h:134
NvsLiveWindowHDRDisplayMode_TONE_MAP_SDR
@ NvsLiveWindowHDRDisplayMode_TONE_MAP_SDR
If the device supports HDR, use HDR display, and use NO HDR mode display if it is not supported.
Definition: NvsCommonDef.h:341
NvsLiveWindowHDRDisplayMode_Device
@ NvsLiveWindowHDRDisplayMode_Device
If the device supports HDR, use HDR display.
Definition: NvsCommonDef.h:340
NvsVideoFrameInfo::isRec601
bool isRec601
Whether color space is BT.601.
Definition: NvsCommonDef.h:479
NvsPointD::y
double y
Definition: NvsCommonDef.h:461
NvsLetterSpacingType
NvsLetterSpacingType
letter spacing type
Definition: NvsCommonDef.h:160
NvsVideoResolutionBitDepth_Auto
@ NvsVideoResolutionBitDepth_Auto
The bit depth of processing pixel is adaptive. For example, for videos with HDR in editing,...
Definition: NvsCommonDef.h:283
NvsLiveWindowFillModePreserveAspectFit
@ NvsLiveWindowFillModePreserveAspectFit
The image is evenly scaled to fit the window, without cropping.
Definition: NvsCommonDef.h:316
NvsVideoFrameInfo::flipHorizontally
bool flipHorizontally
Shows whether current image requires horizontal flip or not.
Definition: NvsCommonDef.h:483
NvsTextAlignmentTop
@ NvsTextAlignmentTop
Definition: NvsCommonDef.h:148
NvsVideoFrameYUVColorMatrix_Bt2020
@ NvsVideoFrameYUVColorMatrix_Bt2020
ITU-R BT2020.
Definition: NvsCommonDef.h:230
NvsLiveWindowFillModePreserveAspectCrop
@ NvsLiveWindowFillModePreserveAspectCrop
The image is evenly filled and cropped if necessary (default mode).
Definition: NvsCommonDef.h:304
NvsRect
Rectangle.
Definition: NvsCommonDef.h:372
NvsAVFileType_Unknown
@ NvsAVFileType_Unknown
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:247
NvsVideoFrameInfo
Video frame information.
Definition: NvsCommonDef.h:472
NvsVideoResolution::colorPrimaries
NvsVideoFrameColorPrimaries colorPrimaries
Default is bt709.
Definition: NvsCommonDef.h:403
NvsLetterSpacingTypeAbsolute
@ NvsLetterSpacingTypeAbsolute
Definition: NvsCommonDef.h:162
NvsVideoFrameYUVColorMatrix_Bt601
@ NvsVideoFrameYUVColorMatrix_Bt601
ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL.
Definition: NvsCommonDef.h:228
NvsTextAlignmentLeft
@ NvsTextAlignmentLeft
Definition: NvsCommonDef.h:145
NOT_USE_ASSET_DEFAULT_PARAM
@ NOT_USE_ASSET_DEFAULT_PARAM
Definition: NvsCommonDef.h:174
NvsCapturedAudioSampleInfo
Audio sample info from capturing.
Definition: NvsCommonDef.h:521
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:268
NvsRect::right
float right
Right.
Definition: NvsCommonDef.h:374
NvsAudioResolution::sampleFormat
NvsAudioSampleFormat sampleFormat
Sampling format.
Definition: NvsCommonDef.h:387
NvsAVFileType_Image
@ NvsAVFileType_Image
Image.
Definition: NvsCommonDef.h:55
NvsVideoHDRType_HDR10Plus
@ NvsVideoHDRType_HDR10Plus
Definition: NvsCommonDef.h:119
NvsVideoFrameInfoExt::colorPrimaries
NvsVideoFrameColorPrimaries colorPrimaries
Definition: NvsCommonDef.h:496
NvsRational
Rational value.
Definition: NvsCommonDef.h:350
NvsAudSmpFmt_DBL
@ NvsAudSmpFmt_DBL
double precision float
Definition: NvsCommonDef.h:34
NvsVideoFrameInfoExt::frameInfo
NvsVideoFrameInfo frameInfo
Definition: NvsCommonDef.h:493
NvsPosition3D
3D coordinate structure
Definition: NvsCommonDef.h:449
USE_ASSET_DEFAULT_PARAM
@ USE_ASSET_DEFAULT_PARAM
Definition: NvsCommonDef.h:173
NvsVideoFrameColorPrimaries_Bt2020
@ NvsVideoFrameColorPrimaries_Bt2020
RGB color space BT.2020 standardized as Rec. ITU-R BT.2020-1.
Definition: NvsCommonDef.h:267
NvsAudSmpFmt_FLTP
@ NvsAudSmpFmt_FLTP
single precision float,planar
Definition: NvsCommonDef.h:39
NvsRect::bottom
float bottom
Bottom.
Definition: NvsCommonDef.h:375
NvsRect::left
float left
Left.
Definition: NvsCommonDef.h:373
NvsVideoFrameInfoExt::colorMatrix
NvsVideoFrameYUVColorMatrix colorMatrix
Definition: NvsCommonDef.h:494
NvsVideoRotation_270
@ NvsVideoRotation_270
Definition: NvsCommonDef.h:69
NvsVideoCodecType
NvsVideoCodecType
Video codec type.
Definition: NvsCommonDef.h:79
NvsAudioSampleBuffers::planeSizeInBytes
int planeSizeInBytes
Definition: NvsCommonDef.h:505
NvsSize::height
int height
Height.
Definition: NvsCommonDef.h:363
NvsVideoFrameColorTransfer_ARIB_STD_B67
@ NvsVideoFrameColorTransfer_ARIB_STD_B67
ARIB STD-B67, known as "Hybrid log-gamma".
Definition: NvsCommonDef.h:248
NvsLiveWindowHDRDisplayMode_SDR
@ NvsLiveWindowHDRDisplayMode_SDR
Forced to use SDR display, regardless of whether the device supports HDR display.
Definition: NvsCommonDef.h:339
NvsVideoFrameInfo::frameTimestamp
int64_t frameTimestamp
The captured image's timestamp (in microseconds)
Definition: NvsCommonDef.h:478
NvsVideoRotation_180
@ NvsVideoRotation_180
Definition: NvsCommonDef.h:68
NvsVideoFrameInfo::frameHeight
int frameHeight
The captured image's height (in pixel)
Definition: NvsCommonDef.h:474
NvsVideoCodecType_VP9
@ NvsVideoCodecType_VP9
Definition: NvsCommonDef.h:85
NvsAudSmpFmt_S32
@ NvsAudSmpFmt_S32
signed 32 bit
Definition: NvsCommonDef.h:32
NvsAudSmpFmt_DBLP
@ NvsAudSmpFmt_DBLP
double precision float,olanar
Definition: NvsCommonDef.h:40
NvsPointD
2D coordinate point structure. The parameter type is double.
Definition: NvsCommonDef.h:459
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
Denominator.
Definition: NvsCommonDef.h:352
NvsAudioSampleBuffers::sampleFormat
NvsAudioSampleFormat sampleFormat
audio sample fromat
Definition: NvsCommonDef.h:509
NvsMakeDefaultVideoResolution
static NvsVideoResolution NvsMakeDefaultVideoResolution()
Definition: NvsCommonDef.h:406
NvsAVFileType
NvsAVFileType
File type.
Definition: NvsCommonDef.h:51
NvsUserCategory
@ NvsUserCategory
User-defined type.
Definition: NvsCommonDef.h:186
NvsPointD::x
double x
Definition: NvsCommonDef.h:460
NvsLiveWindowFillModeStretch
@ NvsLiveWindowFillModeStretch
The image is scaled to fit the window.
Definition: NvsCommonDef.h:328
NvsAVFileType_Audio
@ NvsAVFileType_Audio
Audio.
Definition: NvsCommonDef.h:54
NvsVideoFrameInfo::isFullRangeYUV
bool isFullRangeYUV
Whether the yuv value range is full range(0-255)
Definition: NvsCommonDef.h:480
NvsGpuVideoFrameFormat_RGBA8
@ NvsGpuVideoFrameFormat_RGBA8
Definition: NvsCommonDef.h:213
NvsVideoRotation
NvsVideoRotation
Video rotation.
Definition: NvsCommonDef.h:65
NvsLiveWindowHDRDisplayMode
NvsLiveWindowHDRDisplayMode
Live Window fill mode.
Definition: NvsCommonDef.h:338
NvsVideoFramePixelFormat
NvsVideoFramePixelFormat
Video frame pixel format.
Definition: NvsCommonDef.h:197
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
Self-defined color.
Definition: NvsCommonDef.h:429
NvsVideoCodecType_H265
@ NvsVideoCodecType_H265
Definition: NvsCommonDef.h:82
NvsVideoColorTransfer
NvsVideoColorTransfer
Color Transfer Characteristic.
Definition: NvsCommonDef.h:102
NvsPosition2D::y
float y
Definition: NvsCommonDef.h:440
NvsTextAlignmentCenter
@ NvsTextAlignmentCenter
Definition: NvsCommonDef.h:146
NvsPosition3D::z
float z
Definition: NvsCommonDef.h:450
NvsCapturedAudioSampleInfo::sampleRate
int sampleRate
audio sample rate
Definition: NvsCommonDef.h:522
NvsAudioResolution::channelCount
unsigned int channelCount
Channel count.
Definition: NvsCommonDef.h:388
NvsAudSmpFmt_None
@ NvsAudSmpFmt_None
None.
Definition: NvsCommonDef.h:29
NvsLetterSpacingTypePercentage
@ NvsLetterSpacingTypePercentage
Definition: NvsCommonDef.h:161
NvsDefaultCategory
@ NvsDefaultCategory
Default type.
Definition: NvsCommonDef.h:185
NvsVideoCodecType_MPEG1
@ NvsVideoCodecType_MPEG1
Definition: NvsCommonDef.h:87
NvsAudSmpFmt_S16P
@ NvsAudSmpFmt_S16P
signed 16 bit,planer
Definition: NvsCommonDef.h:37
NvsVideoFrameInfoExt::colorTransfer
NvsVideoFrameColorTransfer colorTransfer
Definition: NvsCommonDef.h:495
NvsVideoFrameInfo::frameWidth
int frameWidth
The captured image's width (in pixel)
Definition: NvsCommonDef.h:473
NvsTextAlignment
NvsTextAlignment
Text alignment style.
Definition: NvsCommonDef.h:144
NvsVideoCodecType_VP8
@ NvsVideoCodecType_VP8
Definition: NvsCommonDef.h:84
NvsColor::r
float r
Definition: NvsCommonDef.h:430
NvsAudSmpFmt_FLT
@ NvsAudSmpFmt_FLT
single precision float
Definition: NvsCommonDef.h:33
NvsVideoCodecType_Unknown
@ NvsVideoCodecType_Unknown
Definition: NvsCommonDef.h:80
NvsVideoResolutionBitDepth_16Bit_Float
@ NvsVideoResolutionBitDepth_16Bit_Float
The bit depth of processing pixel is half float.
Definition: NvsCommonDef.h:282
NvsVideoResolutionBitDepth_8Bit
@ NvsVideoResolutionBitDepth_8Bit
The bit depth of processing pixel is 8bit.
Definition: NvsCommonDef.h:281
NvsVideoHDRType_DolbyVision
@ NvsVideoHDRType_DolbyVision
Definition: NvsCommonDef.h:120
NvsLiveWindowFillMode
NvsLiveWindowFillMode
Live Window fill mode.
Definition: NvsCommonDef.h:293
NVS_VIDEO_FRAME_MAX_PLANES
#define NVS_VIDEO_FRAME_MAX_PLANES
Definition: NvsCommonDef.h:464
NvsAudioResolution
Audio resolution.
Definition: NvsCommonDef.h:385
NvsAudioSampleBuffers::channelCount
int channelCount
audio channel count
Definition: NvsCommonDef.h:508
NvsVideoHDRType
NvsVideoHDRType
HDR type.
Definition: NvsCommonDef.h:115
NvsSize::width
int width
Width.
Definition: NvsCommonDef.h:362
NvsTextAlignmentVCenter
@ NvsTextAlignmentVCenter
Definition: NvsCommonDef.h:150
NvsGpuVideoFrameFormat_RGBA16F
@ NvsGpuVideoFrameFormat_RGBA16F
RGBA format half float per channel.
Definition: NvsCommonDef.h:214
NvsPixelFormat_BGRA
@ NvsPixelFormat_BGRA
BGRA.
Definition: NvsCommonDef.h:200
NvsAudioSampleFormat
NvsAudioSampleFormat
Audio sampling format.
Definition: NvsCommonDef.h:28
NvsTextAlignmentRight
@ NvsTextAlignmentRight
Definition: NvsCommonDef.h:147
NvsVideoFrameYUVColorMatrix
NvsVideoFrameYUVColorMatrix
Definition: NvsCommonDef.h:227
NvsVideoResolution
Video resolution.
Definition: NvsCommonDef.h:397
NvsVideoResolution::bitDepth
NvsVideoResolutionBitDepth bitDepth
Default is 8Bit.
Definition: NvsCommonDef.h:401
NvsVideoCodecType_AV1
@ NvsVideoCodecType_AV1
Definition: NvsCommonDef.h:90
NvsVideoRotation_0
@ NvsVideoRotation_0
Definition: NvsCommonDef.h:66
NvsAssetDefaultParam
NvsAssetDefaultParam
Uses the default caption package.
Definition: NvsCommonDef.h:172
NvsGpuVideoFrameFormat
NvsGpuVideoFrameFormat
Video frame pixel format.
Definition: NvsCommonDef.h:212
NvsAudSmpFmt_U8P
@ NvsAudSmpFmt_U8P
unsigned 8 bit,planer
Definition: NvsCommonDef.h:36
NvsVideoHDRType_None
@ NvsVideoHDRType_None
Definition: NvsCommonDef.h:116
NvsPixelFormat_Nv12
@ NvsPixelFormat_Nv12
YUV 4:2:0 12bpp (Two channels, one channel is a continuous luminance channel, and the other channel i...
Definition: NvsCommonDef.h:198
NvsVideoFrameColorTransfer_sRGB_HDR
@ NvsVideoFrameColorTransfer_sRGB_HDR
HDR signal (divided by reference white, i.e. 203 nit) with a sRGB transfer function.
Definition: NvsCommonDef.h:249
NvsVideoFrameColorPrimaries_Bt709
@ NvsVideoFrameColorPrimaries_Bt709
RGB color space BT.709 standardized as Rec. ITU-R BT.709-5.
Definition: NvsCommonDef.h:266
NvsVideoCodecType_MJPEG
@ NvsVideoCodecType_MJPEG
Definition: NvsCommonDef.h:89
NvsVideoCodecType_WMV
@ NvsVideoCodecType_WMV
Definition: NvsCommonDef.h:86
NvsPosition2D
2D coordinate structure
Definition: NvsCommonDef.h:439
NvsVideoFrameColorTransfer_sRGB
@ NvsVideoFrameColorTransfer_sRGB
Definition: NvsCommonDef.h:246
NvsVideoCodecType_ProRes
@ NvsVideoCodecType_ProRes
Definition: NvsCommonDef.h:91
NvsRect::top
float top
Top.
Definition: NvsCommonDef.h:376
NvsAudioSampleBuffers::timeStamp
int64_t timeStamp
the timestamp of the audio sample buffer in microseconds
Definition: NvsCommonDef.h:511
NvsAudioSampleBuffers::actualSampleCount
int actualSampleCount
actual audio sample count in audioBuffer
Definition: NvsCommonDef.h:510
NvsAudioSampleBuffers
Definition: NvsCommonDef.h:503
NvsVideoRotation_90
@ NvsVideoRotation_90
Definition: NvsCommonDef.h:67
NvsVideoResolution::imageHeight
unsigned int imageHeight
Image height.
Definition: NvsCommonDef.h:399
NvsVideoHDRType_Vivid
@ NvsVideoHDRType_Vivid
Definition: NvsCommonDef.h:121
NvsVideoResolution::imageWidth
unsigned int imageWidth
Image width.
Definition: NvsCommonDef.h:398
NvsVideoCodecType_MPEG4
@ NvsVideoCodecType_MPEG4
Definition: NvsCommonDef.h:83
NvsVideoResolution::colorTransfer
NvsVideoFrameColorTransfer colorTransfer
Default is sRGB.
Definition: NvsCommonDef.h:402
NV_AUDIO_MAX_CHANNEL_COUNT
#define NV_AUDIO_MAX_CHANNEL_COUNT
Definition: NvsCommonDef.h:500
NvsRational::num
int num
Numerator.
Definition: NvsCommonDef.h:351
NvsSize
Size.
Definition: NvsCommonDef.h:361
NvsVideoFrameInfo::displayRotation
int displayRotation
Shows the angle at which the current image needs to be rotated.
Definition: NvsCommonDef.h:482
NvsAVFileType_AudioVideo
@ NvsAVFileType_AudioVideo
Video.
Definition: NvsCommonDef.h:53
NvsRoleInThemeTitle
@ NvsRoleInThemeTitle
Title.
Definition: NvsCommonDef.h:133
NvsVideoColorTransfer_SDR_VIDEO
@ NvsVideoColorTransfer_SDR_VIDEO
Definition: NvsCommonDef.h:103
NvsPixelFormat_P010
@ NvsPixelFormat_P010
YUV 4:2:0 24bpp (2 channels, one channel is a continuous luminance channel, and the other channel is ...
Definition: NvsCommonDef.h:202
NvsVideoResolutionBitDepth
NvsVideoResolutionBitDepth
Video frame pixel format.
Definition: NvsCommonDef.h:280
NvsVideoResolution::imagePAR
NvsRational imagePAR
Pixel ratio (only 1:1)
Definition: NvsCommonDef.h:400
NvsCategory
NvsCategory
The type of clip in theme.
Definition: NvsCommonDef.h:184
NvsPixelFormat_RGBA
@ NvsPixelFormat_RGBA
RGBA.
Definition: NvsCommonDef.h:201
NvsVideoFrameInfoExt
Video frame extra information.
Definition: NvsCommonDef.h:492
NvsVideoFrameInfo::pixelFormat
NvsVideoFramePixelFormat pixelFormat
The captured image's format.
Definition: NvsCommonDef.h:477