<div dir="ltr">No, build/x265_config.h is a cmake-generated file.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 29, 2015 at 9:11 PM, Peter Kovář <span dir="ltr"><<a href="mailto:peter.kovar@reflexion.tv" target="_blank">peter.kovar@reflexion.tv</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># HG changeset patch<br>
# User Peter Kovář <<a href="mailto:peter.kovar@reflexion.tv">peter.kovar@reflexion.tv</a>><br>
# Date 1443541239 -7200<br>
#      Tue Sep 29 17:40:39 2015 +0200<br>
# Node ID fc6a1a47eadc50a56c7b472d05e1632e32f0bcf1<br>
# Parent  1768e5dd8feaa1b998d371f62ecd5554e3825f4b<br>
Experimental Android support<br>
<br>
Compile with ndk-build in the build/android directory.<br>
Eventually modify APP_ABI in the jni/Application.mk to select required target CPU.<br>
<br>
diff -r 1768e5dd8fea -r fc6a1a47eadc build/android/Android.mk<br>
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000<br>
+++ b/build/android/Android.mk  Tue Sep 29 17:40:39 2015 +0200<br>
@@ -0,0 +1,73 @@<br>
+LOCAL_PATH:= $(call my-dir)<br>
+include $(CLEAR_VARS)<br>
+<br>
+LOCAL_MODULE := libx265<br>
+<br>
+LOCAL_SRC_FILES = \<br>
+       ../../source/common/bitstream.cpp \<br>
+       ../../source/common/common.cpp \<br>
+       ../../source/common/constants.cpp \<br>
+       ../../source/common/cpu.cpp \<br>
+       ../../source/common/cudata.cpp \<br>
+       ../../source/common/dct.cpp \<br>
+       ../../source/common/deblock.cpp \<br>
+       ../../source/common/frame.cpp \<br>
+       ../../source/common/framedata.cpp \<br>
+       ../../source/common/intrapred.cpp \<br>
+       ../../source/common/ipfilter.cpp \<br>
+       ../../source/common/loopfilter.cpp \<br>
+       ../../source/common/lowres.cpp \<br>
+       ../../source/common/md5.cpp \<br>
+       ../../source/common/param.cpp \<br>
+       ../../source/common/piclist.cpp \<br>
+       ../../source/common/picyuv.cpp \<br>
+       ../../source/common/pixel.cpp \<br>
+       ../../source/common/predict.cpp \<br>
+       ../../source/common/primitives.cpp \<br>
+       ../../source/common/quant.cpp \<br>
+       ../../source/common/scalinglist.cpp \<br>
+       ../../source/common/shortyuv.cpp \<br>
+       ../../source/common/slice.cpp \<br>
+       ../../source/common/threading.cpp \<br>
+       ../../source/common/threadpool.cpp \<br>
+       ../../source/common/version.cpp \<br>
+       ../../source/common/wavefront.cpp \<br>
+       ../../source/common/yuv.cpp \<br>
+       ../../source/encoder/analysis.cpp \<br>
+       ../../source/encoder/api.cpp \<br>
+       ../../source/encoder/bitcost.cpp \<br>
+       ../../source/encoder/dpb.cpp \<br>
+       ../../source/encoder/encoder.cpp \<br>
+       ../../source/encoder/entropy.cpp \<br>
+       ../../source/encoder/frameencoder.cpp \<br>
+       ../../source/encoder/framefilter.cpp \<br>
+       ../../source/encoder/level.cpp \<br>
+       ../../source/encoder/motion.cpp \<br>
+       ../../source/encoder/nal.cpp \<br>
+       ../../source/encoder/ratecontrol.cpp \<br>
+       ../../source/encoder/reference.cpp \<br>
+       ../../source/encoder/sao.cpp \<br>
+       ../../source/encoder/search.cpp \<br>
+       ../../source/encoder/sei.cpp \<br>
+       ../../source/encoder/slicetype.cpp \<br>
+       ../../source/encoder/weightPrediction.cpp \<br>
+       ../../source/input/input.cpp \<br>
+       ../../source/input/yuv.cpp \<br>
+       ../../source/input/y4m.cpp \<br>
+       ../../source/output/output.cpp \<br>
+       ../../source/output/raw.cpp \<br>
+       ../../source/output/reconplay.cpp \<br>
+       ../../source/output/yuv.cpp \<br>
+       ../../source/output/y4m.cpp<br>
+<br>
+LOCAL_C_INCLUDES += . \<br>
+       $(LOCAL_PATH)/../../source \<br>
+       $(LOCAL_PATH)/../../source/common \<br>
+       $(LOCAL_PATH)/../../source/encoder<br>
+<br>
+LOCAL_CFLAGS += -DDETAILED_CU_STATS -DEXPORT_C_API=1 -DHAVE_INT_TYPES_H=1 -DHIGH_BIT_DEPTH=0 -DX265_ARCH_ARM=1 -DX265_DEPTH=8 -DX265_NS=x265 -D__STDC_LIMIT_MACROS=1 -DHAVE_STRTOK_R=1<br>
+<br>
+#LOCAL_CFLAGS += -Werror -Wall -Wno-strict-aliasing -Wno-unused-function<br>
+LOCAL_CFLAGS += -Wall -Wno-strict-aliasing -Wno-unused-function<br>
+<br>
+include $(BUILD_SHARED_LIBRARY)<br>
diff -r 1768e5dd8fea -r fc6a1a47eadc build/android/AndroidManifest.xml<br>
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000<br>
+++ b/build/android/AndroidManifest.xml Tue Sep 29 17:40:39 2015 +0200<br>
@@ -0,0 +1,9 @@<br>
+<?xml version="1.0" encoding="utf-8"?><br>
+<manifest xmlns:android="<a href="http://schemas.android.com/apk/res/android" rel="noreferrer" target="_blank">http://schemas.android.com/apk/res/android</a>"<br>
+      package="tv.reflexion.x265"<br>
+      android:versionCode="1.7+509-f4c267f28487" android:installLocation="auto"><br>
+    <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="21"/><br>
+<br>
+    <application android:label="@string/app_name" android:largeHeap="true" android:allowBackup="true"><br>
+    </application><br>
+</manifest><br>
diff -r 1768e5dd8fea -r fc6a1a47eadc build/android/jni/Application.mk<br>
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000<br>
+++ b/build/android/jni/Application.mk  Tue Sep 29 17:40:39 2015 +0200<br>
@@ -0,0 +1,13 @@<br>
+APP_PROJECT_PATH := ..<br>
+<br>
+APP_BUILD_SCRIPT := Android.mk<br>
+<br>
+APP_MODULES := libx265<br>
+<br>
+#APP_ABI := all<br>
+APP_ABI := arm64-v8a<br>
+<br>
+#APP_STL := stlport_static<br>
+APP_STL := stlport_shared<br>
+<br>
+APP_PLATFORM := android-21<br>
diff -r 1768e5dd8fea -r fc6a1a47eadc build/android/x265_config.h<br>
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000<br>
+++ b/build/android/x265_config.h       Tue Sep 29 17:40:39 2015 +0200<br>
@@ -0,0 +1,34 @@<br>
+/*****************************************************************************<br>
+ * Copyright (C) 2013 x265 project<br>
+ *<br>
+ * Authors: Steve Borho <<a href="mailto:steve@borho.org">steve@borho.org</a>><br>
+ *<br>
+ * This program is free software; you can redistribute it and/or modify<br>
+ * it under the terms of the GNU General Public License as published by<br>
+ * the Free Software Foundation; either version 2 of the License, or<br>
+ * (at your option) any later version.<br>
+ *<br>
+ * This program is distributed in the hope that it will be useful,<br>
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br>
+ * GNU General Public License for more details.<br>
+ *<br>
+ * You should have received a copy of the GNU General Public License<br>
+ * along with this program; if not, write to the Free Software<br>
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111, USA.<br>
+ *<br>
+ * This program is also available under a commercial proprietary license.<br>
+ * For more information, contact us at license @ <a href="http://x265.com" rel="noreferrer" target="_blank">x265.com</a>.<br>
+ *****************************************************************************/<br>
+<br>
+#ifndef X265_CONFIG_H<br>
+#define X265_CONFIG_H<br>
+<br>
+/* Defines generated at build time */<br>
+<br>
+/* Incremented each time public API is changed, X265_BUILD is used as<br>
+ * the shared library SONAME on platforms which support it. It also<br>
+ * prevents linking against a different version of the static lib */<br>
+#define X265_BUILD 75<br>
+<br>
+#endif<br>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div><br></div>