Merge branch 'dev_FaceUnity'
# Conflicts: # live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java # live/src/main/res/layout/view_live_room.xml
This commit is contained in:
commit
0b0967f84d
1
FaceUnity/.gitignore
vendored
Normal file
1
FaceUnity/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/build
|
73
FaceUnity/build.gradle
Normal file
73
FaceUnity/build.gradle
Normal file
@ -0,0 +1,73 @@
|
||||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'img-optimizer'
|
||||
apply plugin: 'kotlin-android'
|
||||
apply plugin: 'kotlin-android-extensions'
|
||||
|
||||
|
||||
android {
|
||||
compileSdkVersion rootProject.ext.android.compileSdkVersion
|
||||
buildToolsVersion rootProject.ext.android.buildToolsVersion
|
||||
packagingOptions {
|
||||
pickFirst "lib/armeabi/libyuvutils.so"
|
||||
pickFirst "lib/arm64-v8a/libyuvutils.so"
|
||||
pickFirst "lib/armeabi-v7a/libyuvutils.so"
|
||||
pickFirst "lib/armeabi/libyuvtools.so"
|
||||
pickFirst "lib/arm64-v8a/libyuvtools.so"
|
||||
pickFirst "lib/armeabi-v7a/libyuvtools.so"
|
||||
exclude "lib/arm64-v8a/libmmcv_api_handgesture.so"
|
||||
exclude "lib/arm64-v8a/libmmcv_api_express.so"
|
||||
exclude "lib/arm64-v8a/libMediaEncoder.so"
|
||||
exclude "lib/arm64-v8a/libarcore_sdk_c.so"
|
||||
exclude "lib/arm64-v8a/libmediadecoder.so"
|
||||
exclude "lib/arm64-v8a/libMediaMuxer.so"
|
||||
exclude "lib/arm64-v8a/libarcore_sdk_jni.so"
|
||||
exclude "lib/arm64-v8a/libMediaUtils.so"
|
||||
exclude "lib/arm64-v8a/libcosmosffmpeg.so"
|
||||
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion rootProject.ext.android.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.android.targetSdkVersion
|
||||
versionCode rootProject.ext.android.versionCode
|
||||
versionName rootProject.ext.android.versionName
|
||||
manifestPlaceholders = rootProject.ext.manifestPlaceholders
|
||||
ndk {
|
||||
abiFilters "armeabi-v7a","arm64-v8a"
|
||||
}
|
||||
}
|
||||
aaptOptions {
|
||||
cruncherEnabled = false
|
||||
useNewCruncher = false
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
}
|
||||
repositories {
|
||||
flatDir {
|
||||
dirs 'libs','../libs'
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation rootProject.ext.dependencies["appcompat-androidx"]
|
||||
implementation rootProject.ext.dependencies["recyclerview-androidx"]
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
||||
//common
|
||||
implementation project(path: ':common')
|
||||
|
||||
implementation 'com.faceunity:core:8.3.1'
|
||||
implementation 'com.faceunity:model:8.3.1'
|
||||
//implementation 'com.faceunity:nama:8.3.1' //底层库-标准版
|
||||
|
||||
|
||||
}
|
0
FaceUnity/consumer-rules.pro
Normal file
0
FaceUnity/consumer-rules.pro
Normal file
21
FaceUnity/proguard-rules.pro
vendored
Normal file
21
FaceUnity/proguard-rules.pro
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# You can control the set of applied configuration files using the
|
||||
# proguardFiles setting in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Uncomment this to preserve the line number information for
|
||||
# debugging stack traces.
|
||||
#-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
@ -0,0 +1,26 @@
|
||||
package com.yunbao.faceunity;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import androidx.test.platform.app.InstrumentationRegistry;
|
||||
import androidx.test.ext.junit.runners.AndroidJUnit4;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
/**
|
||||
* Instrumented test, which will execute on an Android device.
|
||||
*
|
||||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
||||
*/
|
||||
@RunWith(AndroidJUnit4.class)
|
||||
public class ExampleInstrumentedTest {
|
||||
@Test
|
||||
public void useAppContext() {
|
||||
// Context of the app under test.
|
||||
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
|
||||
assertEquals("com.yunbao.faceunity.test", appContext.getPackageName());
|
||||
}
|
||||
}
|
17
FaceUnity/src/main/AndroidManifest.xml
Normal file
17
FaceUnity/src/main/AndroidManifest.xml
Normal file
@ -0,0 +1,17 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="com.yunbao.faceunity"
|
||||
>
|
||||
<uses-permission android:name="android.permission.CAMERA" />
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.CAMERA" />
|
||||
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
|
||||
<application
|
||||
android:allowBackup="true">
|
||||
|
||||
</application>
|
||||
|
||||
</manifest>
|
6469
FaceUnity/src/main/assets/animation/animation_data.json
Normal file
6469
FaceUnity/src/main/assets/animation/animation_data.json
Normal file
File diff suppressed because it is too large
Load Diff
BIN
FaceUnity/src/main/assets/animoji/baihu_Animoji.bundle
Normal file
BIN
FaceUnity/src/main/assets/animoji/baihu_Animoji.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/animoji/baimao_Animoji.bundle
Normal file
BIN
FaceUnity/src/main/assets/animoji/baimao_Animoji.bundle
Normal file
Binary file not shown.
Binary file not shown.
BIN
FaceUnity/src/main/assets/animoji/douniuquan_Animoji.bundle
Normal file
BIN
FaceUnity/src/main/assets/animoji/douniuquan_Animoji.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/animoji/frog_Animoji.bundle
Normal file
BIN
FaceUnity/src/main/assets/animoji/frog_Animoji.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/animoji/hashiqi_Animoji.bundle
Normal file
BIN
FaceUnity/src/main/assets/animoji/hashiqi_Animoji.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/animoji/hetun_Animoji.bundle
Normal file
BIN
FaceUnity/src/main/assets/animoji/hetun_Animoji.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/animoji/huangya_Animoji.bundle
Normal file
BIN
FaceUnity/src/main/assets/animoji/huangya_Animoji.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/animoji/kaola_Animoji.bundle
Normal file
BIN
FaceUnity/src/main/assets/animoji/kaola_Animoji.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/animoji/kuloutou_Animoji.bundle
Normal file
BIN
FaceUnity/src/main/assets/animoji/kuloutou_Animoji.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/animoji/qgirl_Animoji.bundle
Normal file
BIN
FaceUnity/src/main/assets/animoji/qgirl_Animoji.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/animoji/wuxia_Animoji.bundle
Normal file
BIN
FaceUnity/src/main/assets/animoji/wuxia_Animoji.bundle
Normal file
Binary file not shown.
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/ar/baozi.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/ar/baozi.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/ar/bluebird.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/ar/bluebird.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/ar/fenhudie.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/ar/fenhudie.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/ar/lanhudie.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/ar/lanhudie.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/ar/tiger.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/ar/tiger.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/ar/tiger_bai.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/ar/tiger_bai.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/ar/tiger_huang.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/ar/tiger_huang.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/ar/xiongmao.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/ar/xiongmao.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/big_head/big_head.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/big_head/big_head.bundle
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/big_head/big_head_smile.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/big_head/big_head_smile.bundle
Normal file
Binary file not shown.
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/expression/jet_mask.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/expression/jet_mask.bundle
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/expression/sdx2.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/expression/sdx2.bundle
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/facewarp/facewarp2.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/facewarp/facewarp2.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/facewarp/facewarp3.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/facewarp/facewarp3.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/facewarp/facewarp4.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/facewarp/facewarp4.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/facewarp/facewarp5.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/facewarp/facewarp5.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/facewarp/facewarp6.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/facewarp/facewarp6.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/gesture/ctrl_flower.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/gesture/ctrl_flower.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/gesture/ctrl_rain.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/gesture/ctrl_rain.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/gesture/ctrl_snow.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/gesture/ctrl_snow.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/gesture/ssd_thread_cute.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/gesture/ssd_thread_cute.bundle
Normal file
Binary file not shown.
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/gesture/ssd_thread_six.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/gesture/ssd_thread_six.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/landmarks.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/landmarks.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/musicfilter/douyin_01.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/musicfilter/douyin_01.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/musicfilter/douyin_01.mp3
Normal file
BIN
FaceUnity/src/main/assets/effect/musicfilter/douyin_01.mp3
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/musicfilter/douyin_02.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/musicfilter/douyin_02.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/musicfilter/douyin_02.mp3
Normal file
BIN
FaceUnity/src/main/assets/effect/musicfilter/douyin_02.mp3
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/normal/cat_sparks.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/normal/cat_sparks.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/normal/daisypig.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/normal/daisypig.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/normal/fashi.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/normal/fashi.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/normal/fu_zh_fenshu.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/normal/fu_zh_fenshu.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/normal/gaoshiqing.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/normal/gaoshiqing.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/normal/newy1.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/normal/newy1.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/normal/redribbt.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/normal/redribbt.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/normal/sdlr.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/normal/sdlr.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/normal/sdlu.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/normal/sdlu.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/normal/wobushi.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/normal/wobushi.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/normal/xlong_zh_fu.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/normal/xlong_zh_fu.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/normal/xueqiu_lm_fu.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/normal/xueqiu_lm_fu.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/segment/bg_segment.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/segment/bg_segment.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/segment/boyfriend1.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/segment/boyfriend1.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/segment/boyfriend2.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/segment/boyfriend2.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/segment/boyfriend3.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/segment/boyfriend3.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/segment/gufeng_zh_fu.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/segment/gufeng_zh_fu.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/segment/hez_ztt_fu.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/segment/hez_ztt_fu.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/segment/human_outline.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/segment/human_outline.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/segment/ice_lm_fu.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/segment/ice_lm_fu.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/segment/sea_lm_fu.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/segment/sea_lm_fu.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/effect/segment/xiandai_ztt_fu.bundle
Normal file
BIN
FaceUnity/src/main/assets/effect/segment/xiandai_ztt_fu.bundle
Normal file
Binary file not shown.
1170
FaceUnity/src/main/assets/makeup/color_setup.json
Normal file
1170
FaceUnity/src/main/assets/makeup/color_setup.json
Normal file
File diff suppressed because it is too large
Load Diff
BIN
FaceUnity/src/main/assets/makeup/combination_bundle/chaoa.bundle
Normal file
BIN
FaceUnity/src/main/assets/makeup/combination_bundle/chaoa.bundle
Normal file
Binary file not shown.
Binary file not shown.
BIN
FaceUnity/src/main/assets/makeup/combination_bundle/chuju.bundle
Normal file
BIN
FaceUnity/src/main/assets/makeup/combination_bundle/chuju.bundle
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
FaceUnity/src/main/assets/makeup/combination_bundle/oumei.bundle
Normal file
BIN
FaceUnity/src/main/assets/makeup/combination_bundle/oumei.bundle
Normal file
Binary file not shown.
Binary file not shown.
BIN
FaceUnity/src/main/assets/makeup/combination_bundle/renyu.bundle
Normal file
BIN
FaceUnity/src/main/assets/makeup/combination_bundle/renyu.bundle
Normal file
Binary file not shown.
BIN
FaceUnity/src/main/assets/makeup/combination_bundle/rose.bundle
Normal file
BIN
FaceUnity/src/main/assets/makeup/combination_bundle/rose.bundle
Normal file
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user