Lines Matching defs:option
10 option) any later version.
795 "acquired image. This option is active for automatic brightness only.";
807 " acquired image. This option is active for automatic contrast only.";
957 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
961 if ((unsigned) option >= NUM_OPTIONS)
963 return s->opt + option;
967 sane_control_option (SANE_Handle handle, SANE_Int option,
979 if (option >= NUM_OPTIONS || !SANE_OPTION_IS_ACTIVE (s->opt[option].cap))
985 switch (option)
998 *(SANE_Word *) val = s->val[option];
1008 if (!SANE_OPTION_IS_SETTABLE (s->opt[option].cap))
1011 status = sanei_constrain_value (s->opt + option, val, info);
1015 switch (option)
1028 s->val[option] = *(SANE_Word *) val;
1037 s->val[option] = *(SANE_Word *) val;
1046 s->val[option] = *(SANE_Word *) val;
1056 if (!SANE_OPTION_IS_SETTABLE (s->opt[option].cap))
1059 switch (option)