diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2016-07-25 20:25:08 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-07-25 20:25:08 -0700 |
| commit | 567c35fcfb59d1696b534fdc81f3a765911f3562 (patch) | |
| tree | c4228c344a778ce6c657d6d1137edf697cb2a36e /src/com | |
| parent | 3cd6f49bd8ba93feb1b308e6f0f32a06b47c9fc8 (diff) | |
| parent | 4d0a8c06636c34fcee392031c57351c1512f4b91 (diff) | |
| download | android_packages_apps_Gallery2-567c35fcfb59d1696b534fdc81f3a765911f3562.tar.gz android_packages_apps_Gallery2-567c35fcfb59d1696b534fdc81f3a765911f3562.tar.bz2 android_packages_apps_Gallery2-567c35fcfb59d1696b534fdc81f3a765911f3562.zip | |
Merge "SnapdragonGallery: Add 64-bit makeup library support"
Diffstat (limited to 'src/com')
| -rw-r--r-- | src/com/thundersoft/hz/selfportrait/detect/FaceDetect.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/com/thundersoft/hz/selfportrait/detect/FaceDetect.java b/src/com/thundersoft/hz/selfportrait/detect/FaceDetect.java index a5c7fb043..99eb33ec8 100644 --- a/src/com/thundersoft/hz/selfportrait/detect/FaceDetect.java +++ b/src/com/thundersoft/hz/selfportrait/detect/FaceDetect.java @@ -24,7 +24,7 @@ import android.util.Log; public class FaceDetect { private static final String TAG = "FaceDetect"; - private int mHandle = 0; + private long mHandle = 0; static { try { @@ -71,9 +71,9 @@ public class FaceDetect { return res; } - private static native int native_create(); - private static native void native_destroy(int handle); - private static native int native_detect(int handle, Bitmap bmp); - private static native int native_face_info(int handle, int index, Rect face, Rect eye1, + private static native long native_create(); + private static native void native_destroy(long handle); + private static native int native_detect(long handle, Bitmap bmp); + private static native int native_face_info(long handle, int index, Rect face, Rect eye1, Rect eye2, Rect mouth); } |
