MeiCam SDK For iOS  3.10.0
Classes | Enumerations
NvsEffectRenderCore.h File Reference
#import <Foundation/Foundation.h>
#import "NvsEffectCommonDef.h"
#import <CoreVideo/CVPixelBuffer.h>

Go to the source code of this file.

Classes

struct  NvsEffectGPUTextureInfo
 
struct  NvsEffectGPUTexture
 
class  NvsEffectRenderCore
 Class for special effects rendering. More...
 

Macros

Render parameters

#define NVS_EFFECT_DISPLAY_ROTATION   @"display_rotation"
 rotation of input image More...
 
#define NVS_EFFECT_PHYSICAL_ORIENTATION   @"physical_orientation"
 Physical orientation. More...
 
#define NVS_EFFECT_FLIP_HORIZONTALLY   @"flip_horizontally"
 need flip horizontally More...
 
#define NVS_EFFECT_TIMESTAMP   @"timestamp"
 Timestamp of current rendering. More...
 
#define NVS_EFFECT_FLAGS   @"flags"
 Temporarily set to 0. More...
 
#define NVS_EFFECT_OUTPUT_FRAME_FORMAT   @"output_frame_format"
 format output image buffer format Refer to NvsEffectVideoFramePixelFormat More...
 
#define NVS_EFFECT_IS_BT601   @"is_bt.601"
 

Enumerations

enum  NvsEffectCoreError {
  NvsEffectCoreError_NoError = 0, NvsEffectCoreError_Unknown = -1, NvsEffectCoreError_InvalidTexture = -2, NvsEffectCoreError_InvalidPixelFormat = -3,
  NvsEffectCoreError_NotInitialized = -4
}
 
enum  NvsInitializeFlags {
  NvsInitializeFlag_NoFlag = 0, NvsInitializeFlag_InSingleGLThread = 1, NvsInitializeFlag_CreateGLContextIfNeed = 2, NvsInitializeFlag_SUPPORT_4K = 4,
  NvsInitializeFlag_SUPPORT_8K = 8, NvsInitializeFlag_SUPPORT_16K = 16
}
 
enum  NvsRenderFlag { NvsRenderFlag_NoFlag = 0, NvsRenderFlag_IsUpsideDownTexture = 1, NvsRenderFlags_InputTextureIsFlipHorizontally = 2 }
 

Macro Definition Documentation

◆ NVS_EFFECT_DISPLAY_ROTATION

#define NVS_EFFECT_DISPLAY_ROTATION   @"display_rotation"

rotation of input image

◆ NVS_EFFECT_FLAGS

#define NVS_EFFECT_FLAGS   @"flags"

Temporarily set to 0.

◆ NVS_EFFECT_FLIP_HORIZONTALLY

#define NVS_EFFECT_FLIP_HORIZONTALLY   @"flip_horizontally"

need flip horizontally

◆ NVS_EFFECT_IS_BT601

#define NVS_EFFECT_IS_BT601   @"is_bt.601"

BT601

◆ NVS_EFFECT_OUTPUT_FRAME_FORMAT

#define NVS_EFFECT_OUTPUT_FRAME_FORMAT   @"output_frame_format"

format output image buffer format Refer to NvsEffectVideoFramePixelFormat

◆ NVS_EFFECT_PHYSICAL_ORIENTATION

#define NVS_EFFECT_PHYSICAL_ORIENTATION   @"physical_orientation"

Physical orientation.

◆ NVS_EFFECT_TIMESTAMP

#define NVS_EFFECT_TIMESTAMP   @"timestamp"

Timestamp of current rendering.

Enumeration Type Documentation

◆ NvsEffectCoreError

Enumerator
NvsEffectCoreError_NoError 
NvsEffectCoreError_Unknown 
NvsEffectCoreError_InvalidTexture 
NvsEffectCoreError_InvalidPixelFormat 
NvsEffectCoreError_NotInitialized 

◆ NvsInitializeFlags

Enumerator
NvsInitializeFlag_NoFlag 
NvsInitializeFlag_InSingleGLThread 
NvsInitializeFlag_CreateGLContextIfNeed 
NvsInitializeFlag_SUPPORT_4K 
NvsInitializeFlag_SUPPORT_8K 
NvsInitializeFlag_SUPPORT_16K 

◆ NvsRenderFlag

Enumerator
NvsRenderFlag_NoFlag 
NvsRenderFlag_IsUpsideDownTexture 
NvsRenderFlags_InputTextureIsFlipHorizontally