Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
blur.h File Reference
#include "pixel/gaussian.h"
#include <string.h>
+ Include dependency graph for blur.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

dt_gaussian_t_hl_gauss_get (const int width, const int height, const int channels, const float sigma)
 
void _hl_gauss_cache_flush (void)
 
void _region_edge_blur (const float *const restrict in, float *const restrict out, const float *const restrict guide, float *const restrict step_x, float *const restrict step_y, const int region_w, const int region_h, const float sigma_s, const float sigma_r)
 
static void _region_blur (const float *const restrict in, float *const restrict out, const int region_w, const int region_h, const float sigma)
 
cl_int _region_edge_blur_cl (const int devid, void *gd_void, cl_mem in_image, cl_mem out_image, cl_mem guide, cl_mem data, cl_mem step_x, cl_mem step_y, const int region_w, const int region_h, const float sigma_s, const float sigma_r)
 
dt_gaussian_cl_t_region_blur_handle (const int devid, const int region_w, const int region_h, const float sigma)
 
cl_int _region_blur_cl (const int devid, cl_mem in, cl_mem out, const int region_w, const int region_h, const float sigma)
 

Function Documentation

◆ _hl_gauss_cache_flush()

void _hl_gauss_cache_flush ( void  )

◆ _hl_gauss_get()

dt_gaussian_t * _hl_gauss_get ( const int  width,
const int  height,
const int  channels,
const float  sigma 
)

◆ _region_blur()

static void _region_blur ( const float *const restrict  in,
float *const restrict  out,
const int  region_w,
const int  region_h,
const float  sigma 
)
inlinestatic

◆ _region_blur_cl()

cl_int _region_blur_cl ( const int  devid,
cl_mem  in,
cl_mem  out,
const int  region_w,
const int  region_h,
const float  sigma 
)

◆ _region_blur_handle()

dt_gaussian_cl_t * _region_blur_handle ( const int  devid,
const int  region_w,
const int  region_h,
const float  sigma 
)

Definition at line 67 of file blur.c.

References dt_gaussian_init_cl(), and sigma.

Referenced by _hl_knee_estimate_cl(), and _region_blur_cl().

◆ _region_edge_blur()

void _region_edge_blur ( const float *const restrict  in,
float *const restrict  out,
const float *const restrict  guide,
float *const restrict  step_x,
float *const restrict  step_y,
const int  region_w,
const int  region_h,
const float  sigma_s,
const float  sigma_r 
)

Definition at line 103 of file blur.c.

References HL_PFOR, i, out, row, sigma_r, sigma_s, and x.

Referenced by _cf_reconstruct().

◆ _region_edge_blur_cl()

cl_int _region_edge_blur_cl ( const int  devid,
void gd_void,
cl_mem  in_image,
cl_mem  out_image,
cl_mem  guide,
cl_mem  data,
cl_mem  step_x,
cl_mem  step_y,
const int  region_w,
const int  region_h,
const float  sigma_s,
const float  sigma_r 
)