Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
blur.c File Reference
#include "develop/imageop.h"
#include "develop/imageop_math.h"
#include "iop/highlights/blur.h"
#include <string.h>
+ Include dependency graph for blur.c:

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)
 
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)
 

Variables

static __thread _hl_gauss_slot_t _hl_gauss_cache [HL_GAUSS_SLOTS] = { { 0 } }
 
static __thread int _hl_gauss_rr = 0
 

Function Documentation

◆ _hl_gauss_cache_flush()

◆ _hl_gauss_get()

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

◆ _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 69 of file blur.c.

References dt_gaussian_init_cl(), and sigma.

Referenced by _hl_knee_estimate_cl(), and _region_blur_cl().

Variable Documentation

◆ _hl_gauss_cache

__thread _hl_gauss_slot_t _hl_gauss_cache[HL_GAUSS_SLOTS] = { { 0 } }
static

Definition at line 27 of file blur.c.

Referenced by _hl_gauss_cache_flush(), and _hl_gauss_get().

◆ _hl_gauss_rr

__thread int _hl_gauss_rr = 0
static

Definition at line 28 of file blur.c.

Referenced by _hl_gauss_get().