Lines Matching refs:D_max
93 float D_max; /* max density of film member
128 GtkWidget *D_max; member
190 float D_max; // max density of film in legacy_params() member
220 n->D_max = o->D_max; in legacy_params()
240 for(size_t c = 0; c < 4; c++) d->wb_high[c] = p->wb_high[c] / p->D_max; in commit_params()
367 .D_max = 1.6f, in init_presets()
382 .D_max = 2.2f, in init_presets()
643 p->D_max = v_maxf(RGB); in apply_auto_Dmax()
646 dt_bauhaus_slider_set(g->D_max, p->D_max); in apply_auto_Dmax()
662 RGB[c] = log10f(p->Dmin[c] / fmaxf(self->picked_color_max[c], THRESHOLD)) / p->D_max; in apply_auto_offset()
685 RGB_min[c] = log10f(p->Dmin[c] / fmaxf(self->picked_color[c], THRESHOLD)) / p->D_max; in apply_auto_WB_low()
711 …>offset * p->wb_low[c] - log10f(p->Dmin[c] / fmaxf(self->picked_color[c], THRESHOLD)) / p->D_max)); in apply_auto_WB_high()
739 RGB[c] *= p->wb_high[c] / p->D_max; in apply_auto_black()
765 RGB[c] *= p->wb_high[c] / p->D_max; in apply_auto_exposure()
791 else if(picker == g->D_max) in color_picker_apply()
866 …g->D_max = dt_color_picker_new(self, DT_COLOR_PICKER_AREA, dt_bauhaus_slider_from_params(self, "D_… in gui_init()
867 dt_bauhaus_slider_set_format(g->D_max, "%.2f dB"); in gui_init()
868 …gtk_widget_set_tooltip_text(g->D_max, _("maximum density of the film, corresponding to white after… in gui_init()
1062 dt_bauhaus_slider_set(g->D_max, p->D_max); in gui_update()