Lines Matching defs:option
25 License, or (at your option) any later version.
92 - option RIF is available for 3091 and 3092
114 - Bugfix. Disable option gamma was for the fi-4120
131 - enabled option dropoutcolor for the fi-4530C, and fi-4x20C
187 - all sensors option names start with 'button-'
269 - updated overscan and bgcolor option descriptions
313 - inspect correct bool to enable prepick mode option
316 - use well-known option group strings from saneopts.h
320 - use sane 1.1.0 well-known option names for some buttons
345 - add endorser side option
362 - disable overscan option if vpd does not tell overscan size
439 - add side option to show which duplex image is being transferred
441 - add lowmemory option which makes duplex back buffer small too
505 - add hwdeskewcrop option, with fallback to software versions
533 - add swskip option
543 - add adv_paper_protect option
559 - add offtimer option for more recent scanners
586 - hide compression-arg option when jpeg disabled
591 - add I18N macros to all option titles and descriptions
593 - remove ipc_mode option and variables
596 - fixes threshold option reported in #315069
628 . . - sane_get_option_descriptor() : get option information
629 . . - sane_control_option() : change option values
860 if ((strncmp ("option", lp, 6) == 0) && isspace (lp[6])) {
874 DBG (5, "sane_get_devices: config option \"buffer-size\" (%d) is < 4096, ignoring!\n", buf);
879 DBG (5, "sane_get_devices: config option \"buffer-size\" (%d) is > %d, warning!\n", buf, 64*1024);
886 DBG (5, "sane_get_devices: config option \"%s\" unrecognized - ignored.\n", lp);
1054 /* sets SANE option 'values' to good defaults */
2596 * This function presets the "option" array to blank
2847 * This function is used to access option descriptors. The function
2848 * returns the option descriptor for option number n of the device
2850 * valid option. Its value is an integer that specifies the number of
2852 * option 0). If n is not a valid option index, the function returns
2853 * NULL. The returned option descriptor is guaranteed to remain valid
2857 sane_get_option_descriptor (SANE_Handle handle, SANE_Int option)
2861 SANE_Option_Descriptor *opt = &s->opt[option];
2863 DBG (20, "sane_get_option_descriptor: %d\n", option);
2865 if ((unsigned) option >= NUM_OPTIONS)
2869 if(option==OPT_STANDARD_GROUP){
2878 if(option==OPT_SOURCE){
2916 if(option==OPT_MODE){
2945 if(option==OPT_RES){
2981 if(option==OPT_GEOMETRY_GROUP){
2990 if(option==OPT_TL_X){
3008 if(option==OPT_TL_Y){
3026 if(option==OPT_BR_X){
3044 if(option==OPT_BR_Y){
3062 if(option==OPT_PAGE_WIDTH){
3089 if(option==OPT_PAGE_HEIGHT){
3116 if(option==OPT_ENHANCEMENT_GROUP){
3125 if(option==OPT_BRIGHTNESS){
3148 if(option==OPT_CONTRAST){
3171 if(option==OPT_GAMMA){
3197 if(option==OPT_THRESHOLD){
3221 if(option==OPT_RIF){
3233 if(option==OPT_HT_TYPE){
3260 if(option==OPT_HT_PATTERN){
3283 if(option==OPT_OUTLINE){
3295 if(option==OPT_EMPHASIS){
3314 if(option==OPT_SEPARATION){
3326 if(option==OPT_MIRRORING){
3338 if(option==OPT_WL_FOLLOW){
3363 if(option==OPT_BP_FILTER){
3380 if(option==OPT_SMOOTHING){
3397 if(option==OPT_GAMMA_CURVE){
3420 if(option==OPT_THRESHOLD_CURVE){
3443 if(option==OPT_THRESHOLD_WHITE){
3460 if(option==OPT_NOISE_REMOVAL){
3477 if(option==OPT_MATRIX_5){
3494 if(option==OPT_MATRIX_4){
3511 if(option==OPT_MATRIX_3){
3528 if(option==OPT_MATRIX_2){
3548 if(option==OPT_VARIANCE){
3572 if(option==OPT_ADVANCED_GROUP){
3581 if(option==OPT_AWD){
3590 /* this option is useless by itself? */
3599 if(option==OPT_ALD){
3616 if(option==OPT_COMPRESS){
3647 if(option==OPT_COMPRESS_ARG){
3674 if(option==OPT_DF_ACTION){
3695 if(option==OPT_DF_SKEW){
3714 if(option==OPT_DF_THICKNESS){
3733 if(option==OPT_DF_LENGTH){
3752 if(option==OPT_DF_DIFF){
3777 if(option==OPT_DF_RECOVERY){
3797 if(option==OPT_PAPER_PROTECT){
3817 if(option==OPT_ADV_PAPER_PROT){
3837 if(option==OPT_STAPLE_DETECT){
3857 if(option==OPT_BG_COLOR){
3865 opt->desc = SANE_I18N ("Set color of background for scans. May conflict with overscan option");
3877 if(option==OPT_DROPOUT_COLOR){
3902 if(option==OPT_BUFF_MODE){
3922 if(option==OPT_PREPICK){
3942 if(option==OPT_OVERSCAN){
3950 opt->desc = SANE_I18N ("Collect a few mm of background on top side of scan, before paper enters ADF, and increase maximum scan area beyond paper size, to allow collection on remaining sides. May conflict with bgcolor option");
3962 if(option==OPT_SLEEP_TIME){
3981 if(option==OPT_OFF_TIME){
4000 if(option==OPT_DUPLEX_OFFSET){
4018 if(option==OPT_GREEN_OFFSET){
4036 if(option==OPT_BLUE_OFFSET){
4054 if(option==OPT_LOW_MEM){
4057 opt->desc = SANE_I18N ("Limit driver memory usage for use in embedded systems. Causes some duplex transfers to alternate sides on each call to sane_read. Value of option 'side' can be used to determine correct image. This option should only be used with custom front-end software.");
4070 if(option==OPT_SIDE){
4082 if(option==OPT_HWDESKEWCROP){
4094 if(option==OPT_SWDESKEW){
4106 if(option==OPT_SWDESPECK){
4127 if(option==OPT_SWCROP){
4139 if(option==OPT_SWSKIP){
4157 if(option==OPT_HALT_ON_CANCEL){
4169 if(option==OPT_ENDORSER_GROUP){
4181 if(option==OPT_ENDORSER){
4197 if(option==OPT_ENDORSER_BITS){
4223 if(option==OPT_ENDORSER_VAL){
4247 if(option==OPT_ENDORSER_STEP){
4271 if(option==OPT_ENDORSER_Y){
4297 if(option==OPT_ENDORSER_FONT){
4327 if(option==OPT_ENDORSER_DIR){
4352 if(option==OPT_ENDORSER_SIDE){
4378 if(option==OPT_ENDORSER_STRING){
4398 if(option==OPT_SENSOR_GROUP){
4406 if(option==OPT_TOP){
4418 if(option==OPT_A3){
4430 if(option==OPT_B4){
4442 if(option==OPT_A4){
4454 if(option==OPT_B5){
4466 if(option==OPT_HOPPER){
4478 if(option==OPT_OMR){
4490 if(option==OPT_ADF_OPEN){
4502 if(option==OPT_CARD_LOADED){
4514 if(option==OPT_SLEEP){
4526 if(option==OPT_SEND_SW){
4538 if(option==OPT_MANUAL_FEED){
4550 if(option==OPT_SCAN_SW){
4562 if(option==OPT_FUNCTION){
4574 if(option==OPT_INK_EMPTY){
4586 if(option==OPT_DOUBLE_FEED){
4598 if(option==OPT_ERROR_CODE){
4610 if(option==OPT_SKEW_ANGLE){
4622 if(option==OPT_INK_REMAIN){
4634 if(option==OPT_DENSITY_SW){
4646 if(option==OPT_DUPLEX_SW){
4662 * Gets or sets an option value.
4665 * This function is used to set or inquire the current value of option
4667 * the option is controlled is specified by parameter action. The
4669 * below. The value of the option is passed through argument val. It
4670 * is a pointer to the memory that holds the option value. The memory
4671 * area pointed to by v must be big enough to hold the entire option
4672 * value (determined by member size in the corresponding option
4676 * string option, the string pointed to by argument v may be shorter
4677 * since the backend will stop reading the option value upon
4683 sane_control_option (SANE_Handle handle, SANE_Int option,
4699 if (option >= NUM_OPTIONS) {
4700 DBG (5, "sane_control_option: %d too big\n", option);
4704 if (!SANE_OPTION_IS_ACTIVE (s->opt[option].cap)) {
4705 DBG (5, "sane_control_option: %d inactive\n", option);
4716 DBG (20, "sane_control_option: get value for '%s' (%d)\n", s->opt[option].name,option);
4718 switch (option) {
5225 ret = get_hardware_status(s,option);
5230 ret = get_hardware_status(s,option);
5235 ret = get_hardware_status(s,option);
5240 ret = get_hardware_status(s,option);
5245 ret = get_hardware_status(s,option);
5250 ret = get_hardware_status(s,option);
5255 ret = get_hardware_status(s,option);
5260 ret = get_hardware_status(s,option);
5265 ret = get_hardware_status(s,option);
5270 ret = get_hardware_status(s,option);
5275 ret = get_hardware_status(s,option);
5280 ret = get_hardware_status(s,option);
5285 ret = get_hardware_status(s,option);
5290 ret = get_hardware_status(s,option);
5295 ret = get_hardware_status(s,option);
5300 ret = get_hardware_status(s,option);
5305 ret = get_hardware_status(s,option);
5310 ret = get_hardware_status(s,option);
5315 ret = get_hardware_status(s,option);
5320 ret = get_hardware_status(s,option);
5325 ret = get_hardware_status(s,option);
5336 DBG (20, "sane_control_option: set value for '%s' (%d)\n", s->opt[option].name,option);
5343 if (!SANE_OPTION_IS_SETTABLE (s->opt[option].cap)) {
5348 status = sanei_constrain_value (s->opt + option, val, info);
5364 switch (option) {
5967 get_hardware_status (struct fujitsu *s, SANE_Int option)
5975 if (!option || !s->hw_data_avail[option-OPT_TOP]) {
6078 if(option)
6079 s->hw_data_avail[option-OPT_TOP] = 0;
7161 * option combinations can't handle it, so we make a big one */
7181 * option combinations don't need it, so we make a small one */
7375 /* don't really need to ask for adf if that's the only option */
9455 DBG (5, "Hardware error: IPC option error\n");
10015 * the user with an option to pick the IPC