|
MeiCam SDK For iOS
3.15.0
|
Go to the documentation of this file.
20 #define NVS_EXPORT __attribute__((visibility("default")))
448 #define NVS_VIDEO_FRAME_MAX_PLANES 4
483 #ifndef NV_AUDIO_MAX_CHANNEL_COUNT
484 #define NV_AUDIO_MAX_CHANNEL_COUNT 8
@ NvsAudSmpFmt_S32P
signed 32 bit,planer
Definition: NvsCommonDef.h:38
@ NvsVideoColorTransfer_ST2084
Definition: NvsCommonDef.h:104
@ NvsTextAlignmentBottom
Definition: NvsCommonDef.h:149
NvsVideoFrameColorPrimaries
Definition: NvsCommonDef.h:264
NvsRoleInTheme
The role of the clip in the theme.
Definition: NvsCommonDef.h:131
@ NvsVideoFrameYUVColorMatrix_Bt709
ITU-R BT1361 / IEC 61966-2-4 xvYCC709 / SMPTE RP177 Annex B.
Definition: NvsCommonDef.h:229
@ 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
int sampleRate
audio sample rate
Definition: NvsCommonDef.h:491
@ NvsThemeCategory
Theme category.
Definition: NvsCommonDef.h:187
@ NvsVideoHDRType_HDR10
Definition: NvsCommonDef.h:117
unsigned int sampleRate
Sampling rate.
Definition: NvsCommonDef.h:385
NvsVideoFrameColorTransfer
Definition: NvsCommonDef.h:245
@ NvsRoleInThemeGeneral
General.
Definition: NvsCommonDef.h:132
@ NvsVideoColorTransfer_HLG
Definition: NvsCommonDef.h:105
@ NvsRoleInThemeTrailer
Trailer.
Definition: NvsCommonDef.h:134
@ 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:340
@ NvsLiveWindowHDRDisplayMode_Device
If the device supports HDR, use HDR display.
Definition: NvsCommonDef.h:339
bool isRec601
Whether color space is BT.601.
Definition: NvsCommonDef.h:463
double y
Definition: NvsCommonDef.h:445
NvsLetterSpacingType
letter spacing type
Definition: NvsCommonDef.h:160
@ NvsVideoResolutionBitDepth_Auto
The bit depth of processing pixel is adaptive. For example, for videos with HDR in editing,...
Definition: NvsCommonDef.h:282
@ NvsLiveWindowFillModePreserveAspectFit
The image is evenly scaled to fit the window, without cropping.
Definition: NvsCommonDef.h:315
bool flipHorizontally
Shows whether current image requires horizontal flip or not.
Definition: NvsCommonDef.h:467
@ NvsTextAlignmentTop
Definition: NvsCommonDef.h:148
@ NvsVideoFrameYUVColorMatrix_Bt2020
ITU-R BT2020.
Definition: NvsCommonDef.h:230
@ NvsLiveWindowFillModePreserveAspectCrop
The image is evenly filled and cropped if necessary (default mode).
Definition: NvsCommonDef.h:303
Rectangle.
Definition: NvsCommonDef.h:371
@ 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:247
Video frame information.
Definition: NvsCommonDef.h:456
@ NvsLetterSpacingTypeAbsolute
Definition: NvsCommonDef.h:162
@ NvsVideoFrameYUVColorMatrix_Bt601
ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL.
Definition: NvsCommonDef.h:228
@ NvsTextAlignmentLeft
Definition: NvsCommonDef.h:145
@ NOT_USE_ASSET_DEFAULT_PARAM
Definition: NvsCommonDef.h:174
Audio sample info from capturing.
Definition: NvsCommonDef.h:505
@ NvsVideoFrameColorPrimaries_DisplayP3
RGB color space Display P3 based on SMPTE RP 431-2-2007 and IEC 61966-2.1:1999.
Definition: NvsCommonDef.h:267
float right
Right.
Definition: NvsCommonDef.h:373
NvsAudioSampleFormat sampleFormat
Sampling format.
Definition: NvsCommonDef.h:386
@ NvsAVFileType_Image
Image.
Definition: NvsCommonDef.h:55
@ NvsVideoHDRType_HDR10Plus
Definition: NvsCommonDef.h:119
NvsVideoFrameColorPrimaries colorPrimaries
Definition: NvsCommonDef.h:480
Rational value.
Definition: NvsCommonDef.h:349
@ NvsAudSmpFmt_DBL
double precision float
Definition: NvsCommonDef.h:34
NvsVideoFrameInfo frameInfo
Definition: NvsCommonDef.h:477
3D coordinate structure
Definition: NvsCommonDef.h:433
@ USE_ASSET_DEFAULT_PARAM
Definition: NvsCommonDef.h:173
@ NvsVideoFrameColorPrimaries_Bt2020
RGB color space BT.2020 standardized as Rec. ITU-R BT.2020-1.
Definition: NvsCommonDef.h:266
@ NvsAudSmpFmt_FLTP
single precision float,planar
Definition: NvsCommonDef.h:39
float bottom
Bottom.
Definition: NvsCommonDef.h:374
float left
Left.
Definition: NvsCommonDef.h:372
NvsVideoFrameYUVColorMatrix colorMatrix
Definition: NvsCommonDef.h:478
@ NvsVideoRotation_270
Definition: NvsCommonDef.h:69
NvsVideoCodecType
Video codec type.
Definition: NvsCommonDef.h:79
int planeSizeInBytes
Definition: NvsCommonDef.h:489
int height
Height.
Definition: NvsCommonDef.h:362
@ NvsVideoFrameColorTransfer_ARIB_STD_B67
ARIB STD-B67, known as "Hybrid log-gamma".
Definition: NvsCommonDef.h:248
@ NvsLiveWindowHDRDisplayMode_SDR
Forced to use SDR display, regardless of whether the device supports HDR display.
Definition: NvsCommonDef.h:338
int64_t frameTimestamp
The captured image's timestamp (in microseconds)
Definition: NvsCommonDef.h:462
@ NvsVideoRotation_180
Definition: NvsCommonDef.h:68
int frameHeight
The captured image's height (in pixel)
Definition: NvsCommonDef.h:458
@ NvsVideoCodecType_VP9
Definition: NvsCommonDef.h:85
@ 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:443
@ NvsAudSmpFmt_S16
signed 16 bit
Definition: NvsCommonDef.h:31
@ NvsAudSmpFmt_U8
unsigned 8 bit
Definition: NvsCommonDef.h:30
@ NvsVideoCodecType_MPEG2
Definition: NvsCommonDef.h:88
int den
Denominator.
Definition: NvsCommonDef.h:351
NvsAudioSampleFormat sampleFormat
audio sample fromat
Definition: NvsCommonDef.h:493
NvsAVFileType
File type.
Definition: NvsCommonDef.h:51
@ NvsUserCategory
User-defined type.
Definition: NvsCommonDef.h:186
double x
Definition: NvsCommonDef.h:444
@ NvsLiveWindowFillModeStretch
The image is scaled to fit the window.
Definition: NvsCommonDef.h:327
@ NvsAVFileType_Audio
Audio.
Definition: NvsCommonDef.h:54
bool isFullRangeYUV
Whether the yuv value range is full range(0-255)
Definition: NvsCommonDef.h:464
@ NvsGpuVideoFrameFormat_RGBA8
Definition: NvsCommonDef.h:213
NvsVideoRotation
Video rotation.
Definition: NvsCommonDef.h:65
NvsLiveWindowHDRDisplayMode
Live Window fill mode.
Definition: NvsCommonDef.h:337
NvsVideoFramePixelFormat
Video frame pixel format.
Definition: NvsCommonDef.h:197
@ NvsVideoCodecType_H264
Definition: NvsCommonDef.h:81
@ NvsVideoHDRType_HLG
Definition: NvsCommonDef.h:118
@ NvsAudSmpFmt_Count
Definition: NvsCommonDef.h:42
Self-defined color.
Definition: NvsCommonDef.h:413
@ NvsVideoCodecType_H265
Definition: NvsCommonDef.h:82
NvsVideoColorTransfer
Color Transfer Characteristic.
Definition: NvsCommonDef.h:102
float y
Definition: NvsCommonDef.h:424
@ NvsTextAlignmentCenter
Definition: NvsCommonDef.h:146
float z
Definition: NvsCommonDef.h:434
int sampleRate
audio sample rate
Definition: NvsCommonDef.h:506
unsigned int channelCount
Channel count.
Definition: NvsCommonDef.h:387
@ NvsAudSmpFmt_None
None.
Definition: NvsCommonDef.h:29
@ NvsLetterSpacingTypePercentage
Definition: NvsCommonDef.h:161
@ NvsDefaultCategory
Default type.
Definition: NvsCommonDef.h:185
@ NvsVideoCodecType_MPEG1
Definition: NvsCommonDef.h:87
@ NvsAudSmpFmt_S16P
signed 16 bit,planer
Definition: NvsCommonDef.h:37
NvsVideoFrameColorTransfer colorTransfer
Definition: NvsCommonDef.h:479
int frameWidth
The captured image's width (in pixel)
Definition: NvsCommonDef.h:457
NvsTextAlignment
Text alignment style.
Definition: NvsCommonDef.h:144
@ NvsVideoCodecType_VP8
Definition: NvsCommonDef.h:84
float r
Definition: NvsCommonDef.h:414
@ 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:281
@ NvsVideoResolutionBitDepth_8Bit
The bit depth of processing pixel is 8bit.
Definition: NvsCommonDef.h:280
@ NvsVideoHDRType_DolbyVision
Definition: NvsCommonDef.h:120
NvsLiveWindowFillMode
Live Window fill mode.
Definition: NvsCommonDef.h:292
#define NVS_VIDEO_FRAME_MAX_PLANES
Definition: NvsCommonDef.h:448
Audio resolution.
Definition: NvsCommonDef.h:384
int channelCount
audio channel count
Definition: NvsCommonDef.h:492
NvsVideoHDRType
HDR type.
Definition: NvsCommonDef.h:115
int width
Width.
Definition: NvsCommonDef.h:361
@ NvsTextAlignmentVCenter
Definition: NvsCommonDef.h:150
@ NvsGpuVideoFrameFormat_RGBA16F
RGBA format half float per channel.
Definition: NvsCommonDef.h:214
@ NvsPixelFormat_BGRA
BGRA.
Definition: NvsCommonDef.h:200
NvsAudioSampleFormat
Audio sampling format.
Definition: NvsCommonDef.h:28
@ NvsTextAlignmentRight
Definition: NvsCommonDef.h:147
NvsVideoFrameYUVColorMatrix
Definition: NvsCommonDef.h:227
Video resolution.
Definition: NvsCommonDef.h:396
NvsVideoResolutionBitDepth bitDepth
Default is 8Bit.
Definition: NvsCommonDef.h:400
@ NvsVideoCodecType_AV1
Definition: NvsCommonDef.h:90
@ NvsVideoRotation_0
Definition: NvsCommonDef.h:66
NvsAssetDefaultParam
Uses the default caption package.
Definition: NvsCommonDef.h:172
NvsGpuVideoFrameFormat
Video frame pixel format.
Definition: NvsCommonDef.h:212
@ NvsAudSmpFmt_U8P
unsigned 8 bit,planer
Definition: NvsCommonDef.h:36
@ NvsVideoHDRType_None
Definition: NvsCommonDef.h:116
@ 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
@ NvsVideoFrameColorPrimaries_Bt709
RGB color space BT.709 standardized as Rec. ITU-R BT.709-5.
Definition: NvsCommonDef.h:265
@ NvsVideoCodecType_MJPEG
Definition: NvsCommonDef.h:89
@ NvsVideoCodecType_WMV
Definition: NvsCommonDef.h:86
2D coordinate structure
Definition: NvsCommonDef.h:423
@ NvsVideoFrameColorTransfer_sRGB
Definition: NvsCommonDef.h:246
@ NvsVideoCodecType_ProRes
Definition: NvsCommonDef.h:91
float top
Top.
Definition: NvsCommonDef.h:375
int64_t timeStamp
the timestamp of the audio sample buffer in microseconds
Definition: NvsCommonDef.h:495
int actualSampleCount
actual audio sample count in audioBuffer
Definition: NvsCommonDef.h:494
Definition: NvsCommonDef.h:487
@ NvsVideoRotation_90
Definition: NvsCommonDef.h:67
unsigned int imageHeight
Image height.
Definition: NvsCommonDef.h:398
@ NvsVideoHDRType_Vivid
Definition: NvsCommonDef.h:121
unsigned int imageWidth
Image width.
Definition: NvsCommonDef.h:397
@ NvsVideoCodecType_MPEG4
Definition: NvsCommonDef.h:83
#define NV_AUDIO_MAX_CHANNEL_COUNT
Definition: NvsCommonDef.h:484
int num
Numerator.
Definition: NvsCommonDef.h:350
Size.
Definition: NvsCommonDef.h:360
int displayRotation
Shows the angle at which the current image needs to be rotated.
Definition: NvsCommonDef.h:466
@ NvsAVFileType_AudioVideo
Video.
Definition: NvsCommonDef.h:53
@ NvsRoleInThemeTitle
Title.
Definition: NvsCommonDef.h:133
@ NvsVideoColorTransfer_SDR_VIDEO
Definition: NvsCommonDef.h:103
@ 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
Video frame pixel format.
Definition: NvsCommonDef.h:279
NvsRational imagePAR
Pixel ratio (only 1:1)
Definition: NvsCommonDef.h:399
NvsCategory
The type of clip in theme.
Definition: NvsCommonDef.h:184
@ NvsPixelFormat_RGBA
RGBA.
Definition: NvsCommonDef.h:201
Video frame extra information.
Definition: NvsCommonDef.h:476
NvsVideoFramePixelFormat pixelFormat
The captured image's format.
Definition: NvsCommonDef.h:461