![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "common/darktable.h"#include "common/dwt.h"#include "develop/openmp_maths.h"#include "math.h"
Include dependency graph for bspline.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | BSPLINE_FSIZE 5 |
| #define | B_SPLINE_SIGMA 1.0553651328015339f |
| #define | B_SPLINE_TO_LAPLACIAN 3.182727439285017f |
| #define | B_SPLINE_TO_LAPLACIAN_2 10.129753952777762f |
Functions | |
| static float | normalize_laplacian (const float sigma) |
| static float | equivalent_sigma_at_step (const float sigma, const unsigned int s) |
| static unsigned int | num_steps_to_reach_equivalent_sigma (const float sigma_filter, const float sigma_final) |
| static size_t | decimated_bspline_size (const size_t size) |
| static void | sparse_scalar_product (const dt_aligned_pixel_t buf, const size_t indices[5], dt_aligned_pixel_t result, const gboolean clip_negatives) |
| static void | _bspline_vertical_pass (const float *const restrict in, float *const restrict temp, size_t row, size_t width, size_t height, int mult, const gboolean clip_negatives) |
| static void | _bspline_horizontal (const float *const restrict temp, float *const restrict out, size_t col, size_t width, int mult, const gboolean clip_negatives) |
| static void | _bspline_horizontal_decimated (const float *const restrict temp, float *const restrict out, const size_t col, const size_t width, const gboolean clip_negatives) |
| static void | reduce_2D_Bspline (const float *const restrict in, float *const restrict out, const size_t width, const size_t height, float *const restrict tempbuf, const size_t padded_size, const gboolean clip_negatives) |
| static void | expand_2D_Bspline (const float *const restrict in, float *const restrict out, const size_t width, const size_t height, const gboolean clip_negatives) |
| static void | blur_2D_Bspline (const float *const restrict in, float *const restrict out, float *const restrict tempbuf, const size_t width, const size_t height, const int mult, const gboolean clip_negatives) |
| static void | decompose_2D_Bspline (const float *const restrict in, float *const restrict HF, float *const restrict LF, const size_t width, const size_t height, const int mult, float *const tempbuf, size_t padded_size) |
| #define B_SPLINE_SIGMA 1.0553651328015339f |
| #define B_SPLINE_TO_LAPLACIAN 3.182727439285017f |
| #define B_SPLINE_TO_LAPLACIAN_2 10.129753952777762f |
| #define BSPLINE_FSIZE 5 |
|
inlinestatic |
References BSPLINE_FSIZE, DT_ALIGNED_ARRAY, MAX, MIN, out, sparse_scalar_product(), and width.
Referenced by blur_2D_Bspline(), and decompose_2D_Bspline().
|
inlinestatic |
References BSPLINE_FSIZE, DT_ALIGNED_ARRAY, MAX, MIN, out, sparse_scalar_product(), and width.
|
inlinestatic |
References BSPLINE_FSIZE, DT_ALIGNED_ARRAY, height, MAX, MIN, row, sparse_scalar_product(), and width.
Referenced by blur_2D_Bspline(), and decompose_2D_Bspline().
|
inlinestatic |
References _bspline_horizontal(), _bspline_vertical_pass(), dt_get_thread_num(), dwt_interleave_rows(), height, i, out, row, and width.
Referenced by dt_color_picker_helper(), and reconstruct_highlights().
|
inlinestatic |
References size.
Referenced by expand_2D_Bspline(), and reduce_2D_Bspline().
|
inlinestatic |
References _bspline_horizontal(), _bspline_vertical_pass(), c, DT_ALIGNED_ARRAY, dt_get_perthread, dwt_interleave_rows(), for_four_channels, height, i, row, TRUE, and width.
Referenced by wavelets_process(), and wavelets_process().
|
inlinestatic |
References equivalent_sigma_at_step(), and sqf().
Referenced by equivalent_sigma_at_step(), wavelets_process(), and wavelets_process().
|
inlinestatic |
References BSPLINE_FSIZE, c, copy_pixel_nontemporal(), decimated_bspline_size(), for_four_channels, height, MAX, out, row, weight(), and width.
|
inlinestatic |
References sqf().
|
inlinestatic |
References sqf().
Referenced by process(), and tiling_callback().
|
inlinestatic |
References BSPLINE_FSIZE, c, copy_pixel_nontemporal(), decimated_bspline_size(), for_four_channels, height, MAX, out, row, void(), weight(), and width.
|
inlinestatic |
References BSPLINE_FSIZE, c, for_each_channel, and MAX.
Referenced by _bspline_horizontal(), _bspline_horizontal_decimated(), and _bspline_vertical_pass().