![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <stdlib.h>
Go to the source code of this file.
Macros | |
#define | BOX_ITERATIONS 8 |
#define | BOXFILTER_KAHAN_SUM 0x1000000 |
Functions | |
void | dt_box_mean (float *const buf, const size_t height, const size_t width, const int ch, const int radius, const unsigned interations) |
void | dt_box_mean_horizontal (float *const restrict buf, const size_t width, const int ch, const int radius, float *const restrict scratch) |
void | dt_box_mean_vertical (float *const buf, const size_t height, const size_t width, const int ch, const int radius) |
void | dt_box_min (float *const buf, const size_t height, const size_t width, const int ch, const int radius) |
void | dt_box_max (float *const buf, const size_t height, const size_t width, const int ch, const int radius) |
#define BOX_ITERATIONS 8 |
#define BOXFILTER_KAHAN_SUM 0x1000000 |
void dt_box_max | ( | float *const | buf, |
const size_t | height, | ||
const size_t | width, | ||
const int | ch, | ||
const int | radius | ||
) |
References box_max_1ch(), dt_unreachable_codepath, height, and width.
Referenced by transition_map().
void dt_box_mean | ( | float *const | buf, |
const size_t | height, | ||
const size_t | width, | ||
const int | ch, | ||
const int | radius, | ||
const unsigned | interations | ||
) |
References box_mean_2ch(), BOXFILTER_KAHAN_SUM, dt_box_mean_1ch(), dt_box_mean_4ch(), dt_box_mean_4ch_Kahan(), dt_unreachable_codepath, height, and width.
Referenced by dt_focuspeaking(), fast_surface_blur(), guided_filter_tiling(), process(), process_laplacian_bayer(), and variance_analyse().
void dt_box_mean_horizontal | ( | float *const restrict | buf, |
const size_t | width, | ||
const int | ch, | ||
const int | radius, | ||
float *const restrict | scratch | ||
) |
References blur_horizontal_4ch_Kahan(), blur_horizontal_Nch_Kahan(), BOXFILTER_KAHAN_SUM, dt_alloc_align_float(), dt_free_align, dt_unreachable_codepath, and width.
Referenced by guided_filter_tiling().
void dt_box_mean_vertical | ( | float *const | buf, |
const size_t | height, | ||
const size_t | width, | ||
const int | ch, | ||
const int | radius | ||
) |
References box_mean_vert_1ch_Kahan(), BOXFILTER_KAHAN_SUM, dt_unreachable_codepath, height, and width.
Referenced by guided_filter_tiling().
void dt_box_min | ( | float *const | buf, |
const size_t | height, | ||
const size_t | width, | ||
const int | ch, | ||
const int | radius | ||
) |
References box_min_1ch(), dt_unreachable_codepath, height, and width.
Referenced by dark_channel(), and process().