![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Raw-detail mask production and transport helpers. More...
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | dt_dev_clear_rawdetail_mask (dt_dev_pixelpipe_t *pipe) |
| gboolean | dt_dev_write_rawdetail_mask (const dt_dev_pixelpipe_t *pipe, const dt_dev_pixelpipe_iop_t *piece, float *const rgb, const dt_iop_roi_t *const roi_in, const int mode) |
| float * | dt_dev_distort_detail_mask (const dt_dev_pixelpipe_t *pipe, float *src, const dt_iop_module_t *target_module) |
Raw-detail mask production and transport helpers.
These helpers manage the side-band detail mask written by rawprepare or demosaic and later consumed by blend operators. They are private implementation details of the pixelpipe and are included from pixelpipe_hb.c to keep raw-detail specific logic out of the main pipeline recursion code.
| void dt_dev_clear_rawdetail_mask | ( | dt_dev_pixelpipe_t * | pipe | ) |
References dt_pixelpipe_cache_free_align, and dt_dev_pixelpipe_t::rawdetail_mask_data.
Referenced by dt_dev_pixelpipe_cleanup(), dt_dev_write_rawdetail_mask(), and process().
| float * dt_dev_distort_detail_mask | ( | const dt_dev_pixelpipe_t * | pipe, |
| float * | src, | ||
| const dt_iop_module_t * | target_module | ||
| ) |
References dt_dev_pixelpipe_iop_t::data, DT_DEBUG_MASKS, DT_DEV_DETAIL_MASK_DEMOSAIC, DT_DEV_DETAIL_MASK_RAWPREPARE, dt_dev_pixelpipe_activemodule_disables_currentmodule(), dt_pixelpipe_cache_alloc_align_float_cache, dt_pixelpipe_cache_free_align, dt_vprint(), dt_dev_pixelpipe_iop_t::enabled, FALSE, dt_iop_roi_t::height, dt_dev_pixelpipe_t::nodes, dt_iop_module_t::op, dt_dev_pixelpipe_t::rawdetail_mask_data, dt_dev_pixelpipe_t::rawdetail_mask_roi, TRUE, dt_dev_pixelpipe_t::want_detail_mask, and dt_iop_roi_t::width.
| gboolean dt_dev_write_rawdetail_mask | ( | const dt_dev_pixelpipe_t * | pipe, |
| const dt_dev_pixelpipe_iop_t * | piece, | ||
| float *const | rgb, | ||
| const dt_iop_roi_t *const | roi_in, | ||
| const int | mode | ||
| ) |
References dt_iop_buffer_dsc_t::coeffs, dt_dev_pixelpipe_iop_t::dsc_in, DT_DEBUG_MASKS, dt_dev_clear_rawdetail_mask(), DT_DEV_DETAIL_MASK_RAWPREPARE, DT_DEV_DETAIL_MASK_REQUIRED, dt_masks_calc_rawdetail_mask(), dt_pixelpipe_cache_alloc_align_float_cache, dt_pixelpipe_cache_free_align, dt_print(), error(), FALSE, height, dt_iop_roi_t::height, dt_dev_pixelpipe_t::rawdetail_mask_data, dt_dev_pixelpipe_t::rawdetail_mask_roi, rgb, dt_iop_buffer_dsc_t::temperature, TRUE, dt_dev_pixelpipe_t::want_detail_mask, width, and dt_iop_roi_t::width.