MeiCam SDK For iOS  3.10.0
NvsCaptureVideoFx.h
Go to the documentation of this file.
1 //================================================================================
2 //
3 // (c) Copyright China Digital Video (Beijing) Limited, 2017. 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: Jan 18. 2017
11 // Author: NewAuto video team
12 //================================================================================
13 
14 #pragma once
15 
16 #import "NvsFx.h"
17 #import <CoreGraphics/CGGeometry.h>
18 
19 
26 typedef enum {
31 
45 
47 @property (readonly) NSString *bultinCaptureVideoFxName;
48 @property (readonly) NSString *captureVideoFxPackageId;
49 @property (readonly) unsigned int index;
50 
51 @property (readonly) int64_t offsetPoint;
52 @property (readonly) int64_t duration;
53 
69 - (CGPoint)mapPointFromImageCoordToParticleSystemCoord:(int)imageWidth withHeight:(int)imageHeight withPtImage:(CGPoint)ptImage;
70 
83 - (int64_t)changeOffsetPoint:(int64_t)newOffset;
84 
96 - (int64_t)changeDuration:(int64_t)newOutPoint;
97 
107 - (void)setStartTime:(int64_t)startTime;
108 
116 - (void)resetStartTime;
117 
118 @end
NvsCaptureVideoFx::captureVideoFxPackageId
NSString * captureVideoFxPackageId
The ID of the package captured video effect. If it is not a package video effect, return nil.
Definition: NvsCaptureVideoFx.h:48
NvsCaptureVideoFx::bultinCaptureVideoFxName
NSString * bultinCaptureVideoFxName
The name of the build-in captured video effect. If it is not a build-in capture video effect,...
Definition: NvsCaptureVideoFx.h:47
NvsCaptureVideoFxType_Package
@ NvsCaptureVideoFxType_Package
The type of package.
Definition: NvsCaptureVideoFx.h:28
NvsFx
effect class.
Definition: NvsFx.h:83
NvsCaptureVideoFxType_Custom
@ NvsCaptureVideoFxType_Custom
The type of custom.
Definition: NvsCaptureVideoFx.h:29
NvsCaptureVideoFx::offsetPoint
int64_t offsetPoint
Get caption's offset time.
Definition: NvsCaptureVideoFx.h:51
NvsCaptureVideoFxType
NvsCaptureVideoFxType
The type of the captured video effect.
Definition: NvsCaptureVideoFx.h:26
NvsCaptureVideoFxType_Builtin
@ NvsCaptureVideoFxType_Builtin
The type of built-in.
Definition: NvsCaptureVideoFx.h:27
NvsCaptureVideoFx::duration
int64_t duration
Get the duration of the caption (in microseconds).
Definition: NvsCaptureVideoFx.h:52
NVS_EXPORT
#define NVS_EXPORT
Definition: NvsCommonDef.h:20
-[NvsCaptureVideoFx resetStartTime]
void resetStartTime()
Reset start time of the fx.
NvsCaptureVideoFx::captureVideoFxType
NvsCaptureVideoFxType captureVideoFxType
The type of the captured video effect.
Definition: NvsCaptureVideoFx.h:46
NvsCaptureVideoFx
The captured video effect.
Definition: NvsCaptureVideoFx.h:45
NvsFx.h
NvsCaptureVideoFx::index
unsigned int index
The index of the video effect.
Definition: NvsCaptureVideoFx.h:49