Home
last modified time | relevance | path

Searched refs:dst_bitmap (Results 1 – 24 of 24) sorted by relevance

/gdk/samples/PhotoEditor/jni/
D_jni.h3 …void Backlight(JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat backlight);
4 void Blur(JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat scale);
5 void ColorTemp(JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat scale);
6 void Copy(JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap);
7 void CrossProcess(JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap);
8 …void Duotone(JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jint color1, jint c…
9 …void Fisheye(JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat focus_x, jfl…
10 void FlipHorizontal(JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap);
11 void FlipVertical(JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap);
12 void FlipBoth(JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap);
[all …]
Dutils.cpp28 jobject src_bitmap, jobject dst_bitmap) { in ExtractInfoFromBitmap() argument
38 if ((ret = AndroidBitmap_getInfo(env, dst_bitmap, dst_info)) < 0) { in ExtractInfoFromBitmap()
45 int LockBitmaps(JNIEnv* env, jobject src_bitmap, jobject dst_bitmap, in LockBitmaps() argument
49 if ((ret = ExtractInfoFromBitmap(env, src_info, dst_info, src_bitmap, dst_bitmap)) < 0) { in LockBitmaps()
56 if ((ret = AndroidBitmap_lockPixels(env, dst_bitmap, dst_pixels)) < 0) { in LockBitmaps()
64 void UnlockBitmaps(JNIEnv* env, jobject src_bitmap, jobject dst_bitmap) { in UnlockBitmaps() argument
66 AndroidBitmap_unlockPixels(env, dst_bitmap); in UnlockBitmaps()
Dflip.cpp29 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap) { in Java_com_android_photoeditor_filters_ImageUtils_nativeFlipHorizontal() argument
31 return f(env, obj, src_bitmap, dst_bitmap); in Java_com_android_photoeditor_filters_ImageUtils_nativeFlipHorizontal()
35 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap) { in FlipHorizontal() argument
43 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in FlipHorizontal()
63 UnlockBitmaps(env, src_bitmap, dst_bitmap); in FlipHorizontal()
67 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap) { in Java_com_android_photoeditor_filters_ImageUtils_nativeFlipVertical() argument
69 return f(env, obj, src_bitmap, dst_bitmap); in Java_com_android_photoeditor_filters_ImageUtils_nativeFlipVertical()
73 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap) { in FlipVertical() argument
80 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in FlipVertical()
101 UnlockBitmaps(env, src_bitmap, dst_bitmap); in FlipVertical()
[all …]
Dcopy.cpp31 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap) { in Java_com_android_photoeditor_filters_ImageUtils_nativeCopy() argument
33 return f(env, obj, src_bitmap, dst_bitmap); in Java_com_android_photoeditor_filters_ImageUtils_nativeCopy()
37 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap) { in Copy() argument
44 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Copy()
52 UnlockBitmaps(env, src_bitmap, dst_bitmap); in Copy()
Dblur.cpp31 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat scale) { in Java_com_android_photoeditor_filters_ImageUtils_nativeBlur() argument
33 return f(env, obj, src_bitmap, dst_bitmap, scale); in Java_com_android_photoeditor_filters_ImageUtils_nativeBlur()
37 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat scale) { in Blur() argument
44 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Blur()
54 UnlockBitmaps(env, src_bitmap, dst_bitmap); in Blur()
Dsharpen.cpp31 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat scale) { in Java_com_android_photoeditor_filters_ImageUtils_nativeSharpen() argument
33 return f(env, obj, src_bitmap, dst_bitmap, scale); in Java_com_android_photoeditor_filters_ImageUtils_nativeSharpen()
37 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat scale) { in Sharpen() argument
44 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Sharpen()
52 UnlockBitmaps(env, src_bitmap, dst_bitmap); in Sharpen()
Dwarmify.cpp65 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap) { in Java_com_android_photoeditor_filters_ImageUtils_nativeWarmify() argument
67 return f(env, obj, src_bitmap, dst_bitmap); in Java_com_android_photoeditor_filters_ImageUtils_nativeWarmify()
71 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap) { in Warmify() argument
78 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Warmify()
103 UnlockBitmaps(env, src_bitmap, dst_bitmap); in Warmify()
Dquantize.cpp33 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap) { in Java_com_android_photoeditor_filters_ImageUtils_nativeQuantize() argument
35 return f(env, obj, src_bitmap, dst_bitmap); in Java_com_android_photoeditor_filters_ImageUtils_nativeQuantize()
39 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap) { in Quantize() argument
46 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Quantize()
75 UnlockBitmaps(env, src_bitmap, dst_bitmap); in Quantize()
Dnegative.cpp30 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap) { in Java_com_android_photoeditor_filters_ImageUtils_nativeNegative() argument
32 return f(env, obj, src_bitmap, dst_bitmap); in Java_com_android_photoeditor_filters_ImageUtils_nativeNegative()
36 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap) { in Negative() argument
43 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Negative()
68 UnlockBitmaps(env, src_bitmap, dst_bitmap); in Negative()
Dsepia.cpp30 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap) { in Java_com_android_photoeditor_filters_ImageUtils_nativeSepia() argument
32 return f(env, obj, src_bitmap, dst_bitmap); in Java_com_android_photoeditor_filters_ImageUtils_nativeSepia()
36 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap) { in Sepia() argument
43 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Sepia()
76 UnlockBitmaps(env, src_bitmap, dst_bitmap); in Sepia()
Dcrossprocess.cpp30 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap) { in Java_com_android_photoeditor_filters_ImageUtils_nativeCrossProcess() argument
32 return f(env, obj, src_bitmap, dst_bitmap); in Java_com_android_photoeditor_filters_ImageUtils_nativeCrossProcess()
36 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap) { in CrossProcess() argument
43 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in CrossProcess()
86 UnlockBitmaps(env, src_bitmap, dst_bitmap); in CrossProcess()
Dgrayscale.cpp30 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat scale) { in Java_com_android_photoeditor_filters_ImageUtils_nativeGrayscale() argument
32 return f(env, obj, src_bitmap, dst_bitmap, scale); in Java_com_android_photoeditor_filters_ImageUtils_nativeGrayscale()
36 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat scale) { in Grayscale() argument
43 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Grayscale()
77 UnlockBitmaps(env, src_bitmap, dst_bitmap); in Grayscale()
Dtint.cpp30 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jint tint) { in Java_com_android_photoeditor_filters_ImageUtils_nativeTint() argument
32 return f(env, obj, src_bitmap, dst_bitmap, tint); in Java_com_android_photoeditor_filters_ImageUtils_nativeTint()
36 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jint tint) { in Tint() argument
43 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Tint()
89 UnlockBitmaps(env, src_bitmap, dst_bitmap); in Tint()
Dcolortemp.cpp35 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat scale) { in Java_com_android_photoeditor_filters_ImageUtils_nativeColorTemp() argument
37 return f(env, obj, src_bitmap, dst_bitmap, scale); in Java_com_android_photoeditor_filters_ImageUtils_nativeColorTemp()
41 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat scale) { in ColorTemp() argument
48 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in ColorTemp()
95 UnlockBitmaps(env, src_bitmap, dst_bitmap); in ColorTemp()
Dvignetting.cpp35 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat range) { in Java_com_android_photoeditor_filters_ImageUtils_nativeVignetting() argument
37 return f(env, obj, src_bitmap, dst_bitmap, range); in Java_com_android_photoeditor_filters_ImageUtils_nativeVignetting()
41 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat range) { in Vignetting() argument
54 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Vignetting()
85 UnlockBitmaps(env, src_bitmap, dst_bitmap); in Vignetting()
Dbacklight.cpp32 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat backlight) { in Java_com_android_photoeditor_filters_ImageUtils_nativeBacklight() argument
34 return f(env, obj, src_bitmap, dst_bitmap, backlight); in Java_com_android_photoeditor_filters_ImageUtils_nativeBacklight()
37 extern "C" void Backlight(JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat … in Backlight() argument
44 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Backlight()
104 UnlockBitmaps(env, src_bitmap, dst_bitmap); in Backlight()
Dutils.h56 jobject src_bitmap, jobject dst_bitmap);
58 int LockBitmaps(JNIEnv* env, jobject src_bitmap, jobject dst_bitmap,
62 void UnlockBitmaps(JNIEnv* env, jobject src_bitmap, jobject dst_bitmap);
Dduotone.cpp30 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jint color1, jint color2) { in Java_com_android_photoeditor_filters_ImageUtils_nativeDuotone() argument
32 return f(env, obj, src_bitmap, dst_bitmap, color1, color2); in Java_com_android_photoeditor_filters_ImageUtils_nativeDuotone()
36 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jint color1, jint color2) { in Duotone() argument
43 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Duotone()
91 UnlockBitmaps(env, src_bitmap, dst_bitmap); in Duotone()
Dwhiteblack.cpp47 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat white, jfloat black) { in Java_com_android_photoeditor_filters_ImageUtils_nativeWhiteBlack() argument
49 return f(env, obj, src_bitmap, dst_bitmap, white, black); in Java_com_android_photoeditor_filters_ImageUtils_nativeWhiteBlack()
53 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat white, jfloat black) { in WhiteBlack() argument
60 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in WhiteBlack()
110 UnlockBitmaps(env, src_bitmap, dst_bitmap); in WhiteBlack()
Dredeye.cpp33 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, in Java_com_android_photoeditor_filters_ImageUtils_nativeRedEye() argument
36 return f(env, obj, src_bitmap, dst_bitmap, redeye_positions, radius, intensity); in Java_com_android_photoeditor_filters_ImageUtils_nativeRedEye()
40 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, in RedEye() argument
48 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in RedEye()
106 UnlockBitmaps(env, src_bitmap, dst_bitmap); in RedEye()
Dsaturate.cpp121 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat scale) { in Java_com_android_photoeditor_filters_ImageUtils_nativeSaturation() argument
123 return f(env, obj, src_bitmap, dst_bitmap, scale); in Java_com_android_photoeditor_filters_ImageUtils_nativeSaturation()
127 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat scale) { in Saturation() argument
134 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Saturation()
147 UnlockBitmaps(env, src_bitmap, dst_bitmap); in Saturation()
Dgrain.cpp126 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat noise_scale) { in Java_com_android_photoeditor_filters_ImageUtils_nativeGrain() argument
128 return f(env, obj, src_bitmap, dst_bitmap, noise_scale); in Java_com_android_photoeditor_filters_ImageUtils_nativeGrain()
132 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat noise_scale) { in Grain() argument
139 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Grain()
181 UnlockBitmaps(env, src_bitmap, dst_bitmap); in Grain()
Dheq.cpp112 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat scale) { in Java_com_android_photoeditor_filters_ImageUtils_nativeHEQ() argument
114 return f(env, obj, src_bitmap, dst_bitmap, scale); in Java_com_android_photoeditor_filters_ImageUtils_nativeHEQ()
118 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, jfloat scale) { in HEQ() argument
125 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in HEQ()
251 UnlockBitmaps(env, src_bitmap, dst_bitmap); in HEQ()
Dfisheye.cpp92 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, 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()
99 JNIEnv *env, jobject obj, jobject src_bitmap, jobject dst_bitmap, in Fisheye() argument
107 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Fisheye()
157 UnlockBitmaps(env, src_bitmap, dst_bitmap); in Fisheye()