|
美摄SDK For iOS
3.14.4
|
#import <Foundation/Foundation.h>#import "NvsEffectCommonDef.h"#import <CoreVideo/CVPixelBuffer.h>类 | |
| struct | NvsEffectGPUTextureInfo |
| struct | NvsEffectGPUTexture |
| class | NvsEffectRenderCore |
| 特效渲染类 更多... | |
宏定义 | |
渲染参数 | |
| #define | NVS_EFFECT_DISPLAY_ROTATION @"display_rotation" |
| 输入图像旋转角度,只能是0, 90, 180, 270 更多... | |
| #define | NVS_EFFECT_PHYSICAL_ORIENTATION @"physical_orientation" |
| 物理旋转角度,只能是0, 90, 180, 270 更多... | |
| #define | NVS_EFFECT_FLIP_HORIZONTALLY @"flip_horizontally" |
| 是否需要横向翻转 更多... | |
| #define | NVS_EFFECT_TIMESTAMP @"timestamp" |
| 当前渲染的时间戳 更多... | |
| #define | NVS_EFFECT_FLAGS @"flags" |
| 暂时为0 更多... | |
| #define | NVS_EFFECT_OUTPUT_FRAME_FORMAT @"output_frame_format" |
| 输出图像格式请参照 NvsEffectVideoFramePixelFormat 更多... | |
| #define | NVS_EFFECT_IS_BT601 @"is_bt.601" |
函数 | |
| static NvsEffectGPUTextureInfo | NvEffectGPUTextureInfoMake (int w, int h) |
| static NvsEffectGPUTexture | NvEffectGPUTextureMake (NvsEffectGPUTextureInfo info, int texId, NvsEffectGpuVideoFrameFormat format) |
| #define NVS_EFFECT_DISPLAY_ROTATION @"display_rotation" |
输入图像旋转角度,只能是0, 90, 180, 270
| #define NVS_EFFECT_FLAGS @"flags" |
暂时为0
| #define NVS_EFFECT_FLIP_HORIZONTALLY @"flip_horizontally" |
是否需要横向翻转
| #define NVS_EFFECT_IS_BT601 @"is_bt.601" |
如果输出图像是Nv12或者YUV420P格式才有意义
| #define NVS_EFFECT_OUTPUT_FRAME_FORMAT @"output_frame_format" |
输出图像格式请参照 NvsEffectVideoFramePixelFormat
| #define NVS_EFFECT_PHYSICAL_ORIENTATION @"physical_orientation" |
物理旋转角度,只能是0, 90, 180, 270
| #define NVS_EFFECT_TIMESTAMP @"timestamp" |
当前渲染的时间戳
| enum NvsEffectCoreError |
| enum NvsInitializeFlags |
| enum NvsRenderFlag |
|
inlinestatic |
|
inlinestatic |
1.8.18