Lines Matching refs:option
13 License, or (at your option) any later version.
102 SANE_Status (*callback) (struct _SANE_Option * option, SANE_Handle handle,
115 This read-only option returns the number of options available for
116 the device. It should be the first option in the options array
133 optionNumOptionsCallback (SANE_Option * option, SANE_Handle handle,
136 (void) option;
149 This option lets the user force scanner calibration. Normally, this is
168 optionCalibrateCallback (SANE_Option * option, SANE_Handle handle,
172 (void) option; /* Eliminate warning about unused parameters */
193 This option lets the user select the scan resolution. The Canon fb630u
218 optionResolutionCallback (SANE_Option * option, SANE_Handle handle,
230 sanei_constrain_value (option->descriptor, (void *) &autoValue, info);
251 This option lets the user select a gray scale scan
268 optionGrayscaleCallback (SANE_Option * option, SANE_Handle handle,
272 (void) option; /* Eliminate warning about unused parameters */
315 optionAGainCallback (SANE_Option * option, SANE_Handle handle,
318 (void) option;
357 optionGammaCallback (SANE_Option * option, SANE_Handle handle,
360 (void) option;
400 This option controls the top-left-x corner of the scan
418 optionTopLeftXCallback (SANE_Option * option, SANE_Handle handle,
421 (void) option;
443 This option controls the top-left-y corner of the scan
461 optionTopLeftYCallback (SANE_Option * option, SANE_Handle handle,
465 (void) option;
486 This option controls the bot-right-x corner of the scan
505 optionBotRightXCallback (SANE_Option * option, SANE_Handle handle,
509 (void) option;
530 This option controls the bot-right-y corner of the scan
549 optionBotRightYCallback (SANE_Option * option, SANE_Handle handle,
553 (void) option;
574 The following array binds the option descriptors to
606 dispatch_control_option (SANE_Handle handle, SANE_Int option,
609 SANE_Option *op = so + option;
613 if (option < 0 || option >= NELEMS (so))
614 return SANE_STATUS_INVAL; /* Unknown option ... */
913 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
917 DBG (3, "sane_get_option_descriptor: option = %d\n", option);
918 if (option < 0 || option >= NELEMS (so))
920 return so[option].descriptor;
924 sane_control_option (SANE_Handle handle, SANE_Int option,
931 handle, option, action, value, (void *)info);
933 return dispatch_control_option (handle, option, action, value, info);