Go to the documentation of this file.
20 #define NVS_EXPORT __attribute__((visibility("default")))
353 #define NVS_VIDEO_FRAME_MAX_PLANES 4
375 #ifndef NV_AUDIO_MAX_CHANNEL_COUNT
376 #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:123
NvsRoleInTheme
The role of the clip in the theme.
Definition: NvsCommonDef.h:105
@ NvsPixelFormat_YUV420
YUV 4:2:0 12bpp (Three channels, one luminance channel, the other two are U component and V component...
Definition: NvsCommonDef.h:173
int sampleRate
audio sample rate
Definition: NvsCommonDef.h:383
@ NvsThemeCategory
Theme category.
Definition: NvsCommonDef.h:161
unsigned int sampleRate
Sampling rate.
Definition: NvsCommonDef.h:290
@ NvsRoleInThemeGeneral
General.
Definition: NvsCommonDef.h:106
@ NvsVideoColorTransfer_HLG
Definition: NvsCommonDef.h:95
@ NvsRoleInThemeTrailer
Trailer.
Definition: NvsCommonDef.h:108
@ 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:245
@ NvsLiveWindowHDRDisplayMode_Device
If the device supports HDR, use HDR display.
Definition: NvsCommonDef.h:244
bool isRec601
Whether color space is BT.601.
Definition: NvsCommonDef.h:368
double y
Definition: NvsCommonDef.h:350
NvsLetterSpacingType
letter spacing type
Definition: NvsCommonDef.h:134
@ NvsVideoResolutionBitDepth_Auto
The bit depth of processing pixel is adaptive. For example, for videos with HDR in editing,...
Definition: NvsCommonDef.h:187
@ NvsLiveWindowFillModePreserveAspectFit
The image is evenly scaled to fit the window, without cropping.
Definition: NvsCommonDef.h:220
bool flipHorizontally
Shows whether current image requires horizontal flip or not.
Definition: NvsCommonDef.h:372
@ NvsTextAlignmentTop
Definition: NvsCommonDef.h:122
@ NvsLiveWindowFillModePreserveAspectCrop
The image is evenly filled and cropped if necessary (default mode).
Definition: NvsCommonDef.h:208
Rectangle.
Definition: NvsCommonDef.h:276
@ NvsAVFileType_Unknown
Unknown.
Definition: NvsCommonDef.h:52
Video frame information.
Definition: NvsCommonDef.h:361
@ NvsLetterSpacingTypeAbsolute
Definition: NvsCommonDef.h:136
@ NvsTextAlignmentLeft
Definition: NvsCommonDef.h:119
@ NOT_USE_ASSET_DEFAULT_PARAM
Definition: NvsCommonDef.h:148
Audio sample info from capturing.
Definition: NvsCommonDef.h:397
float right
Right.
Definition: NvsCommonDef.h:278
NvsAudioSampleFormat sampleFormat
Sampling format.
Definition: NvsCommonDef.h:291
@ NvsAVFileType_Image
Image.
Definition: NvsCommonDef.h:55
Rational value.
Definition: NvsCommonDef.h:254
@ NvsAudSmpFmt_DBL
double precision float
Definition: NvsCommonDef.h:34
3D coordinate structure
Definition: NvsCommonDef.h:338
@ USE_ASSET_DEFAULT_PARAM
Definition: NvsCommonDef.h:147
@ NvsAudSmpFmt_FLTP
single precision float,planar
Definition: NvsCommonDef.h:39
float bottom
Bottom.
Definition: NvsCommonDef.h:279
float left
Left.
Definition: NvsCommonDef.h:277
@ NvsVideoRotation_270
Definition: NvsCommonDef.h:69
NvsVideoCodecType
Video codec type.
Definition: NvsCommonDef.h:79
int planeSizeInBytes
Definition: NvsCommonDef.h:381
int height
Height.
Definition: NvsCommonDef.h:267
@ NvsLiveWindowHDRDisplayMode_SDR
Forced to use SDR display, regardless of whether the device supports HDR display.
Definition: NvsCommonDef.h:243
int64_t frameTimestamp
The captured image's timestamp (in microseconds)
Definition: NvsCommonDef.h:367
@ NvsVideoRotation_180
Definition: NvsCommonDef.h:68
int frameHeight
The captured image's height (in pixel)
Definition: NvsCommonDef.h:363
@ 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:348
@ NvsAudSmpFmt_S16
signed 16 bit
Definition: NvsCommonDef.h:31
@ NvsAudSmpFmt_U8
unsigned 8 bit
Definition: NvsCommonDef.h:30
int den
Denominator.
Definition: NvsCommonDef.h:256
NvsAudioSampleFormat sampleFormat
audio sample fromat
Definition: NvsCommonDef.h:385
NvsAVFileType
File type.
Definition: NvsCommonDef.h:51
@ NvsUserCategory
User-defined type.
Definition: NvsCommonDef.h:160
double x
Definition: NvsCommonDef.h:349
@ NvsLiveWindowFillModeStretch
The image is scaled to fit the window.
Definition: NvsCommonDef.h:232
@ NvsAVFileType_Audio
Audio.
Definition: NvsCommonDef.h:54
bool isFullRangeYUV
Whether the yuv value range is full range(0-255)
Definition: NvsCommonDef.h:369
NvsVideoRotation
Video rotation.
Definition: NvsCommonDef.h:65
NvsLiveWindowHDRDisplayMode
Live Window fill mode.
Definition: NvsCommonDef.h:242
NvsVideoFramePixelFormat
Video frame pixel format.
Definition: NvsCommonDef.h:171
@ NvsVideoCodecType_H264
Definition: NvsCommonDef.h:81
@ NvsAudSmpFmt_Count
Definition: NvsCommonDef.h:42
Self-defined color.
Definition: NvsCommonDef.h:318
@ NvsVideoCodecType_H265
Definition: NvsCommonDef.h:82
NvsVideoColorTransfer
Color Transfer Characteristic.
Definition: NvsCommonDef.h:92
float y
Definition: NvsCommonDef.h:329
@ NvsTextAlignmentCenter
Definition: NvsCommonDef.h:120
float z
Definition: NvsCommonDef.h:339
int sampleRate
audio sample rate
Definition: NvsCommonDef.h:398
unsigned int channelCount
Channel count.
Definition: NvsCommonDef.h:292
@ NvsAudSmpFmt_None
None.
Definition: NvsCommonDef.h:29
@ NvsLetterSpacingTypePercentage
Definition: NvsCommonDef.h:135
@ NvsDefaultCategory
Default type.
Definition: NvsCommonDef.h:159
@ NvsAudSmpFmt_S16P
signed 16 bit,planer
Definition: NvsCommonDef.h:37
int frameWidth
The captured image's width (in pixel)
Definition: NvsCommonDef.h:362
NvsTextAlignment
Text alignment style.
Definition: NvsCommonDef.h:118
float r
Definition: NvsCommonDef.h:319
@ 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:186
@ NvsVideoResolutionBitDepth_8Bit
The bit depth of processing pixel is 8bit.
Definition: NvsCommonDef.h:185
NvsLiveWindowFillMode
Live Window fill mode.
Definition: NvsCommonDef.h:197
#define NVS_VIDEO_FRAME_MAX_PLANES
Definition: NvsCommonDef.h:353
Audio resolution.
Definition: NvsCommonDef.h:289
int channelCount
audio channel count
Definition: NvsCommonDef.h:384
int width
Width.
Definition: NvsCommonDef.h:266
@ NvsTextAlignmentVCenter
Definition: NvsCommonDef.h:124
@ NvsPixelFormat_BGRA
BGRA.
Definition: NvsCommonDef.h:174
NvsAudioSampleFormat
Audio sampling format.
Definition: NvsCommonDef.h:28
@ NvsTextAlignmentRight
Definition: NvsCommonDef.h:121
Video resolution.
Definition: NvsCommonDef.h:301
NvsVideoResolutionBitDepth bitDepth
Default is 8Bit.
Definition: NvsCommonDef.h:305
@ NvsVideoRotation_0
Definition: NvsCommonDef.h:66
NvsAssetDefaultParam
Uses the default caption package.
Definition: NvsCommonDef.h:146
@ NvsAudSmpFmt_U8P
unsigned 8 bit,planer
Definition: NvsCommonDef.h:36
@ NvsPixelFormat_Nv12
YUV 4:2:0 12bpp (Two channels, one channel is a continuous luminance channel, and the other channel i...
Definition: NvsCommonDef.h:172
2D coordinate structure
Definition: NvsCommonDef.h:328
float top
Top.
Definition: NvsCommonDef.h:280
int64_t timeStamp
the timestamp of the audio sample buffer in microseconds
Definition: NvsCommonDef.h:387
int actualSampleCount
actual audio sample count in audioBuffer
Definition: NvsCommonDef.h:386
Definition: NvsCommonDef.h:379
@ NvsVideoRotation_90
Definition: NvsCommonDef.h:67
unsigned int imageHeight
Image height.
Definition: NvsCommonDef.h:303
unsigned int imageWidth
Image width.
Definition: NvsCommonDef.h:302
#define NV_AUDIO_MAX_CHANNEL_COUNT
Definition: NvsCommonDef.h:376
int num
Numerator.
Definition: NvsCommonDef.h:255
Size.
Definition: NvsCommonDef.h:265
int displayRotation
Shows the angle at which the current image needs to be rotated.
Definition: NvsCommonDef.h:371
@ NvsAVFileType_AudioVideo
Video.
Definition: NvsCommonDef.h:53
@ NvsRoleInThemeTitle
Title.
Definition: NvsCommonDef.h:107
@ NvsVideoColorTransfer_SDR_VIDEO
Definition: NvsCommonDef.h:93
NvsVideoResolutionBitDepth
Video frame pixel format.
Definition: NvsCommonDef.h:184
NvsRational imagePAR
Pixel ratio (only 1:1)
Definition: NvsCommonDef.h:304
NvsCategory
The type of clip in theme.
Definition: NvsCommonDef.h:158
NvsVideoFramePixelFormat pixelFormat
The captured image's format.
Definition: NvsCommonDef.h:366