Skip to content

Commit

Permalink
Merge pull request #64 from ksvc/v2.4.3-15893
Browse files Browse the repository at this point in the history
update to v2.4.3-15893
  • Loading branch information
chriszeng87 authored Aug 23, 2017
2 parents 553f5ab + e5415f2 commit 10fa92f
Show file tree
Hide file tree
Showing 51 changed files with 17 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,9 @@ public void onError(ImgTexFilterBase filter, int errno) {
private void initBeautyUI() {
String[] items = new String[]{"DISABLE", "BEAUTY_SOFT", "SKIN_WHITEN", "BEAUTY_ILLUSION",
"BEAUTY_DENOISE", "BEAUTY_SMOOTH", "BEAUTY_PRO", "BEAUTY_PRO2", "BEAUTY_PRO3",
"BEAUTY_PRO4", "DEMO_FILTER", "GROUP_FILTER", "ToneCurve", "复古", "胶片"};
"BEAUTY_PRO4", "DEMO_FILTER", "GROUP_FILTER", "ToneCurve", "复古", "胶片","Amatorka",
"ELEGANCE","1977","Amaro","Brannan","EarlyBird","Hefe","Hudson","ink",
"Lomo","LordKelvin","Nash","Rise","Sierra","Sutro","Toaster","Valencia","Walden","XproII"};
ArrayAdapter<String> adapter = new ArrayAdapter<>(this,
android.R.layout.simple_spinner_item, items);
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
Expand Down Expand Up @@ -493,6 +495,20 @@ public void onItemSelected(AdapterView<?> parent, View view, int position, long
CameraActivity.this.getResources().openRawResource(R.raw.jiaopian));

mStreamer.getImgTexFilterMgt().setFilter(acvFilter);
}else if (position == 15) {
ImgBeautySpecialEffectsFilter acvFilter= new ImgBeautySpecialEffectsFilter(mStreamer.getGLRender(),
CameraActivity.this,
ImgBeautySpecialEffectsFilter.KSY_SPECIAL_EFFECT_AMATORKA);
mStreamer.getImgTexFilterMgt().setFilter(acvFilter);
}else if (position == 16){
ImgBeautySpecialEffectsFilter acvFilter= new ImgBeautySpecialEffectsFilter(mStreamer.getGLRender(),
CameraActivity.this,
ImgBeautySpecialEffectsFilter.KSY_SPECIAL_EFFECT_ELEGANCE);
mStreamer.getImgTexFilterMgt().setFilter(acvFilter);
}else if (position >= 17 && position <= 33){
int diff = position - 17;
mStreamer.getImgTexFilterMgt().setFilter(mStreamer.getGLRender(),
ImgTexFilterMgt.KSY_FILTER_BEAUTY_1977 + diff);
}
List<ImgFilterBase> filters = mStreamer.getImgTexFilterMgt().getFilter();
if (filters != null && !filters.isEmpty()) {
Expand Down
Binary file modified KSYLiveDemo/libksylive/libs/arm64-v8a/libksylive.so
Binary file not shown.
Binary file modified KSYLiveDemo/libksylive/libs/armeabi-v7a/libksylive.so
Binary file not shown.
Binary file modified KSYLiveDemo/libksylive/libs/armeabi/libksylive.so
Binary file not shown.
Binary file modified KSYLiveDemo/libksylive/libs/ksylive.jar
Binary file not shown.
Binary file modified KSYLiveDemo/libksylive/libs/x86/libksylive.so
Binary file not shown.

0 comments on commit 10fa92f

Please sign in to comment.