Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
pde.h File Reference
+ Include dependency graph for pde.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int _sp_pde_assemble (const uint8_t *const restrict hole, const float *const restrict diffusion, const float diffusion_const, const int order, const float lambda, const int region_w, const int region_h, int **matrix_col_ptr_out, int **matrix_row_index_out, double **matrix_values_out, int **perm_grid_out, int *n_unknowns_out, const dt_dev_pixelpipe_t *const pipe)
 
_sp_chol_t_sp_pde_factor (const uint8_t *const restrict hole, const float *const restrict diffusion, const int order, const float lambda, const int region_w, const int region_h, int **perm_out, int *n_unknowns_out, const dt_dev_pixelpipe_t *pipe)
 
void _sp_pde_solve (const _sp_chol_t *const factor, const int *const restrict perm_grid, float *const restrict field, const uint8_t *const restrict hole, const float *const restrict diffusion, const float *const restrict target, const float *const restrict source, const int order, const float lambda, const int region_w, const int region_h, double *const restrict rhs, float *const restrict embedded, float *const restrict operator_out, float *const restrict scratch)
 
void _region_pde_solve (float *const restrict field, const uint8_t *const restrict hole, const float *const restrict diffusion, const float *const restrict target, const float *const restrict source, const int order, const float lambda, const int region_w, const int region_h, float *const restrict residual, float *const restrict search_dir, float *const restrict operator_dir, float *const restrict embedded, float *const restrict scratch, const int maxiter)
 
static _sp_chol_cl_kernels_t _hl_sp_chol_kernels (void *gd_void)
 

Function Documentation

◆ _hl_sp_chol_kernels()

◆ _region_pde_solve()

void _region_pde_solve ( float *const restrict  field,
const uint8_t *const restrict  hole,
const float *const restrict  diffusion,
const float *const restrict  target,
const float *const restrict  source,
const int  order,
const float  lambda,
const int  region_w,
const int  region_h,
float *const restrict  residual,
float *const restrict  search_dir,
float *const restrict  operator_dir,
float *const restrict  embedded,
float *const restrict  scratch,
const int  maxiter 
)

Definition at line 368 of file pde.c.

References __OMP_PARALLEL_FOR__, _apply_op(), double(), and i.

Referenced by _joint_core(), and _joint_core_stage_cl_selftest().

◆ _sp_pde_assemble()

int _sp_pde_assemble ( const uint8_t *const restrict  hole,
const float *const restrict  diffusion,
const float  diffusion_const,
const int  order,
const float  lambda,
const int  region_w,
const int  region_h,
int **  matrix_col_ptr_out,
int **  matrix_row_index_out,
double **  matrix_values_out,
int **  perm_grid_out,
int *  n_unknowns_out,
const dt_dev_pixelpipe_t *const  pipe 
)

◆ _sp_pde_factor()

_sp_chol_t * _sp_pde_factor ( const uint8_t *const restrict  hole,
const float *const restrict  diffusion,
const int  order,
const float  lambda,
const int  region_w,
const int  region_h,
int **  perm_out,
int *  n_unknowns_out,
const dt_dev_pixelpipe_t pipe 
)

◆ _sp_pde_solve()

void _sp_pde_solve ( const _sp_chol_t *const  factor,
const int *const restrict  perm_grid,
float *const restrict  field,
const uint8_t *const restrict  hole,
const float *const restrict  diffusion,
const float *const restrict  target,
const float *const restrict  source,
const int  order,
const float  lambda,
const int  region_w,
const int  region_h,
double *const restrict  rhs,
float *const restrict  embedded,
float *const restrict  operator_out,
float *const restrict  scratch 
)

Definition at line 334 of file pde.c.

References __OMP_PARALLEL_FOR__, _apply_op(), _sp_chol_solve(), double(), factor, and i.

Referenced by _joint_core(), and _joint_core_stage_cl_selftest().