MeiCam SDK For iOS  3.13.5
Classes | Macros | Typedefs | Enumerations
NvsEffectCommonDef.h File Reference
#include <stdint.h>

Go to the source code of this file.

Classes

struct  NvsEffectRational
 Rational value. More...
 
struct  NvsEffectVideoResolution
 Video resolution. More...
 
struct  NvsEffectColor
 Self-defined color. More...
 
struct  NvsEffectPosition2D
 2D coordinate structure More...
 
struct  NvsEffectPosition3D
 3D coordinate structure More...
 
struct  NvsEffectVideoFrameInfo
 Video frame information. More...
 
struct  NvsEffectVideoFrameInfoExt
 Video frame extra information. More...
 
struct  NvsEffectRect
 Rectangle. More...
 

Macros

#define NVS_EXPORT   __attribute__((visibility("default")))
 
#define NVS_VIDEO_FRAME_MAX_PLANES   4
 

Typedefs

typedef enum NvsEffectVideoFramePixelFormat NvsEffectVideoFramePixelFormat
 Video frame pixel format. More...
 
typedef enum NvsEffectGpuVideoFrameFormat NvsEffectGpuVideoFrameFormat
 Video frame pixel format. More...
 

Enumerations

enum  NvsEffectVideoFramePixelFormat { NvsEffectPixelFormat_Nv12, NvsEffectPixelFormat_YUV420, NvsEffectPixelFormat_BGRA, NvsEffectPixelFormat_P010 }
 Video frame pixel format. More...
 
enum  NvsEffectGpuVideoFrameFormat { NvsEffectGpuVideoFrameFormat_RGBA8, NvsEffectGpuVideoFrameFormat_RGBAF16 }
 Video frame pixel format. More...
 

The color matrix for YUV->RGB

enum  NvsEffectVideoFrameYUVColorMatrix { NvsEffectVideoFrameYUVColorMatrix_Bt601, NvsEffectVideoFrameYUVColorMatrix_Bt709, NvsEffectVideoFrameYUVColorMatrix_Bt2020 }
 
typedef enum NvsEffectVideoFrameYUVColorMatrix NvsEffectVideoFrameYUVColorMatrix
 

Color Transfer Characteristic

enum  NvsEffectVideoFrameColorTransfer { NvsEffectVideoFrameColorTransfer_sRGB, NvsEffectVideoFrameColorTransfer_SMPTE2084, NvsEffectVideoFrameColorTransfer_ARIB_STD_B67 }
 
typedef enum NvsEffectVideoFrameColorTransfer NvsEffectVideoFrameColorTransfer
 

Chromaticity coordinates of the source primaries.

enum  NvsEffectVideoFrameColorPrimaries { NvsEffectVideoFrameColorPrimaries_Bt709, NvsEffectVideoFrameColorPrimaries_Bt2020, NvsEffectVideoFrameColorPrimaries_DisplayP3 }
 
typedef enum NvsEffectVideoFrameColorPrimaries NvsEffectVideoFrameColorPrimaries
 

Macro Definition Documentation

◆ NVS_EXPORT

#define NVS_EXPORT   __attribute__((visibility("default")))

◆ NVS_VIDEO_FRAME_MAX_PLANES

#define NVS_VIDEO_FRAME_MAX_PLANES   4

Typedef Documentation

◆ NvsEffectGpuVideoFrameFormat

Video frame pixel format.

◆ NvsEffectVideoFrameColorPrimaries

◆ NvsEffectVideoFrameColorTransfer

◆ NvsEffectVideoFramePixelFormat

Video frame pixel format.

◆ NvsEffectVideoFrameYUVColorMatrix

Enumeration Type Documentation

◆ NvsEffectGpuVideoFrameFormat

Video frame pixel format.

Enumerator
NvsEffectGpuVideoFrameFormat_RGBA8 
NvsEffectGpuVideoFrameFormat_RGBAF16 

RGBA format half float per channel.

◆ NvsEffectVideoFrameColorPrimaries

Enumerator
NvsEffectVideoFrameColorPrimaries_Bt709 

RGB color space BT.709 standardized as Rec. ITU-R BT.709-5.

NvsEffectVideoFrameColorPrimaries_Bt2020 

RGB color space BT.2020 standardized as Rec. ITU-R BT.2020-1.

NvsEffectVideoFrameColorPrimaries_DisplayP3 

RGB color space Display P3 based on SMPTE RP 431-2-2007 and IEC 61966-2.1:1999.

◆ NvsEffectVideoFrameColorTransfer

Enumerator
NvsEffectVideoFrameColorTransfer_sRGB 
NvsEffectVideoFrameColorTransfer_SMPTE2084 

SMPTE ST 2084 for 10-, 12-, 14- and 16-bit systems known as "PQ".

NvsEffectVideoFrameColorTransfer_ARIB_STD_B67 

ARIB STD-B67, known as "Hybrid log-gamma".

◆ NvsEffectVideoFramePixelFormat

Video frame pixel format.

Enumerator
NvsEffectPixelFormat_Nv12 

YUV 4:2:0 12bpp (Two channels, one channel is a continuous luminance channel, and the other channel is VU component interlaced)

NvsEffectPixelFormat_YUV420 

YUV 4:2:0 12bpp (Three channels, one luminance channel, the other two are U component and V component channels, all channels are continuous)

NvsEffectPixelFormat_BGRA 
NvsEffectPixelFormat_P010 

YUV 4:2:0 24bpp (2 channels, one channel is a continuous luminance channel, and the other channel is a VU component interlaced, Each channel occupies 16 bits, with the higher 10 bits being valid), Only used by custom video fx buddy buffer.

◆ NvsEffectVideoFrameYUVColorMatrix

Enumerator
NvsEffectVideoFrameYUVColorMatrix_Bt601 

ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL.

NvsEffectVideoFrameYUVColorMatrix_Bt709 

ITU-R BT1361 / IEC 61966-2-4 xvYCC709 / SMPTE RP177 Annex B.

NvsEffectVideoFrameYUVColorMatrix_Bt2020 

ITU-R BT2020.