Go to the source code of this file.
|
| static int | new_gray_image (gray_image *img, int width, int height) |
| |
| static void | free_gray_image (gray_image *img_p) |
| |
| static void | copy_gray_image (gray_image img1, gray_image img2) |
| |
| static int | min_i (int a, int b) |
| |
| static int | max_i (int a, int b) |
| |
| int | guided_filter (const float *guide, const float *in, float *out, int width, int height, int ch, int w, float sqrt_eps, float guide_weight, float min, float max) |
| |
| dt_guided_filter_cl_global_t * | dt_guided_filter_init_cl_global () |
| |
| void | dt_guided_filter_free_cl_global (dt_guided_filter_cl_global_t *g) |
| |
| int | guided_filter_cl (int devid, cl_mem guide, cl_mem in, cl_mem out, int width, int height, int ch, int w, float sqrt_eps, float guide_weight, float min, float max) |
| |
◆ dt_guided_filter_cl_global_t
◆ gray_image
◆ copy_gray_image()
◆ dt_guided_filter_free_cl_global()
◆ dt_guided_filter_init_cl_global()
◆ free_gray_image()
◆ guided_filter()
| int guided_filter |
( |
const float * |
guide, |
|
|
const float * |
in, |
|
|
float * |
out, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
ch, |
|
|
int |
w, |
|
|
float |
sqrt_eps, |
|
|
float |
guide_weight, |
|
|
float |
min, |
|
|
float |
max |
|
) |
| |
References ch, eps, guided_filter_tiling(), height, i, max, min, min_i(), out, and width.
Referenced by _develop_blend_process_feather(), guided_filter_cl_fallback(), and process().
◆ guided_filter_cl()
| int guided_filter_cl |
( |
int |
devid, |
|
|
cl_mem |
guide, |
|
|
cl_mem |
in, |
|
|
cl_mem |
out, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
ch, |
|
|
int |
w, |
|
|
float |
sqrt_eps, |
|
|
float |
guide_weight, |
|
|
float |
min, |
|
|
float |
max |
|
) |
| |
References ch, DT_DEBUG_OPENCL, dt_opencl_image_fits_device(), dt_print(), guided_filter_cl_fallback(), guided_filter_cl_impl(), height, max, min, out, and width.
Referenced by dt_develop_blend_process_cl(), and process_cl().
◆ max_i()
| static int max_i |
( |
int |
a, |
|
|
int |
b |
|
) |
| |
|
inlinestatic |
◆ min_i()
| static int min_i |
( |
int |
a, |
|
|
int |
b |
|
) |
| |
|
inlinestatic |
◆ new_gray_image()
| static int new_gray_image |
( |
gray_image * |
img, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
inlinestatic |