美摄SDK For iOS  3.10.1
| 类型定义 | 枚举
NvsVideoClip.h 文件参考
#import "NvsCommonDef.h"
#import "NvsClip.h"
#import "NvsCustomAudioFx.h"
#import "NvsCustomVideoFx.h"
#import "NvsClipCaption.h"
#import "NvsClipCompoundCaption.h"
#import "NvsClipAnimatedSticker.h"
#import <CoreGraphics/CGGeometry.h>

浏览源代码.

class  NvsVideoClip
 视频片段,对视频文件的描述 更多...
 

类型定义

typedef enum NvsVideoClipType NvsVideoClipType
 视频片段类型 更多...
 
typedef enum NvsSourceBackgroundMode NvsSourceBackgroundMode
 背景模式 更多...
 

枚举

enum  NvsVideoClipType { NvsVideoClipType_AV = 0, NvsVideoClipType_Image }
 视频片段类型 更多...
 
enum  NvsStreamingEngineImageClipMotionMode { NvsStreamingEngineImageClipMotionMode_LetterBoxZoomIn = 0, NvsStreamingEngineImageClipMotionMode_LetterBoxZoomOut, NvsStreamingEngineImageClipMotionMode_ROI, NvsStreamingEngineImageClipMotionMode_Crop }
 图片片段运作模式 更多...
 
enum  NvsSourceBackgroundMode { NvsSourceBackgroundModeColorSolid = 0, NvsSourceBackgroundModeBlur }
 背景模式 更多...
 

填充模式

enum  NvsVariantImageFillMode { NvsVariantImageFillModeAspectFit = 0, NvsVariantImageFillModeAspectFill, NvsVariantImageFillModeFill }
 
enum  NvsClipWrapMode { NvsClipWrapMode_Repeat_LastFrame = 0, NvsClipWrapMode_Repeat_FirstFrame = 1, NvsClipWrapMode_Repeat = 2 }
 
enum  NvsExtraVideoRotation { NvsExtraVideoRotation_0 = 0, NvsExtraVideoRotation_90 = 1, NvsExtraVideoRotation_180 = 2, NvsExtraVideoRotation_270 = 3 }
 
enum  NvsClipBlendingMode {
  NvsClipBlendingMode_Normal = 0, NvsClipBlendingMode_Multiplay, NvsClipBlendingMode_Subtract, NvsClipBlendingMode_Screen,
  NvsClipBlendingMode_Add, NvsClipBlendingMode_Exclusion, NvsClipBlendingMode_Darken, NvsClipBlendingMode_Burn,
  NvsClipBlendingMode_LinearBurn, NvsClipBlendingMode_Lighten, NvsClipBlendingMode_Dodge, NvsClipBlendingMode_Overlay,
  NvsClipBlendingMode_SoftLight, NvsClipBlendingMode_HardLight, NvsClipBlendingMode_VividLight, NvsClipBlendingMode_PinLight,
  NvsClipBlendingMode_LinearLight, NvsClipBlendingMode_HardMix, NvsClipBlendingMode_Difference
}
 合成模式 更多...
 
typedef enum NvsVariantImageFillMode NvsVariantImageFillMode
 
typedef enum NvsClipWrapMode NvsClipWrapMode
 
typedef enum NvsExtraVideoRotation NvsExtraVideoRotation
 
typedef enum NvsClipBlendingMode NvsClipBlendingMode
 合成模式 更多...
 

类型定义说明

◆ NvsClipBlendingMode

合成模式

◆ NvsClipWrapMode

◆ NvsExtraVideoRotation

◆ NvsSourceBackgroundMode

背景模式

◆ NvsVariantImageFillMode

◆ NvsVideoClipType

视频片段类型

枚举类型说明

◆ NvsClipBlendingMode

合成模式

枚举值
NvsClipBlendingMode_Normal 

一般默认

NvsClipBlendingMode_Multiplay 

正片叠底模式

NvsClipBlendingMode_Subtract 

减去模式

NvsClipBlendingMode_Screen 

滤色模式

NvsClipBlendingMode_Add 

添加类型

NvsClipBlendingMode_Exclusion 

排除模式

NvsClipBlendingMode_Darken 

变暗模式

NvsClipBlendingMode_Burn 

颜色加深模式

NvsClipBlendingMode_LinearBurn 

线性加深模式

NvsClipBlendingMode_Lighten 

变亮模式

NvsClipBlendingMode_Dodge 

颜色减淡模式

NvsClipBlendingMode_Overlay 

叠加模式

NvsClipBlendingMode_SoftLight 

柔光模式

NvsClipBlendingMode_HardLight 

强光模式

NvsClipBlendingMode_VividLight 

亮光模式

NvsClipBlendingMode_PinLight 

点光模式

NvsClipBlendingMode_LinearLight 

线性光模式

NvsClipBlendingMode_HardMix 

实色混合模式

NvsClipBlendingMode_Difference 

差值模式

◆ NvsClipWrapMode

枚举值
NvsClipWrapMode_Repeat_LastFrame 
NvsClipWrapMode_Repeat_FirstFrame 
NvsClipWrapMode_Repeat 

◆ NvsExtraVideoRotation

枚举值
NvsExtraVideoRotation_0 
NvsExtraVideoRotation_90 
NvsExtraVideoRotation_180 
NvsExtraVideoRotation_270 

◆ NvsSourceBackgroundMode

背景模式

枚举值
NvsSourceBackgroundModeColorSolid 

纯色

NvsSourceBackgroundModeBlur 

模糊

◆ NvsStreamingEngineImageClipMotionMode

图片片段运作模式

自从
1.1.0
枚举值
NvsStreamingEngineImageClipMotionMode_LetterBoxZoomIn 

放大

NvsStreamingEngineImageClipMotionMode_LetterBoxZoomOut 

缩小

NvsStreamingEngineImageClipMotionMode_ROI 

图片片段ROI(Region Of Interesting) //!< 图片片段ROI(Region Of Interesting)

NvsStreamingEngineImageClipMotionMode_Crop 

图片片段裁剪

自从
3.7.2

◆ NvsVariantImageFillMode

枚举值
NvsVariantImageFillModeAspectFit 

选取长宽里面较大的一个作为依据进行等比例填充

自从
3.7.0
NvsVariantImageFillModeAspectFill 

选取长宽里面较小的一个作为依据进行等比例填充

自从
3.7.0
NvsVariantImageFillModeFill 

填充

自从
3.7.0

◆ NvsVideoClipType

视频片段类型

枚举值
NvsVideoClipType_AV 

音视频

NvsVideoClipType_Image 

图片