MeiCam SDK For iOS  3.7.2
NvsMakeupEffectInfo.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: Mar 9. 2020
11 // Author: NewAuto video team
12 //================================================================================
13 
14 #pragma once
15 
16 #import <Foundation/Foundation.h>
17 #import "NvsCommonDef.h"
18 #import "NvsArbitraryData.h"
19 
29 typedef enum {
36 
46 typedef enum {
57 
67 typedef enum {
81 
89 NVS_EXPORT @interface NvsMakeupEffectLayer : NSObject
90 
91 @property (nonatomic, copy) NSString *layerId;
92 @property (nonatomic, assign) float intensity;
93 
101 @property (nonatomic, assign) NvsMakeupEffectLayerType type;
102 
103 @end
104 
113 
114 @property (nonatomic, copy) NSString *texFilePath;
115 
129 @property (nonatomic, assign) NvsColor texColor;
130 
138 @property (nonatomic, assign) NvsMakeupEffectBlendingMode blendingMode;
139 
140 @end
141 
150 @property (nonatomic, copy) NSString *lutFilePath;
151 @end
152 
161 
162 @end
163 
171 NVS_EXPORT @interface NvsMakeupEffect : NSObject
172 
183 @property (nonatomic, copy) NSString *effectId;
184 
201 @property (nonatomic, assign) NvsColor color;
202 @property (nonatomic, assign) float intensity;
203 @property (nonatomic, strong) NSMutableArray<NvsMakeupEffectLayer *> *makeupEffectLayerArray;
204 @end
205 
221 @property (nonatomic, strong) NSMutableArray<NvsMakeupEffect *> *makeupEffectArray;
222 @end
223 
224 
NvsMakeupEffectCustomEnabledFlag_Eyeshadow
@ NvsMakeupEffectCustomEnabledFlag_Eyeshadow
Enable custom eyeshadow.
Definition: NvsMakeupEffectInfo.h:72
NvsMakeupEffectInfo
Makeup effect control parameter set class.
Definition: NvsMakeupEffectInfo.h:221
NvsMakeupEffectCustomEnabledFlag_Highlight
@ NvsMakeupEffectCustomEnabledFlag_Highlight
Enable custom brighten.
Definition: NvsMakeupEffectInfo.h:77
NvsMakeupEffectBlendingMode_Add
@ NvsMakeupEffectBlendingMode_Add
Add blending mode.
Definition: NvsMakeupEffectInfo.h:53
NvsMakeupEffectLayer::layerId
NSString * layerId
Makeup effect layer id.
Definition: NvsMakeupEffectInfo.h:91
NvsMakeupEffectCustomEnabledFlag_Lip
@ NvsMakeupEffectCustomEnabledFlag_Lip
Enable custom lip.
Definition: NvsMakeupEffectInfo.h:70
NvsMakeupEffectCustomEnabledFlag_Eyeliner
@ NvsMakeupEffectCustomEnabledFlag_Eyeliner
Enable custom eyeliner.
Definition: NvsMakeupEffectInfo.h:74
NvsMakeupEffectLayerHighlight
Makeup effect highlight layer information.
Definition: NvsMakeupEffectInfo.h:161
NvsMakeupEffectCustomEnabledFlag_Shadow
@ NvsMakeupEffectCustomEnabledFlag_Shadow
Enable custom shadow.
Definition: NvsMakeupEffectInfo.h:76
NvsMakeupEffectBlendingMode_Multiply
@ NvsMakeupEffectBlendingMode_Multiply
Multiply blending mode.
Definition: NvsMakeupEffectInfo.h:50
NvsMakeupEffectCustomEnabledFlag
NvsMakeupEffectCustomEnabledFlag
Definition: NvsMakeupEffectInfo.h:68
NvsMakeupEffectLayerType_Highlight
@ NvsMakeupEffectLayerType_Highlight
Makeup highlight layer type.
Definition: NvsMakeupEffectInfo.h:33
NvsMakeupEffect
Makeup effect information for each part, say eyelash, eyebrow, lips, etc.
Definition: NvsMakeupEffectInfo.h:172
NvsMakeupEffectCustomEnabledFlag_Eyebrow
@ NvsMakeupEffectCustomEnabledFlag_Eyebrow
Enable custom eyebrow.
Definition: NvsMakeupEffectInfo.h:71
NvsMakeupEffectCustomEnabledFlag_Blusher
@ NvsMakeupEffectCustomEnabledFlag_Blusher
Enable custom blusher.
Definition: NvsMakeupEffectInfo.h:75
NvsMakeupEffectCustomEnabledFlag_All
@ NvsMakeupEffectCustomEnabledFlag_All
Enable all custom makeup.
Definition: NvsMakeupEffectInfo.h:78
NvsMakeupEffectBlendingMode_Subtract
@ NvsMakeupEffectBlendingMode_Subtract
Subtract blending mode.
Definition: NvsMakeupEffectInfo.h:51
NvsMakeupEffectCustomEnabledFlag_None
@ NvsMakeupEffectCustomEnabledFlag_None
No custom item.
Definition: NvsMakeupEffectInfo.h:69
NvsMakeupEffectBlendingMode_Exclusion
@ NvsMakeupEffectBlendingMode_Exclusion
Exclusion blending mode.
Definition: NvsMakeupEffectInfo.h:54
NvsArbitraryData.h
NvsMakeupEffectBlendingMode_Screen
@ NvsMakeupEffectBlendingMode_Screen
Screen blending mode.
Definition: NvsMakeupEffectInfo.h:52
NvsMakeupEffectLayerLut
Makeup effect lut layer information.
Definition: NvsMakeupEffectInfo.h:150
NvsColor
Self-defined color.
Definition: NvsCommonDef.h:318
NvsMakeupEffectLayerType
NvsMakeupEffectLayerType
Definition: NvsMakeupEffectInfo.h:30
NvsMakeupEffectBlendingMode
NvsMakeupEffectBlendingMode
Definition: NvsMakeupEffectInfo.h:47
NvsMakeupEffectLayer::intensity
float intensity
Effect layer intensity.
Definition: NvsMakeupEffectInfo.h:92
NvsMakeupEffectLayerType_3D
@ NvsMakeupEffectLayerType_3D
Makeup 3d layer type.
Definition: NvsMakeupEffectInfo.h:31
NvsMakeupEffectLayer3D
Makeup effect 3d layer information.
Definition: NvsMakeupEffectInfo.h:113
NvsMakeupEffectLayer::type
NvsMakeupEffectLayerType type
Effect layer type. For all supported type, please refer to [MAKEUP_EFFECT_LAYER_TYPE].
Definition: NvsMakeupEffectInfo.h:101
NVS_EXPORT
#define NVS_EXPORT
Definition: NvsCommonDef.h:20
NvsCommonDef.h
NvsMakeupEffectCustomEnabledFlag_Eyelash
@ NvsMakeupEffectCustomEnabledFlag_Eyelash
Enable custom eyelash.
Definition: NvsMakeupEffectInfo.h:73
NvsArbitraryData
A custom parameter structure for video effects.
Definition: NvsArbitraryData.h:29
NvsMakeupEffectLayer
Makeup effect layer information.
Definition: NvsMakeupEffectInfo.h:90
NvsMakeupEffectBlendingMode_Normal
@ NvsMakeupEffectBlendingMode_Normal
Normal blending mode.
Definition: NvsMakeupEffectInfo.h:49
NvsMakeupEffectLayerType_Lut
@ NvsMakeupEffectLayerType_Lut
Makeup lut layer type.
Definition: NvsMakeupEffectInfo.h:32
NvsMakeupEffectBlendingMode_Unknown
@ NvsMakeupEffectBlendingMode_Unknown
Unknown blending mode.
Definition: NvsMakeupEffectInfo.h:48