美摄SDK For iOS  3.14.0
NvsVideoFx.h
浏览该文件的文档.
1 //================================================================================
2 //
3 // (c) Copyright Meishe Co. Ltd, 2016. All rights reserved.
4 //
5 // This code and information is provided "as is" without warranty of any kind,
6 // either expressed or implied, including but not limited to the implied
7 // warranties of merchantability and/or fitness for a particular purpose.
8 //
9 //--------------------------------------------------------------------------------
10 // Birth Date: Dec 29. 2016
11 // Author: Meishe video team
12 //================================================================================
13 #pragma once
14 
15 #import "NvsFx.h"
16 #include <CoreGraphics/CGGeometry.h>
17 
26 typedef enum {
33 
48 
49 @property (readonly) NvsVideoFxType videoFxType;
50 @property (readonly) NSString *bultinVideoFxName;
51 @property (readonly) NSString *videoFxPackageId;
52 @property (readonly) unsigned int index;
53 
54 
67 @property (readonly) int64_t inPoint;
68 
80 @property (readonly) int64_t outPoint;
81 
98 - (int64_t)changeInPoint:(int64_t)newInPoint;
99 
116 - (int64_t)changeOutPoint:(int64_t)newOutPoint;
117 
131 - (void)movePosition:(int64_t)offset;
132 
144 - (CGPoint)mapPointFromCanonicalToParticleSystem:(CGPoint)ptCononical;
145 
155 - (void)setAbsoluteTimeUsed:(bool)enable;
156 
166 - (bool)getAbsoluteTimeUsed;
167 
168 @end
169 
NvsVideoFx
视频特效
Definition: NvsVideoFx.h:48
NvsVideoFx::index
unsigned int index
视频特效索引
Definition: NvsVideoFx.h:52
NvsVideoFxType_Package
@ NvsVideoFxType_Package
Definition: NvsVideoFx.h:29
NvsFx
特效类
Definition: NvsFx.h:83
-[NvsVideoFx getAbsoluteTimeUsed]
bool getAbsoluteTimeUsed()
获取特效入出点是否为绝对时间。
NvsVideoFxType_Custom
@ NvsVideoFxType_Custom
Definition: NvsVideoFx.h:30
NvsVideoFx::videoFxPackageId
NSString * videoFxPackageId
视频特效资源包ID。如果不是资源包视频特效,返回nil
Definition: NvsVideoFx.h:51
NvsVideoFxType
NvsVideoFxType
Definition: NvsVideoFx.h:27
NvsVideoFx::videoFxType
NvsVideoFxType videoFxType
视频特效类型
Definition: NvsVideoFx.h:49
NvsVideoFxType_Builtin
@ NvsVideoFxType_Builtin
Definition: NvsVideoFx.h:28
NVS_EXPORT
#define NVS_EXPORT
Definition: NvsCommonDef.h:20
NvsVideoFx::bultinVideoFxName
NSString * bultinVideoFxName
内嵌视频特效名字。如果不是内嵌视频特效,返回nil
Definition: NvsVideoFx.h:50
NvsVideoFx::inPoint
int64_t inPoint
视频特效在片段上显示的入点,相对于每个片段的时间段,以当前片段的起始时间为时间起始点。
Definition: NvsVideoFx.h:67
NvsVideoFx::outPoint
int64_t outPoint
视频特效在片段显示上的出点,相对于每个片段的时间段,以当前片段的起始时间为时间起始点。
Definition: NvsVideoFx.h:80
NvsFx.h