![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Include dependency graph for guided_filter.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | gray_image |
| struct | dt_guided_filter_cl_global_t |
Typedefs | |
| typedef struct gray_image | gray_image |
| typedef struct dt_guided_filter_cl_global_t | dt_guided_filter_cl_global_t |
Functions | |
| 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) |
| typedef struct dt_guided_filter_cl_global_t dt_guided_filter_cl_global_t |
| typedef struct gray_image gray_image |
|
inlinestatic |
Definition at line 69 of file guided_filter.h.
References gray_image::data, gray_image::height, and gray_image::width.
Referenced by ambient_light().
| void dt_guided_filter_free_cl_global | ( | dt_guided_filter_cl_global_t * | g | ) |
Definition at line 399 of file guided_filter.c.
References dt_free, dt_opencl_free_kernel(), g, and IS_NULL_PTR.
Referenced by dt_opencl_cleanup().
| dt_guided_filter_cl_global_t * dt_guided_filter_init_cl_global | ( | ) |
Definition at line 382 of file guided_filter.c.
References dt_opencl_create_kernel(), and g.
Referenced by dt_opencl_init().
|
inlinestatic |
Definition at line 61 of file guided_filter.h.
References gray_image::data, and dt_pixelpipe_cache_free_align.
Referenced by ambient_light(), and process().
| 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 | ||
| ) |
Definition at line 351 of file guided_filter.c.
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().
| 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 | ||
| ) |
Definition at line 746 of file guided_filter.c.
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().
|
inlinestatic |
Definition at line 83 of file guided_filter.h.
Referenced by guided_filter_tiling().
|
inlinestatic |
Definition at line 76 of file guided_filter.h.
Referenced by guided_filter(), and guided_filter_tiling().
|
inlinestatic |
Definition at line 50 of file guided_filter.h.
References gray_image::data, dt_pixelpipe_cache_alloc_align_float_cache, height, gray_image::height, IS_NULL_PTR, width, and gray_image::width.
Referenced by ambient_light(), and process().