![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Macros | |
#define | DT_NOISE_PROFILE_VERSION 0 |
#define | _ERROR(...) |
Functions | |
static gboolean | dt_noiseprofile_verify (JsonParser *parser) |
JsonParser * | dt_noiseprofile_init (const char *alternative) |
int | is_member (gchar **names, char *name) |
static gint | _sort_by_iso (gconstpointer a, gconstpointer b) |
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 = {N_("generic poissonian"), "", "", 0, {0.0001f, 0.0001f, 0.0001}, {0.0f, 0.0f, 0.0f}} |
#define _ERROR | ( | ... | ) |
#define DT_NOISE_PROFILE_VERSION 0 |
|
static |
References dt_noiseprofile_t::iso.
Referenced by dt_noiseprofile_get_matching().
void dt_noiseprofile_free | ( | gpointer | data | ) |
convenience function to free a list of noiseprofiles
References dt_noiseprofile_t::maker, dt_noiseprofile_t::model, and dt_noiseprofile_t::name.
Referenced by dt_iop_denoiseprofile_get_auto_profile(), gui_cleanup(), and reload_defaults().
GList * dt_noiseprofile_get_matching | ( | const dt_image_t * | cimg | ) |
References _sort_by_iso(), dt_noiseprofile_t::a, dt_noiseprofile_t::b, dt_image_t::camera_maker, dt_image_t::camera_model, darktable, DT_DEBUG_CONTROL, dt_print(), is_member(), dt_noiseprofile_t::iso, dt_noiseprofile_t::maker, dt_noiseprofile_t::model, dt_noiseprofile_t::name, and darktable_t::noiseprofile_parser.
Referenced by dt_iop_denoiseprofile_get_auto_profile(), and reload_defaults().
JsonParser * dt_noiseprofile_init | ( | const char * | alternative | ) |
read the noiseprofile file once on startup (kind of)
References dt_control_log(), DT_DEBUG_CONTROL, dt_loc_get_datadir(), dt_loc_get_user_config_dir(), dt_noiseprofile_verify(), dt_print(), error(), and PATH_MAX.
Referenced by dt_init().
void dt_noiseprofile_interpolate | ( | const dt_noiseprofile_t *const | p1, |
const dt_noiseprofile_t *const | p2, | ||
dt_noiseprofile_t * | out | ||
) |
References dt_noiseprofile_t::a, dt_noiseprofile_t::b, and dt_noiseprofile_t::iso.
Referenced by dt_iop_denoiseprofile_get_auto_profile(), and reload_defaults().
|
static |
References _ERROR, DT_DEBUG_CONTROL, DT_NOISE_PROFILE_VERSION, dt_print(), is_member(), and TRUE.
Referenced by dt_noiseprofile_init().
int is_member | ( | gchar ** | names, |
char * | name | ||
) |
References name.
Referenced by dt_noiseprofile_get_matching(), and dt_noiseprofile_verify().
const dt_noiseprofile_t dt_noiseprofile_generic = {N_("generic poissonian"), "", "", 0, {0.0001f, 0.0001f, 0.0001}, {0.0f, 0.0f, 0.0f}} |
Referenced by dt_iop_denoiseprofile_get_auto_profile(), and reload_defaults().