![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Include dependency graph for noiseprofiles.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | dt_noiseprofile_t |
Typedefs | |
| typedef struct dt_noiseprofile_t | dt_noiseprofile_t |
Functions | |
| void | dt_noiseprofile_set_path (const char *alternative) |
| void | dt_noiseprofile_cleanup (void) |
| GList * | dt_noiseprofile_get_matching (const dt_image_t *cimg) |
| void | dt_noiseprofile_free (gpointer data) |
| void | dt_noiseprofile_interpolate (const dt_noiseprofile_t *const p1, const dt_noiseprofile_t *const p2, dt_noiseprofile_t *out) |
Variables | |
| const dt_noiseprofile_t | dt_noiseprofile_generic |
| typedef struct dt_noiseprofile_t dt_noiseprofile_t |
drops the parsed profiles, if any.
Definition at line 269 of file noiseprofiles.c.
References _noiseprofiles_alternative, _noiseprofiles_parser, _noiseprofiles_parser_mutex, _noiseprofiles_tried, dt_free, and FALSE.
Referenced by dt_cleanup().
| void dt_noiseprofile_free | ( | gpointer | data | ) |
convenience function to free a list of noiseprofiles
Definition at line 425 of file noiseprofiles.c.
References dt_free, dt_free_align, dt_noiseprofile_t::maker, dt_noiseprofile_t::model, and dt_noiseprofile_t::name.
Referenced by _default_noise_profile(), _fetch_noise_profile(), dt_iop_denoiseprofile_get_auto_profile(), gui_cleanup(), and gui_update().
| GList * dt_noiseprofile_get_matching | ( | const dt_image_t * | cimg | ) |
read the noiseprofile file once on startup (kind of)
Definition at line 279 of file noiseprofiles.c.
References _get_parser_locked(), _noiseprofiles_parser_mutex, _sort_by_iso(), dt_noiseprofile_t::a, dt_noiseprofile_t::b, dt_image_t::camera_maker, dt_image_t::camera_model, dt_alloc_align(), FALSE, i, is_member(), IS_NULL_PTR, dt_noiseprofile_t::iso, k, dt_noiseprofile_t::maker, dt_noiseprofile_t::model, dt_noiseprofile_t::name, and TRUE.
Referenced by _default_noise_profile(), _fetch_noise_profile(), dt_iop_denoiseprofile_get_auto_profile(), and gui_update().
| void dt_noiseprofile_interpolate | ( | const dt_noiseprofile_t *const | p1, |
| const dt_noiseprofile_t *const | p2, | ||
| dt_noiseprofile_t * | out | ||
| ) |
Definition at line 434 of file noiseprofiles.c.
References dt_noiseprofile_t::a, dt_noiseprofile_t::b, dt_noiseprofile_t::iso, k, out, and t.
Referenced by _default_noise_profile(), _fetch_noise_profile(), dt_iop_denoiseprofile_get_auto_profile(), and gui_update().
| void dt_noiseprofile_set_path | ( | const char * | alternative | ) |
Point the module at an alternative noiseprofiles.json (–noiseprofiles). The file is parsed lazily, on the first dt_noiseprofile_get_matching() call – never at startup.
Definition at line 57 of file noiseprofiles.c.
References _noiseprofiles_alternative, and dt_free.
Referenced by dt_init().
|
extern |
Definition at line 39 of file noiseprofiles.c.
Referenced by _default_noise_profile(), _fetch_noise_profile(), dt_iop_denoiseprofile_get_auto_profile(), and gui_update().