![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "develop/imageop.h"
Go to the source code of this file.
Macros | |
#define | DT_IMGSZ_CH_MASK 0x000FFFF |
#define | DT_IMGSZ_ROI_MASK 0x0100000 |
#define | DT_IMGSZ_OUTPUT 0x0000000 |
#define | DT_IMGSZ_INPUT 0x0100000 |
#define | DT_IMGSZ_PERTHREAD 0x0200000 |
#define | DT_IMGSZ_CLEARBUF 0x0400000 |
#define | DT_IMGSZ_DIM_MASK 0x00F0000 |
#define | DT_IMGSZ_FULL 0x0000000 |
#define | DT_IMGSZ_HEIGHT 0x0010000 |
#define | DT_IMGSZ_WIDTH 0x0020000 |
#define | DT_IMGSZ_LONGEST 0x0030000 |
Functions | |
static float *__restrict__ | dt_iop_image_alloc (const size_t width, const size_t height, const size_t ch) |
gboolean | dt_iop_alloc_image_buffers (struct dt_iop_module_t *const module, const struct dt_iop_roi_t *const roi_in, const struct dt_iop_roi_t *const roi_out,...) |
static __DT_CLONE_TARGETS__ void | dt_simd_memcpy (const float *const __restrict__ in, float *const __restrict__ out, const size_t num_elem) |
void | dt_iop_image_copy (float *const __restrict__ out, const float *const __restrict__ in, const size_t nfloats) |
static void | dt_iop_image_copy_by_size (float *const __restrict__ out, const float *const __restrict__ in, const size_t width, const size_t height, const size_t ch) |
void | dt_iop_copy_image_roi (float *const __restrict__ out, const float *const __restrict__ in, const size_t ch, const dt_iop_roi_t *const __restrict__ roi_in, const dt_iop_roi_t *const __restrict__ roi_out, const int zero_pad) |
void | dt_iop_image_scaled_copy (float *const __restrict__ buf, const float *const __restrict__ src, const float scale, const size_t width, const size_t height, const size_t ch) |
void | dt_iop_image_fill (float *const buf, const float fill_value, const size_t width, const size_t height, const size_t ch) |
void | dt_iop_image_add_const (float *const buf, const float add_value, const size_t width, const size_t height, const size_t ch) |
void | dt_iop_image_add_image (float *const buf, const float *const other_buf, const size_t width, const size_t height, const size_t ch) |
void | dt_iop_image_sub_image (float *const buf, const float *const other_buf, const size_t width, const size_t height, const size_t ch) |
void | dt_iop_image_invert (float *const buf, const float max_value, const size_t width, const size_t height, const size_t ch) |
void | dt_iop_image_mul_const (float *const buf, const float mul_value, const size_t width, const size_t height, const size_t ch) |
void | dt_iop_image_div_const (float *const buf, const float div_value, const size_t width, const size_t height, const size_t ch) |
void | dt_iop_image_linear_blend (float *const __restrict__ buf, const float lambda, const float *const __restrict__ other_buf, const size_t width, const size_t height, const size_t ch) |
#define DT_IMGSZ_CH_MASK 0x000FFFF |
#define DT_IMGSZ_CLEARBUF 0x0400000 |
#define DT_IMGSZ_DIM_MASK 0x00F0000 |
#define DT_IMGSZ_FULL 0x0000000 |
#define DT_IMGSZ_HEIGHT 0x0010000 |
#define DT_IMGSZ_INPUT 0x0100000 |
#define DT_IMGSZ_LONGEST 0x0030000 |
#define DT_IMGSZ_OUTPUT 0x0000000 |
#define DT_IMGSZ_PERTHREAD 0x0200000 |
#define DT_IMGSZ_ROI_MASK 0x0100000 |
#define DT_IMGSZ_WIDTH 0x0020000 |
gboolean dt_iop_alloc_image_buffers | ( | struct dt_iop_module_t *const | module, |
const struct dt_iop_roi_t *const | roi_in, | ||
const struct dt_iop_roi_t *const | roi_out, | ||
... | |||
) |
References darktable, dt_alloc_align_float(), dt_alloc_perthread_float(), dt_free_align, DT_IMGSZ_CH_MASK, DT_IMGSZ_CLEARBUF, DT_IMGSZ_DIM_MASK, DT_IMGSZ_FULL, DT_IMGSZ_HEIGHT, DT_IMGSZ_INPUT, DT_IMGSZ_LONGEST, DT_IMGSZ_OUTPUT, DT_IMGSZ_PERTHREAD, DT_IMGSZ_ROI_MASK, DT_IMGSZ_WIDTH, FALSE, dt_iop_roi_t::height, MAX, darktable_t::num_openmp_threads, size, TRUE, void(), and dt_iop_roi_t::width.
Referenced by process(), process_nlmeans_cpu(), process_variance(), process_wavelets(), and process_wavelets().
void dt_iop_copy_image_roi | ( | float *const __restrict__ | out, |
const float *const __restrict__ | in, | ||
const size_t | ch, | ||
const dt_iop_roi_t *const __restrict__ | roi_in, | ||
const dt_iop_roi_t *const __restrict__ | roi_out, | ||
const int | zero_pad | ||
) |
References dt_iop_image_copy_by_size().
Referenced by distort_mask(), dt_iop_have_required_input_format(), process(), process_wavelets(), and process_wavelets().
void dt_iop_image_add_const | ( | float *const | buf, |
const float | add_value, | ||
const size_t | width, | ||
const size_t | height, | ||
const size_t | ch | ||
) |
void dt_iop_image_add_image | ( | float *const | buf, |
const float *const | other_buf, | ||
const size_t | width, | ||
const size_t | height, | ||
const size_t | ch | ||
) |
Referenced by dwt_wavelet_decompose().
|
inlinestatic |
References dt_alloc_align_float(), height, and width.
Referenced by process(), and process_clusters().
void dt_iop_image_copy | ( | float *const __restrict__ | out, |
const float *const __restrict__ | in, | ||
const size_t | nfloats | ||
) |
|
inlinestatic |
References dt_iop_image_copy(), height, and width.
Referenced by _get_structure(), distort_mask(), dt_iop_copy_image_roi(), green_equilibration_favg(), green_equilibration_lavg(), pre_median_b(), process(), process(), process(), process(), process(), process(), process_clusters(), process_display(), process_internal(), and process_wavelets().
void dt_iop_image_div_const | ( | float *const | buf, |
const float | div_value, | ||
const size_t | width, | ||
const size_t | height, | ||
const size_t | ch | ||
) |
void dt_iop_image_fill | ( | float *const | buf, |
const float | fill_value, | ||
const size_t | width, | ||
const size_t | height, | ||
const size_t | ch | ||
) |
References darktable, height, MIN, darktable_t::num_openmp_threads, and width.
Referenced by distort_mask(), dt_develop_blend_process(), dt_develop_blendif_lab_make_mask(), dt_develop_blendif_raw_blend(), dt_develop_blendif_rgb_hsl_make_mask(), dt_develop_blendif_rgb_jzczhz_make_mask(), dt_image_distance_transform(), dwt_denoise(), dwt_wavelet_decompose(), and rt_build_scaled_mask().
void dt_iop_image_invert | ( | float *const | buf, |
const float | max_value, | ||
const size_t | width, | ||
const size_t | height, | ||
const size_t | ch | ||
) |
Referenced by dt_develop_blend_process().
void dt_iop_image_linear_blend | ( | float *const __restrict__ | buf, |
const float | lambda, | ||
const float *const __restrict__ | other_buf, | ||
const size_t | width, | ||
const size_t | height, | ||
const size_t | ch | ||
) |
void dt_iop_image_mul_const | ( | float *const | buf, |
const float | mul_value, | ||
const size_t | width, | ||
const size_t | height, | ||
const size_t | ch | ||
) |
void dt_iop_image_scaled_copy | ( | float *const __restrict__ | buf, |
const float *const __restrict__ | src, | ||
const float | scale, | ||
const size_t | width, | ||
const size_t | height, | ||
const size_t | ch | ||
) |
void dt_iop_image_sub_image | ( | float *const | buf, |
const float *const | other_buf, | ||
const size_t | width, | ||
const size_t | height, | ||
const size_t | ch | ||
) |
|
inlinestatic |
Referenced by commit_params(), extract_color_checker(), process(), pseudo_solve(), set_new_params_interactive(), toneeq_process(), and update_curve_lut().