MeiCam SDK For iOS  3.3.1
NvsVideoFx.h
Go to the documentation of this file.
1 //================================================================================
2 //
3 // (c) Copyright China Digital Video (Beijing) Limited, 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: NewAuto 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
Video effect.
Definition: NvsVideoFx.h:48
NvsVideoFx::index
unsigned int index
The index of the Video effect.
Definition: NvsVideoFx.h:52
NvsVideoFxType_Package
@ NvsVideoFxType_Package
Definition: NvsVideoFx.h:29
NvsFx
effect class.
Definition: NvsFx.h:79
-[NvsVideoFx getAbsoluteTimeUsed]
bool getAbsoluteTimeUsed()
Get whether the fx in and out point is absolute time.
NvsVideoFxType_Custom
@ NvsVideoFxType_Custom
Definition: NvsVideoFx.h:30
NvsVideoFx::videoFxPackageId
NSString * videoFxPackageId
The ID of the video effect resource package. If it's not a resource package video effect,...
Definition: NvsVideoFx.h:51
NvsVideoFxType
NvsVideoFxType
Definition: NvsVideoFx.h:27
NvsVideoFx::videoFxType
NvsVideoFxType videoFxType
The type of the video effect.
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
The name of the built-in video effect. If it's not a built-in video effect, return nil.
Definition: NvsVideoFx.h:50
NvsVideoFx::inPoint
int64_t inPoint
Get the in-point of the fx on the Clip.
Definition: NvsVideoFx.h:67
NvsVideoFx::outPoint
int64_t outPoint
The out-point of the fx on the Clip.
Definition: NvsVideoFx.h:80
NvsFx.h