-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
576 additions
and
2 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 @@ | ||
diff --git a/Android.mk b/Android.mk | ||
index 3690b179..1d2be682 100644 | ||
--- a/Android.mk | ||
+++ b/Android.mk | ||
@@ -55,6 +55,7 @@ endif | ||
|
||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include | ||
LOCAL_C_INCLUDES += $(LOCAL_PATH)/include | ||
+LOCAL_LDFLAGS += -Wl,-z,max-page-size=16384 | ||
|
||
LOCAL_MODULE := libyuv_static | ||
LOCAL_MODULE_TAGS := optional | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 43e79a03..5439885c 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -128,3 +128,5 @@ endif() | ||
install(TARGETS ${ly_lib_name} DESTINATION lib) | ||
install(FILES ${ly_header_files} DESTINATION include/libyuv) | ||
install(FILES ${ly_inc_dir}/libyuv.h DESTINATION include/) | ||
+ | ||
+target_link_libraries(${ly_lib_name} "-Wl,-z,max-page-size=16384") | ||
\ No newline at end of file |
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,35 @@ | ||
diff --git a/Android.mk b/Android.mk | ||
index d901211..a9a1e53 100644 | ||
--- a/Android.mk | ||
+++ b/Android.mk | ||
@@ -45,6 +45,7 @@ LOCAL_SRC_FILES += source/SoundTouch/PeakFinder.cpp | ||
LOCAL_SRC_FILES += source/SoundTouch/SoundTouch.cpp | ||
LOCAL_SRC_FILES += source/SoundTouch/mmx_optimized.cpp | ||
LOCAL_SRC_FILES += ijksoundtouch_wrap.cpp | ||
+LOCAL_LDFLAGS += -Wl,-z,max-page-size=16384 | ||
|
||
LOCAL_MODULE := ijksoundtouch | ||
include $(BUILD_STATIC_LIBRARY) | ||
diff --git a/source/Android-lib/jni/Android.mk b/source/Android-lib/jni/Android.mk | ||
index f823b3e..83fa7fa 100644 | ||
--- a/source/Android-lib/jni/Android.mk | ||
+++ b/source/Android-lib/jni/Android.mk | ||
@@ -48,5 +48,6 @@ LOCAL_CFLAGS += -fvisibility=hidden -I ../../../include -fdata-sections -ffuncti | ||
|
||
# Use ARM instruction set instead of Thumb for improved calculation performance in ARM CPUs | ||
LOCAL_ARM_MODE := arm | ||
+LOCAL_LDFLAGS += -Wl,-z,max-page-size=16384 | ||
|
||
include $(BUILD_SHARED_LIBRARY) | ||
diff --git a/source/Android-lib/jni/Application.mk b/source/Android-lib/jni/Application.mk | ||
index 8ee39db..96e550b 100644 | ||
--- a/source/Android-lib/jni/Application.mk | ||
+++ b/source/Android-lib/jni/Application.mk | ||
@@ -5,6 +5,6 @@ | ||
|
||
APP_ABI := all #armeabi-v7a armeabi | ||
APP_OPTIM := release | ||
-APP_STL := stlport_static | ||
+APP_STL := c++_static | ||
APP_CPPFLAGS := -fexceptions # -D SOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS | ||
|
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
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
Binary file modified
BIN
-382 KB
(93%)
gsyVideoPlayer-ex_so/src/main/jniLibs/arm64-v8a/libijkffmpeg.so
100644 → 100755
Binary file not shown.
Binary file modified
BIN
+121 KB
(130%)
gsyVideoPlayer-ex_so/src/main/jniLibs/arm64-v8a/libijkplayer.so
100644 → 100755
Binary file not shown.
Binary file modified
BIN
-116 KB
(75%)
gsyVideoPlayer-ex_so/src/main/jniLibs/arm64-v8a/libijksdl.so
100644 → 100755
Binary file not shown.