/gdk/samples/PhotoEditor/jni/ |
D | flip.cpp | 40 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 …]
|
D | saturate.cpp | 34 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()
|
D | convolution.cpp | 41 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()
|
D | warmify.cpp | 75 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()
|
D | quantize.cpp | 43 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()
|
D | negative.cpp | 40 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()
|
D | sepia.cpp | 40 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()
|
D | crossprocess.cpp | 40 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()
|
D | grayscale.cpp | 40 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()
|
D | copy.cpp | 41 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()
|
D | tint.cpp | 40 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()
|
D | blur.cpp | 41 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()
|
D | sharpen.cpp | 41 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()
|
D | fisheye.cpp | 58 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()
|
D | colortemp.cpp | 45 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()
|
D | backlight.cpp | 41 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()
|
D | grain.cpp | 55 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()
|
D | duotone.cpp | 40 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()
|
D | whiteblack.cpp | 57 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()
|
D | heq.cpp | 122 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()
|
D | utils.cpp | 47 void** src_pixels, void** dst_pixels) { in LockBitmaps() argument 56 if ((ret = AndroidBitmap_lockPixels(env, dst_bitmap, dst_pixels)) < 0) { in LockBitmaps()
|
D | convolution.h | 28 void *src_pixels, void *dst_pixels, float neighbor);
|
D | redeye.cpp | 45 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()
|
D | vignetting.cpp | 45 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()
|
D | utils.h | 60 void** src_pixels, void** dst_pixels);
|