Home
last modified time | relevance | path

Searched refs:focus_x (Results 1 – 3 of 3) sorted by relevance

/gdk/samples/PhotoEditor/jni/
Dredeye.cpp63 float focus_x = env->GetFloatField(point_f, xid); in RedEye() local
65 if (focus_x < 0.0 || focus_x > 1.0 || focus_y < 0.0 || focus_y > 1.0) { in RedEye()
70 float x = focus_x * src_info.width; in RedEye()
Dfisheye.cpp93 jfloat focus_x, jfloat focus_y, jfloat scale) { in Java_com_android_photoeditor_filters_ImageUtils_nativeFisheye() argument
95 return f(env, obj, src_bitmap, dst_bitmap, focus_x, focus_y, scale); in Java_com_android_photoeditor_filters_ImageUtils_nativeFisheye()
100 jfloat focus_x, jfloat focus_y, jfloat scale) { in Fisheye() argument
118 float far_point = hypotf(src_info.height * focus_y, src_info.width * focus_x); in Fisheye()
121 const uint32_t center_x = round(src_info.width * focus_x); in Fisheye()
D_jni.h9 …void Fisheye(JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat focus_x, jfl…
34 …JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat focus_x, jfloat focus_y, …