-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 1. 代码重构,将各个功能进行了模块化 2. 使用全新的License验证方式 3.加入短视频特效 * 1. 去掉不用的数据
- Loading branch information
Showing
756 changed files
with
93,399 additions
and
11,734 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
Podfile.lock | ||
Pods | ||
._* | ||
.* | ||
AiyaEffectsDemo/AiyaEffectsSDK/AiyaCameraSDK.framework | ||
.* |
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
1,366 changes: 1,366 additions & 0 deletions
1,366
AiyaEffectSDK/AiyaEffectSDK.xcodeproj/project.pbxproj
Large diffs are not rendered by default.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
AiyaEffectSDK/AiyaEffectSDK.xcodeproj/project.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file added
BIN
+135 KB
...deproj/project.xcworkspace/xcuserdata/wangyang.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
...aEffectSDK.xcodeproj/xcuserdata/wangyang.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Bucket | ||
type = "1" | ||
version = "2.0"> | ||
</Bucket> |
82 changes: 82 additions & 0 deletions
82
.../AiyaEffectSDK.xcodeproj/xcuserdata/wangyang.xcuserdatad/xcschemes/AiyaEffectSDK.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "0920" | ||
version = "1.3"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "D37926E91FCD081A007DB5E8" | ||
BuildableName = "AiyaEffectSDK.framework" | ||
BlueprintName = "AiyaEffectSDK" | ||
ReferencedContainer = "container:AiyaEffectSDK.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
language = "" | ||
shouldUseLaunchSchemeArgsEnv = "YES"> | ||
<Testables> | ||
</Testables> | ||
<AdditionalOptions> | ||
</AdditionalOptions> | ||
</TestAction> | ||
<LaunchAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
language = "" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
debugServiceExtension = "internal" | ||
allowLocationSimulation = "YES"> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "D37926E91FCD081A007DB5E8" | ||
BuildableName = "AiyaEffectSDK.framework" | ||
BlueprintName = "AiyaEffectSDK" | ||
ReferencedContainer = "container:AiyaEffectSDK.xcodeproj"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
<AdditionalOptions> | ||
</AdditionalOptions> | ||
</LaunchAction> | ||
<ProfileAction | ||
buildConfiguration = "Release" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
debugDocumentVersioning = "YES"> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "D37926E91FCD081A007DB5E8" | ||
BuildableName = "AiyaEffectSDK.framework" | ||
BlueprintName = "AiyaEffectSDK" | ||
ReferencedContainer = "container:AiyaEffectSDK.xcodeproj"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
47 changes: 47 additions & 0 deletions
47
...iyaEffectSDK.xcodeproj/xcuserdata/wangyang.xcuserdatad/xcschemes/xcschememanagement.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>SchemeUserState</key> | ||
<dict> | ||
<key>AiyaEffectSDK.xcscheme</key> | ||
<dict> | ||
<key>orderHint</key> | ||
<integer>1</integer> | ||
</dict> | ||
<key>AyBeauty.xcscheme</key> | ||
<dict> | ||
<key>orderHint</key> | ||
<integer>5</integer> | ||
</dict> | ||
<key>AyEffect.xcscheme</key> | ||
<dict> | ||
<key>orderHint</key> | ||
<integer>4</integer> | ||
</dict> | ||
<key>AySDKCore.xcscheme</key> | ||
<dict> | ||
<key>orderHint</key> | ||
<integer>2</integer> | ||
</dict> | ||
<key>AyShortVideoEffect.xcscheme</key> | ||
<dict> | ||
<key>orderHint</key> | ||
<integer>6</integer> | ||
</dict> | ||
<key>AyTrack.xcscheme</key> | ||
<dict> | ||
<key>orderHint</key> | ||
<integer>3</integer> | ||
</dict> | ||
</dict> | ||
<key>SuppressBuildableAutocreation</key> | ||
<dict> | ||
<key>D37926E91FCD081A007DB5E8</key> | ||
<dict> | ||
<key>primary</key> | ||
<true/> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// | ||
// AYEffectConstants.h | ||
// AiyaEffectSDK | ||
// | ||
// Created by 汪洋 on 2017/11/29. | ||
// Copyright © 2017年 深圳市哎吖科技有限公司. All rights reserved. | ||
// | ||
|
||
#ifndef AYEffectConstants_h | ||
#define AYEffectConstants_h | ||
|
||
extern NSString * const AiyaMessageNotification; | ||
extern NSString * const AiyaMessageNotificationUserInfoKey; | ||
extern NSString * const AY_MESSAGE_DETAIL[]; | ||
|
||
extern NSString * const AiyaLicenseNotification; | ||
extern NSString * const AiyaLicenseNotificationUserInfoKey; | ||
typedef NS_ENUM(NSUInteger, AiyaLicenseResult) { | ||
AiyaLicenseSuccess, | ||
AiyaLicenseFail, | ||
}; | ||
|
||
#endif /* AYEffectConstants_h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
// | ||
// AYEffectConstants.m | ||
// AiyaEffectSDK | ||
// | ||
// Created by 汪洋 on 2017/12/3. | ||
// Copyright © 2017年 深圳市哎吖科技有限公司. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NSString * const AiyaMessageNotification = @"AiyaMessageNotification"; | ||
NSString * const AiyaMessageNotificationUserInfoKey = @"AiyaMessageResult"; | ||
NSString * const AY_MESSAGE_DETAIL[] = { | ||
@"AY_NO_ERROR", | ||
@"AY_INVALID_ENUM", | ||
@"AY_INVALID_VALUE", | ||
@"AY_INVALID_OPERATION", | ||
@"AY_OUT_OF_MEMORY", | ||
@"AY_UNSUPPORT_FORMAT", | ||
@"AY_READFILE_FAIL", | ||
@"AY_READSKLT_FAIL", | ||
@"AY_NULL_PTR", | ||
@"AY_FBO_INCOMPLETE", | ||
@"AY_RB_FAIL", | ||
@"AY_DB_FAIL", | ||
@"AY_DRAWBG_FAIL", | ||
@"AY_DRAWBG_FAIL", | ||
@"AY_DRAWSK_FAIL", | ||
@"AY_NOT_LOADED", | ||
@"AY_INVALID_PATH", | ||
@"AY_PARSE_JSON_FAIL", | ||
@"AY_UNKNOW_TYPE", | ||
@"AY_UNKNOW_TYPE", | ||
@"AY_UNKNOW_TYPE", | ||
@"AY_BEAUTY_FAIL", | ||
@"AY_INVALID_SHADER", | ||
@"AY_DRAWST_FAIL", | ||
@"AY_READMTL_FAIL", | ||
@"AY_MTLTEX_NOT_MATCH", | ||
@"AY_ARCHIVE_NOT_EXIST", | ||
@"AY_ARCHIVE_INVSIZE", | ||
@"AY_ARCHIVE_BAD", | ||
@"AY_RES_NOT_EXIST", | ||
@"AY_NO_AUTH", | ||
@"AY_EFFECTS_INIT", | ||
@"AY_EFFECTS_PLAY", | ||
@"AY_EFFECTS_END", | ||
@"AY_EFFECTS_START", | ||
@"AY_EFFECTS_PAUSE", | ||
@"AY_EFFECTS_REPLAY_END" | ||
}; | ||
|
||
NSString * const AiyaLicenseNotification = @"AiyaLicenseNotification"; | ||
NSString * const AiyaLicenseNotificationUserInfoKey = @"AiyaLicenseResult"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// | ||
// AiyaEffectSDK.h | ||
// AiyaEffectSDK | ||
// | ||
// Created by 汪洋 on 2017/11/28. | ||
// Copyright © 2017年 深圳市哎吖科技有限公司. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
//! Project version number for AiyaEffectSDK. | ||
FOUNDATION_EXPORT double AiyaEffectSDKVersionNumber; | ||
|
||
//! Project version string for AiyaEffectSDK. | ||
FOUNDATION_EXPORT const unsigned char AiyaEffectSDKVersionString[]; | ||
|
||
#import <AiyaEffectSDK/AYEffectConstants.h> | ||
|
||
#import <AiyaEffectSDK/AYLicenseManager.h> | ||
|
||
#import <AiyaEffectSDK/AYEffectHandler.h> | ||
|
||
#import <AiyaEffectSDK/AYAnimHandler.h> | ||
|
||
#import <AiyaEffectSDK/AYShortVideoEffectHandler.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// | ||
// AYGLProgram.h | ||
// AiyaEffectSDK | ||
// | ||
// Created by 汪洋 on 2017/11/28. | ||
// Copyright © 2017年 深圳市哎吖科技有限公司. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
#import <OpenGLES/ES2/gl.h> | ||
#import <OpenGLES/ES2/glext.h> | ||
|
||
@interface AYGLProgram : NSObject | ||
{ | ||
NSMutableArray *attributes; | ||
NSMutableArray *uniforms; | ||
GLuint program, | ||
vertShader, | ||
fragShader; | ||
} | ||
|
||
@property(readwrite, nonatomic) BOOL initialized; | ||
@property(readwrite, copy, nonatomic) NSString *vertexShaderLog; | ||
@property(readwrite, copy, nonatomic) NSString *fragmentShaderLog; | ||
@property(readwrite, copy, nonatomic) NSString *programLog; | ||
|
||
- (id)initWithVertexShaderString:(NSString *)vShaderString | ||
fragmentShaderString:(NSString *)fShaderString; | ||
- (id)initWithVertexShaderString:(NSString *)vShaderString | ||
fragmentShaderFilename:(NSString *)fShaderFilename; | ||
- (id)initWithVertexShaderFilename:(NSString *)vShaderFilename | ||
fragmentShaderFilename:(NSString *)fShaderFilename; | ||
- (GLuint)attributeIndex:(NSString *)attributeName; | ||
- (GLuint)uniformIndex:(NSString *)uniformName; | ||
- (BOOL)link; | ||
- (void)use; | ||
- (void)validate; | ||
|
||
@end |
Oops, something went wrong.