Home
last modified time | relevance | path

Searched refs:dst_pixels (Results 1 – 25 of 25) sorted by relevance

/gdk/samples/PhotoEditor/jni/
Dflip.cpp40 void* dst_pixels; in FlipHorizontal() local
43 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in FlipHorizontal()
50 uint32_t* dst = reinterpret_cast<uint32_t*>(dst_pixels) + src_info.width - 1; in FlipHorizontal()
60 dst_pixels = reinterpret_cast<char*>(dst_pixels) + dst_info.stride; in FlipHorizontal()
77 void* dst_pixels; in FlipVertical() local
80 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in FlipVertical()
86 dst_pixels = reinterpret_cast<char*>(dst_pixels) + dst_info.stride * (dst_info.height - 1); in FlipVertical()
88 uint32_t* dst = reinterpret_cast<uint32_t*>(dst_pixels); in FlipVertical()
98 dst_pixels = reinterpret_cast<char*>(dst_pixels) - dst_info.stride; in FlipVertical()
115 void* dst_pixels; in FlipBoth() local
[all …]
Dsaturate.cpp34 void *src_pixels, void *dst_pixels, int scale) { in BenSaturate() argument
36 uint32_t* dst = reinterpret_cast<uint32_t*>(dst_pixels); in BenSaturate()
52 dst_pixels = reinterpret_cast<char*>(dst_pixels) + dst_info->stride; in BenSaturate()
58 void *src_pixels, void *dst_pixels, float scale) { in HerfSaturate() argument
81 uint32_t* dst = reinterpret_cast<uint32_t*>(dst_pixels); in HerfSaturate()
112 dst_pixels = reinterpret_cast<char*>(dst_pixels) + dst_info->stride; in HerfSaturate()
131 void* dst_pixels; in Saturation() local
134 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Saturation()
141 HerfSaturate(&src_info, &dst_info, src_pixels, dst_pixels, scale * 3); in Saturation()
143 BenSaturate(&src_info, &dst_info, src_pixels, dst_pixels, in Saturation()
Dconvolution.cpp41 void *src_pixels, void *dst_pixels, float neighbor) { in SpecialConvolution() argument
44 memcpy(dst_pixels, src_pixels, src_info->stride * src_info->height); in SpecialConvolution()
49 memcpy(dst_pixels, src_pixels, src_info->stride); in SpecialConvolution()
51 dst_pixels = reinterpret_cast<char*>(dst_pixels) + dst_info->stride; in SpecialConvolution()
64 uint32_t* dst = reinterpret_cast<uint32_t*>(dst_pixels); in SpecialConvolution()
106 dst_pixels = reinterpret_cast<char*>(dst_pixels) + dst_info->stride; in SpecialConvolution()
110 memcpy(dst_pixels, src_pixels, src_info->stride); in SpecialConvolution()
Dwarmify.cpp75 void* dst_pixels; in Warmify() local
78 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Warmify()
85 uint32_t* dst = reinterpret_cast<uint32_t*>(dst_pixels); in Warmify()
100 dst_pixels = reinterpret_cast<char*>(dst_pixels) + dst_info.stride; in Warmify()
Dquantize.cpp43 void* dst_pixels; in Quantize() local
46 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Quantize()
60 pixel32_t* dst = reinterpret_cast<pixel32_t*>(dst_pixels); in Quantize()
71 dst_pixels = reinterpret_cast<char*>(dst_pixels) + dst_info.stride; in Quantize()
Dnegative.cpp40 void* dst_pixels; in Negative() local
43 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Negative()
50 uint32_t* dst = reinterpret_cast<uint32_t*>(dst_pixels); in Negative()
64 dst_pixels = reinterpret_cast<char*>(dst_pixels) + dst_info.stride; in Negative()
Dsepia.cpp40 void* dst_pixels; in Sepia() local
43 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Sepia()
50 uint32_t* dst = reinterpret_cast<uint32_t*>(dst_pixels); in Sepia()
72 dst_pixels = reinterpret_cast<char*>(dst_pixels) + dst_info.stride; in Sepia()
Dcrossprocess.cpp40 void* dst_pixels; in CrossProcess() local
43 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in CrossProcess()
52 uint32_t* dst = reinterpret_cast<uint32_t*>(dst_pixels); in CrossProcess()
82 dst_pixels = reinterpret_cast<char*>(dst_pixels) + dst_info.stride; in CrossProcess()
Dgrayscale.cpp40 void* dst_pixels; in Grayscale() local
43 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Grayscale()
55 uint32_t* dst = reinterpret_cast<uint32_t*>(dst_pixels); in Grayscale()
73 dst_pixels = reinterpret_cast<char*>(dst_pixels) + dst_info.stride; in Grayscale()
Dcopy.cpp41 void* dst_pixels; in Copy() local
44 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Copy()
50 memcpy(dst_pixels, src_pixels, src_info.stride * src_info.height); in Copy()
Dtint.cpp40 void* dst_pixels; in Tint() local
43 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Tint()
60 uint32_t* dst = reinterpret_cast<uint32_t*>(dst_pixels); in Tint()
85 dst_pixels = reinterpret_cast<char*>(dst_pixels) + dst_info.stride; in Tint()
Dblur.cpp41 void* dst_pixels; in Blur() local
44 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Blur()
52 SpecialConvolution(&src_info, &dst_info, src_pixels, dst_pixels, scale / 5); in Blur()
Dsharpen.cpp41 void* dst_pixels; in Sharpen() local
44 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Sharpen()
50 SpecialConvolution(&src_info, &dst_info, src_pixels, dst_pixels, -scale); in Sharpen()
Dfisheye.cpp58 AndroidBitmapInfo *dst_info, void *src_pixels, void *dst_pixels) { in FisheyeMapPixels() argument
81 uint32_t *dst = (uint32_t*)((char*)dst_pixels + dst_info->stride * y) + x; in FisheyeMapPixels()
104 void* dst_pixels; in Fisheye() local
107 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Fisheye()
114 memcpy(dst_pixels, src_pixels, src_info.stride * src_info.height); in Fisheye()
146 FisheyeMapPixels(fpx, fpy, dst_x, scan_line, &src_info, &dst_info, src_pixels, dst_pixels); in Fisheye()
147 FisheyeMapPixels(fpx, fny, dst_x, ny, &src_info, &dst_info, src_pixels, dst_pixels); in Fisheye()
148 FisheyeMapPixels(fnx, fpy, nx, scan_line, &src_info, &dst_info, src_pixels, dst_pixels); in Fisheye()
149 FisheyeMapPixels(fnx, fny, nx, ny, &src_info, &dst_info, src_pixels, dst_pixels); in Fisheye()
154 uint32_t *dst = (uint32_t*)((char*)dst_pixels + dst_info.stride * center_y) + center_x; in Fisheye()
Dcolortemp.cpp45 void* dst_pixels; in ColorTemp() local
48 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in ColorTemp()
65 uint32_t* dst = reinterpret_cast<uint32_t*>(dst_pixels); in ColorTemp()
91 dst_pixels = reinterpret_cast<char*>(dst_pixels) + dst_info.stride; in ColorTemp()
Dbacklight.cpp41 void* dst_pixels; in Backlight() local
44 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Backlight()
66 uint32_t* dst = reinterpret_cast<uint32_t*>(dst_pixels); in Backlight()
100 dst_pixels = reinterpret_cast<char*>(dst_pixels) + dst_info.stride; in Backlight()
Dgrain.cpp55 void GenerateBlurredNoise(void* dst_pixels, AndroidBitmapInfo* dst_info, in GenerateBlurredNoise() argument
60 memset(dst_pixels, 0, dst_info->stride * dst_info->height); in GenerateBlurredNoise()
66 reinterpret_cast<char*>(dst_pixels) + y * dst_info->stride); in GenerateBlurredNoise()
136 void* dst_pixels; in Grain() local
139 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Grain()
145 GenerateBlurredNoise(dst_pixels, &dst_info, noise_scale); in Grain()
151 reinterpret_cast<char*>(dst_pixels) + dst_info.stride * scan_line); in Grain()
Dduotone.cpp40 void* dst_pixels; in Duotone() local
43 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Duotone()
72 uint32_t* dst = reinterpret_cast<uint32_t*>(dst_pixels); in Duotone()
87 dst_pixels = reinterpret_cast<char*>(dst_pixels) + dst_info.stride; in Duotone()
Dwhiteblack.cpp57 void* dst_pixels; in WhiteBlack() local
60 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in WhiteBlack()
73 uint32_t* dst = reinterpret_cast<uint32_t*>(dst_pixels); in WhiteBlack()
107 dst_pixels = reinterpret_cast<char*>(dst_pixels) + dst_info.stride; in WhiteBlack()
Dheq.cpp122 void* dst_pixels; in HEQ() local
125 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in HEQ()
138 pixel32_t* dst = reinterpret_cast<pixel32_t*>(dst_pixels); in HEQ()
152 reinterpret_cast<char*>(dst_pixels) + dst_info.stride * y_border_thickness); in HEQ()
154 reinterpret_cast<char*>(dst_pixels) + dst_info.stride * in HEQ()
175 dst_line = reinterpret_cast<pixel32_t*>(dst_pixels); in HEQ()
Dutils.cpp47 void** src_pixels, void** dst_pixels) { in LockBitmaps() argument
56 if ((ret = AndroidBitmap_lockPixels(env, dst_bitmap, dst_pixels)) < 0) { in LockBitmaps()
Dconvolution.h28 void *src_pixels, void *dst_pixels, float neighbor);
Dredeye.cpp45 void* dst_pixels; in RedEye() local
48 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in RedEye()
54 memcpy(dst_pixels, src_pixels, src_info.stride * src_info.height); in RedEye()
84 reinterpret_cast<char*>(dst_pixels) + dst_info.stride * dst_y) + start_x; in RedEye()
Dvignetting.cpp45 void* dst_pixels; in Vignetting() local
54 env, src_bitmap, dst_bitmap, &src_info, &dst_info, &src_pixels, &dst_pixels); in Vignetting()
66 reinterpret_cast<char*>(dst_pixels) + dst_info.stride * dst_y); in Vignetting()
Dutils.h60 void** src_pixels, void** dst_pixels);