![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <stdint.h>#include "develop/imageop.h"#include "develop/pixelpipe.h"#include "common/iop_profile.h"
Include dependency graph for histogram.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | dt_histogram_roi_t |
Typedefs | |
| typedef struct dt_histogram_roi_t | dt_histogram_roi_t |
Functions | |
| void | dt_histogram_helper_cs_RAW_uint16 (const dt_dev_histogram_collection_params_t *histogram_params, const void *pixel, uint32_t *histogram, int j, const dt_iop_order_iccprofile_info_t *const profile_info) |
| typedef | void ((*dt_worker)(const dt_dev_histogram_collection_params_t *const histogram_params, const void *pixel, uint32_t *histogram, int j, const dt_iop_order_iccprofile_info_t *const profile_info)) |
| void | dt_histogram_worker (dt_dev_histogram_collection_params_t *const histogram_params, dt_dev_histogram_stats_t *histogram_stats, const void *const pixel, uint32_t **histogram, const dt_worker Worker, const dt_iop_order_iccprofile_info_t *const profile_info) |
| void | dt_histogram_helper (dt_dev_histogram_collection_params_t *histogram_params, dt_dev_histogram_stats_t *histogram_stats, const dt_iop_colorspace_type_t cst, const dt_iop_colorspace_type_t cst_to, const void *pixel, uint32_t **histogram, const int compensate_middle_grey, const dt_iop_order_iccprofile_info_t *const profile_info) |
| void | dt_histogram_max_helper (const dt_dev_histogram_stats_t *const histogram_stats, const dt_iop_colorspace_type_t cst, const dt_iop_colorspace_type_t cst_to, uint32_t **histogram, uint32_t *histogram_max) |
| typedef struct dt_histogram_roi_t dt_histogram_roi_t |
| void dt_histogram_helper | ( | dt_dev_histogram_collection_params_t * | histogram_params, |
| dt_dev_histogram_stats_t * | histogram_stats, | ||
| const dt_iop_colorspace_type_t | cst, | ||
| const dt_iop_colorspace_type_t | cst_to, | ||
| const void * | pixel, | ||
| uint32_t ** | histogram, | ||
| const int | compensate_middle_grey, | ||
| const dt_iop_order_iccprofile_info_t *const | profile_info | ||
| ) |
Definition at line 266 of file common/histogram.c.
References __OMP_PARALLEL_FOR__, dt_dev_histogram_stats_t::ch, dt_histogram_worker(), dt_pixelpipe_cache_alloc_align_float_cache, dt_pixelpipe_cache_free_align, dt_histogram_roi_t::height, histogram_helper_cs_Lab(), histogram_helper_cs_Lab_LCh(), histogram_helper_cs_LCh(), histogram_helper_cs_RAW(), histogram_helper_cs_rgb(), histogram_helper_cs_rgb_compensated(), IOP_CS_LAB, IOP_CS_LCH, IOP_CS_RAW, IOP_CS_RGB, IOP_CS_RGB_DISPLAY, IS_NULL_PTR, k, dt_dev_histogram_collection_params_t::roi, and dt_histogram_roi_t::width.
Referenced by _refresh_module_histogram().
|
inline |
Definition at line 72 of file common/histogram.c.
References dt_histogram_roi_t::crop_width, dt_histogram_roi_t::crop_x, histogram_helper_cs_RAW_helper_process_pixel_uint16(), i, dt_dev_histogram_collection_params_t::roi, and dt_histogram_roi_t::width.
Referenced by _deflicker_prepare_histogram().
| void dt_histogram_max_helper | ( | const dt_dev_histogram_stats_t *const | histogram_stats, |
| const dt_iop_colorspace_type_t | cst, | ||
| const dt_iop_colorspace_type_t | cst_to, | ||
| uint32_t ** | histogram, | ||
| uint32_t * | histogram_max | ||
| ) |
Definition at line 321 of file common/histogram.c.
References dt_dev_histogram_stats_t::bins_count, IOP_CS_LAB, IOP_CS_LCH, IOP_CS_RAW, IOP_CS_RGB, IOP_CS_RGB_DISPLAY, IS_NULL_PTR, and k.
Referenced by _refresh_module_histogram().
| void dt_histogram_worker | ( | dt_dev_histogram_collection_params_t *const | histogram_params, |
| dt_dev_histogram_stats_t * | histogram_stats, | ||
| const void *const | pixel, | ||
| uint32_t ** | histogram, | ||
| const dt_worker | Worker, | ||
| const dt_iop_order_iccprofile_info_t *const | profile_info | ||
| ) |
Definition at line 217 of file common/histogram.c.
References __OMP_PARALLEL_FOR__, dt_dev_histogram_collection_params_t::bins_count, dt_dev_histogram_stats_t::bins_count, dt_histogram_roi_t::crop_height, dt_histogram_roi_t::crop_width, dt_histogram_roi_t::crop_x, dt_histogram_roi_t::crop_y, double(), dt_free, dt_histogram_roi_t::height, k, dt_dev_histogram_collection_params_t::mul, n, omp_get_max_threads, omp_get_thread_num, dt_dev_histogram_stats_t::pixels, dt_dev_histogram_collection_params_t::roi, and dt_histogram_roi_t::width.
Referenced by _deflicker_prepare_histogram(), and dt_histogram_helper().
| typedef void | ( | (*)(const dt_dev_histogram_collection_params_t *const histogram_params, const void *pixel, uint32_t *histogram, int j, const dt_iop_order_iccprofile_info_t *const profile_info) | dt_worker | ) |