MeiCam SDK For iOS
3.14.0
|
Go to the documentation of this file.
20 #define NVS_EXPORT __attribute__((visibility("default")))
438 #define NVS_VIDEO_FRAME_MAX_PLANES 4
473 #ifndef NV_AUDIO_MAX_CHANNEL_COUNT
474 #define NV_AUDIO_MAX_CHANNEL_COUNT 8
@ NvsAudSmpFmt_S32P
signed 32 bit,planer
Definition: NvsCommonDef.h:38
@ NvsVideoColorTransfer_ST2084
Definition: NvsCommonDef.h:94
@ NvsTextAlignmentBottom
Definition: NvsCommonDef.h:139
NvsVideoFrameColorPrimaries
Definition: NvsCommonDef.h:254
NvsRoleInTheme
The role of the clip in the theme.
Definition: NvsCommonDef.h:121
@ NvsVideoFrameYUVColorMatrix_Bt709
ITU-R BT1361 / IEC 61966-2-4 xvYCC709 / SMPTE RP177 Annex B.
Definition: NvsCommonDef.h:219
@ NvsPixelFormat_YUV420
YUV 4:2:0 12bpp (Three channels, one luminance channel, the other two are U component and V component...
Definition: NvsCommonDef.h:189
int sampleRate
audio sample rate
Definition: NvsCommonDef.h:481
@ NvsThemeCategory
Theme category.
Definition: NvsCommonDef.h:177
@ NvsVideoHDRType_HDR10
Definition: NvsCommonDef.h:107
unsigned int sampleRate
Sampling rate.
Definition: NvsCommonDef.h:375
NvsVideoFrameColorTransfer
Definition: NvsCommonDef.h:235
@ NvsRoleInThemeGeneral
General.
Definition: NvsCommonDef.h:122
@ NvsVideoColorTransfer_HLG
Definition: NvsCommonDef.h:95
@ NvsRoleInThemeTrailer
Trailer.
Definition: NvsCommonDef.h:124
@ 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:330
@ NvsLiveWindowHDRDisplayMode_Device
If the device supports HDR, use HDR display.
Definition: NvsCommonDef.h:329
bool isRec601
Whether color space is BT.601.
Definition: NvsCommonDef.h:453
double y
Definition: NvsCommonDef.h:435
NvsLetterSpacingType
letter spacing type
Definition: NvsCommonDef.h:150
@ NvsVideoResolutionBitDepth_Auto
The bit depth of processing pixel is adaptive. For example, for videos with HDR in editing,...
Definition: NvsCommonDef.h:272
@ NvsLiveWindowFillModePreserveAspectFit
The image is evenly scaled to fit the window, without cropping.
Definition: NvsCommonDef.h:305
bool flipHorizontally
Shows whether current image requires horizontal flip or not.
Definition: NvsCommonDef.h:457
@ NvsTextAlignmentTop
Definition: NvsCommonDef.h:138
@ NvsVideoFrameYUVColorMatrix_Bt2020
ITU-R BT2020.
Definition: NvsCommonDef.h:220
@ NvsLiveWindowFillModePreserveAspectCrop
The image is evenly filled and cropped if necessary (default mode).
Definition: NvsCommonDef.h:293
Rectangle.
Definition: NvsCommonDef.h:361
@ NvsAVFileType_Unknown
Unknown.
Definition: NvsCommonDef.h:52
@ NvsVideoFrameColorTransfer_SMPTE2084
SMPTE ST 2084 for 10-, 12-, 14- and 16-bit systems known as "PQ".
Definition: NvsCommonDef.h:237
Video frame information.
Definition: NvsCommonDef.h:446
@ NvsLetterSpacingTypeAbsolute
Definition: NvsCommonDef.h:152
@ NvsVideoFrameYUVColorMatrix_Bt601
ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL.
Definition: NvsCommonDef.h:218
@ NvsTextAlignmentLeft
Definition: NvsCommonDef.h:135
@ NOT_USE_ASSET_DEFAULT_PARAM
Definition: NvsCommonDef.h:164
Audio sample info from capturing.
Definition: NvsCommonDef.h:495
@ NvsVideoFrameColorPrimaries_DisplayP3
RGB color space Display P3 based on SMPTE RP 431-2-2007 and IEC 61966-2.1:1999.
Definition: NvsCommonDef.h:257
float right
Right.
Definition: NvsCommonDef.h:363
NvsAudioSampleFormat sampleFormat
Sampling format.
Definition: NvsCommonDef.h:376
@ NvsAVFileType_Image
Image.
Definition: NvsCommonDef.h:55
@ NvsVideoHDRType_HDR10Plus
Definition: NvsCommonDef.h:109
NvsVideoFrameColorPrimaries colorPrimaries
Definition: NvsCommonDef.h:470
Rational value.
Definition: NvsCommonDef.h:339
@ NvsAudSmpFmt_DBL
double precision float
Definition: NvsCommonDef.h:34
NvsVideoFrameInfo frameInfo
Definition: NvsCommonDef.h:467
3D coordinate structure
Definition: NvsCommonDef.h:423
@ USE_ASSET_DEFAULT_PARAM
Definition: NvsCommonDef.h:163
@ NvsVideoFrameColorPrimaries_Bt2020
RGB color space BT.2020 standardized as Rec. ITU-R BT.2020-1.
Definition: NvsCommonDef.h:256
@ NvsAudSmpFmt_FLTP
single precision float,planar
Definition: NvsCommonDef.h:39
float bottom
Bottom.
Definition: NvsCommonDef.h:364
float left
Left.
Definition: NvsCommonDef.h:362
NvsVideoFrameYUVColorMatrix colorMatrix
Definition: NvsCommonDef.h:468
@ NvsVideoRotation_270
Definition: NvsCommonDef.h:69
NvsVideoCodecType
Video codec type.
Definition: NvsCommonDef.h:79
int planeSizeInBytes
Definition: NvsCommonDef.h:479
int height
Height.
Definition: NvsCommonDef.h:352
@ NvsVideoFrameColorTransfer_ARIB_STD_B67
ARIB STD-B67, known as "Hybrid log-gamma".
Definition: NvsCommonDef.h:238
@ NvsLiveWindowHDRDisplayMode_SDR
Forced to use SDR display, regardless of whether the device supports HDR display.
Definition: NvsCommonDef.h:328
int64_t frameTimestamp
The captured image's timestamp (in microseconds)
Definition: NvsCommonDef.h:452
@ NvsVideoRotation_180
Definition: NvsCommonDef.h:68
int frameHeight
The captured image's height (in pixel)
Definition: NvsCommonDef.h:448
@ NvsAudSmpFmt_S32
signed 32 bit
Definition: NvsCommonDef.h:32
@ NvsAudSmpFmt_DBLP
double precision float,olanar
Definition: NvsCommonDef.h:40
2D coordinate point structure. The parameter type is double.
Definition: NvsCommonDef.h:433
@ NvsAudSmpFmt_S16
signed 16 bit
Definition: NvsCommonDef.h:31
@ NvsAudSmpFmt_U8
unsigned 8 bit
Definition: NvsCommonDef.h:30
int den
Denominator.
Definition: NvsCommonDef.h:341
NvsAudioSampleFormat sampleFormat
audio sample fromat
Definition: NvsCommonDef.h:483
NvsAVFileType
File type.
Definition: NvsCommonDef.h:51
@ NvsUserCategory
User-defined type.
Definition: NvsCommonDef.h:176
double x
Definition: NvsCommonDef.h:434
@ NvsLiveWindowFillModeStretch
The image is scaled to fit the window.
Definition: NvsCommonDef.h:317
@ NvsAVFileType_Audio
Audio.
Definition: NvsCommonDef.h:54
bool isFullRangeYUV
Whether the yuv value range is full range(0-255)
Definition: NvsCommonDef.h:454
@ NvsGpuVideoFrameFormat_RGBA8
Definition: NvsCommonDef.h:203
NvsVideoRotation
Video rotation.
Definition: NvsCommonDef.h:65
NvsLiveWindowHDRDisplayMode
Live Window fill mode.
Definition: NvsCommonDef.h:327
NvsVideoFramePixelFormat
Video frame pixel format.
Definition: NvsCommonDef.h:187
@ NvsVideoCodecType_H264
Definition: NvsCommonDef.h:81
@ NvsVideoHDRType_HLG
Definition: NvsCommonDef.h:108
@ NvsAudSmpFmt_Count
Definition: NvsCommonDef.h:42
Self-defined color.
Definition: NvsCommonDef.h:403
@ NvsVideoCodecType_H265
Definition: NvsCommonDef.h:82
NvsVideoColorTransfer
Color Transfer Characteristic.
Definition: NvsCommonDef.h:92
float y
Definition: NvsCommonDef.h:414
@ NvsTextAlignmentCenter
Definition: NvsCommonDef.h:136
float z
Definition: NvsCommonDef.h:424
int sampleRate
audio sample rate
Definition: NvsCommonDef.h:496
unsigned int channelCount
Channel count.
Definition: NvsCommonDef.h:377
@ NvsAudSmpFmt_None
None.
Definition: NvsCommonDef.h:29
@ NvsLetterSpacingTypePercentage
Definition: NvsCommonDef.h:151
@ NvsDefaultCategory
Default type.
Definition: NvsCommonDef.h:175
@ NvsAudSmpFmt_S16P
signed 16 bit,planer
Definition: NvsCommonDef.h:37
NvsVideoFrameColorTransfer colorTransfer
Definition: NvsCommonDef.h:469
int frameWidth
The captured image's width (in pixel)
Definition: NvsCommonDef.h:447
NvsTextAlignment
Text alignment style.
Definition: NvsCommonDef.h:134
float r
Definition: NvsCommonDef.h:404
@ NvsAudSmpFmt_FLT
single precision float
Definition: NvsCommonDef.h:33
@ NvsVideoCodecType_Unknown
Definition: NvsCommonDef.h:80
@ NvsVideoResolutionBitDepth_16Bit_Float
The bit depth of processing pixel is half float.
Definition: NvsCommonDef.h:271
@ NvsVideoResolutionBitDepth_8Bit
The bit depth of processing pixel is 8bit.
Definition: NvsCommonDef.h:270
@ NvsVideoHDRType_DolbyVision
Definition: NvsCommonDef.h:110
NvsLiveWindowFillMode
Live Window fill mode.
Definition: NvsCommonDef.h:282
#define NVS_VIDEO_FRAME_MAX_PLANES
Definition: NvsCommonDef.h:438
Audio resolution.
Definition: NvsCommonDef.h:374
int channelCount
audio channel count
Definition: NvsCommonDef.h:482
NvsVideoHDRType
HDR type.
Definition: NvsCommonDef.h:105
int width
Width.
Definition: NvsCommonDef.h:351
@ NvsTextAlignmentVCenter
Definition: NvsCommonDef.h:140
@ NvsGpuVideoFrameFormat_RGBA16F
RGBA format half float per channel.
Definition: NvsCommonDef.h:204
@ NvsPixelFormat_BGRA
BGRA.
Definition: NvsCommonDef.h:190
NvsAudioSampleFormat
Audio sampling format.
Definition: NvsCommonDef.h:28
@ NvsTextAlignmentRight
Definition: NvsCommonDef.h:137
NvsVideoFrameYUVColorMatrix
Definition: NvsCommonDef.h:217
Video resolution.
Definition: NvsCommonDef.h:386
NvsVideoResolutionBitDepth bitDepth
Default is 8Bit.
Definition: NvsCommonDef.h:390
@ NvsVideoRotation_0
Definition: NvsCommonDef.h:66
NvsAssetDefaultParam
Uses the default caption package.
Definition: NvsCommonDef.h:162
NvsGpuVideoFrameFormat
Video frame pixel format.
Definition: NvsCommonDef.h:202
@ NvsAudSmpFmt_U8P
unsigned 8 bit,planer
Definition: NvsCommonDef.h:36
@ NvsVideoHDRType_None
Definition: NvsCommonDef.h:106
@ NvsPixelFormat_Nv12
YUV 4:2:0 12bpp (Two channels, one channel is a continuous luminance channel, and the other channel i...
Definition: NvsCommonDef.h:188
@ NvsVideoFrameColorPrimaries_Bt709
RGB color space BT.709 standardized as Rec. ITU-R BT.709-5.
Definition: NvsCommonDef.h:255
2D coordinate structure
Definition: NvsCommonDef.h:413
@ NvsVideoFrameColorTransfer_sRGB
Definition: NvsCommonDef.h:236
float top
Top.
Definition: NvsCommonDef.h:365
int64_t timeStamp
the timestamp of the audio sample buffer in microseconds
Definition: NvsCommonDef.h:485
int actualSampleCount
actual audio sample count in audioBuffer
Definition: NvsCommonDef.h:484
Definition: NvsCommonDef.h:477
@ NvsVideoRotation_90
Definition: NvsCommonDef.h:67
unsigned int imageHeight
Image height.
Definition: NvsCommonDef.h:388
@ NvsVideoHDRType_Vivid
Definition: NvsCommonDef.h:111
unsigned int imageWidth
Image width.
Definition: NvsCommonDef.h:387
#define NV_AUDIO_MAX_CHANNEL_COUNT
Definition: NvsCommonDef.h:474
int num
Numerator.
Definition: NvsCommonDef.h:340
Size.
Definition: NvsCommonDef.h:350
int displayRotation
Shows the angle at which the current image needs to be rotated.
Definition: NvsCommonDef.h:456
@ NvsAVFileType_AudioVideo
Video.
Definition: NvsCommonDef.h:53
@ NvsRoleInThemeTitle
Title.
Definition: NvsCommonDef.h:123
@ NvsVideoColorTransfer_SDR_VIDEO
Definition: NvsCommonDef.h:93
@ NvsPixelFormat_P010
YUV 4:2:0 24bpp (2 channels, one channel is a continuous luminance channel, and the other channel is ...
Definition: NvsCommonDef.h:192
NvsVideoResolutionBitDepth
Video frame pixel format.
Definition: NvsCommonDef.h:269
NvsRational imagePAR
Pixel ratio (only 1:1)
Definition: NvsCommonDef.h:389
NvsCategory
The type of clip in theme.
Definition: NvsCommonDef.h:174
@ NvsPixelFormat_RGBA
RGBA.
Definition: NvsCommonDef.h:191
Video frame extra information.
Definition: NvsCommonDef.h:466
NvsVideoFramePixelFormat pixelFormat
The captured image's format.
Definition: NvsCommonDef.h:451