Home
last modified time | relevance | path

Searched refs:OPT_CONTR_ADJUST (Results 1 - 2 of 2) sorted by relevance

/third_party/backends/backend/
H A Ds9036.c284 SANE_Bool auto_contr = !(s->opt[OPT_CONTR_ADJUST].cap & SANE_CAP_INACTIVE); in set_window()
296 int contr_adjust = auto_contr ? (256 - s->val[OPT_CONTR_ADJUST]) % 256 : 0; in set_window()
804 s->opt[OPT_CONTR_ADJUST].name = "adjust-contr"; in init_options()
805 s->opt[OPT_CONTR_ADJUST].title = "Automatic contrast adjust"; in init_options()
806 s->opt[OPT_CONTR_ADJUST].desc = "Controls the automatic contrast of the " in init_options()
808 s->opt[OPT_CONTR_ADJUST].type = SANE_TYPE_INT; in init_options()
809 s->opt[OPT_CONTR_ADJUST].cap |= SANE_CAP_INACTIVE; in init_options()
810 s->opt[OPT_CONTR_ADJUST].unit = SANE_UNIT_NONE; in init_options()
811 s->opt[OPT_CONTR_ADJUST].constraint_type = SANE_CONSTRAINT_RANGE; in init_options()
812 s->opt[OPT_CONTR_ADJUST] in init_options()
[all...]
H A Ds9036.h41 OPT_CONTR_ADJUST, enumerator

Completed in 3 milliseconds