/third_party/backends/backend/ |
H A D | st400.c | 339 th = (double)maxval(dev->model->bits) * SANE_UNFIX(dev->val[OPT_THRESHOLD]) / 100.0; in st400_set_window() 836 dev->val[OPT_THRESHOLD] = SANE_FIX(50.0); in st400_reset_options() 837 dev->opt[OPT_THRESHOLD].cap &= ~SANE_CAP_INACTIVE; in st400_reset_options() 896 dev->opt[OPT_THRESHOLD].name = SANE_NAME_THRESHOLD; in st400_init_options() 897 dev->opt[OPT_THRESHOLD].title = SANE_TITLE_THRESHOLD; in st400_init_options() 898 dev->opt[OPT_THRESHOLD].desc = SANE_DESC_THRESHOLD; in st400_init_options() 899 dev->opt[OPT_THRESHOLD].type = SANE_TYPE_FIXED; in st400_init_options() 900 dev->opt[OPT_THRESHOLD].unit = SANE_UNIT_PERCENT; in st400_init_options() 901 dev->opt[OPT_THRESHOLD].size = sizeof(SANE_Word); in st400_init_options() 902 dev->opt[OPT_THRESHOLD] in st400_init_options() [all...] |
H A D | sm3840.c | 347 s->sm3840_params.threshold = s->value[OPT_THRESHOLD].w; in sane_get_parameters() 424 case OPT_THRESHOLD: in sane_control_option() 457 case OPT_THRESHOLD: in sane_control_option() 768 s->options_list[OPT_THRESHOLD].name = "threshold"; in initialize_options_list() 769 s->options_list[OPT_THRESHOLD].title = SANE_I18N ("Threshold"); in initialize_options_list() 770 s->options_list[OPT_THRESHOLD].desc = in initialize_options_list() 772 s->options_list[OPT_THRESHOLD].type = SANE_TYPE_INT; in initialize_options_list() 773 s->options_list[OPT_THRESHOLD].unit = SANE_UNIT_NONE; in initialize_options_list() 774 s->options_list[OPT_THRESHOLD].constraint_type = SANE_CONSTRAINT_RANGE; in initialize_options_list() 775 s->options_list[OPT_THRESHOLD] in initialize_options_list() [all...] |
H A D | abaton.c | 339 STORE8 (window + 15, s->val[OPT_THRESHOLD].w); in set_window() 589 ENABLE (OPT_THRESHOLD); in mode_update() 596 DISABLE (OPT_THRESHOLD); in mode_update() 603 DISABLE (OPT_THRESHOLD); in mode_update() 816 s->opt[OPT_THRESHOLD].name = SANE_NAME_THRESHOLD; in init_options() 817 s->opt[OPT_THRESHOLD].title = SANE_TITLE_THRESHOLD; in init_options() 818 s->opt[OPT_THRESHOLD].desc = SANE_DESC_THRESHOLD; in init_options() 819 s->opt[OPT_THRESHOLD].type = SANE_TYPE_INT; in init_options() 820 s->opt[OPT_THRESHOLD].unit = SANE_UNIT_NONE; in init_options() 821 s->opt[OPT_THRESHOLD] in init_options() [all...] |
H A D | snapscan-options.c | 872 po[OPT_THRESHOLD].name = SANE_NAME_THRESHOLD; in init_options() 873 po[OPT_THRESHOLD].title = SANE_TITLE_THRESHOLD; in init_options() 874 po[OPT_THRESHOLD].desc = SANE_DESC_THRESHOLD; in init_options() 875 po[OPT_THRESHOLD].type = SANE_TYPE_FIXED; in init_options() 876 po[OPT_THRESHOLD].unit = SANE_UNIT_PERCENT; in init_options() 877 po[OPT_THRESHOLD].size = sizeof (SANE_Int); in init_options() 878 po[OPT_THRESHOLD].cap = in init_options() 880 po[OPT_THRESHOLD].constraint_type = SANE_CONSTRAINT_RANGE; in init_options() 881 po[OPT_THRESHOLD].constraint.range = &positive_percent_range; in init_options() 1188 case OPT_THRESHOLD in sane_control_option() [all...] |
H A D | sp15c.c | 362 dev->opt[OPT_THRESHOLD].cap = SANE_CAP_SOFT_DETECT in sane_open() 540 case OPT_THRESHOLD: in sane_control_option() 619 scanner->opt[OPT_THRESHOLD].cap = SANE_CAP_SOFT_DETECT in sane_control_option() 631 scanner->opt[OPT_THRESHOLD].cap = SANE_CAP_INACTIVE; in sane_control_option() 641 scanner->opt[OPT_THRESHOLD].cap = SANE_CAP_INACTIVE; in sane_control_option() 651 scanner->opt[OPT_THRESHOLD].cap = SANE_CAP_INACTIVE; in sane_control_option() 661 scanner->opt[OPT_THRESHOLD].cap = SANE_CAP_INACTIVE; in sane_control_option() 745 case OPT_THRESHOLD: in sane_control_option() 1548 scanner->opt[OPT_THRESHOLD].name = SANE_NAME_THRESHOLD; in init_options() 1549 scanner->opt[OPT_THRESHOLD] in init_options() [all...] |
H A D | teco1.c | 907 dev->val[OPT_THRESHOLD].w * (GAMMA_LENGTH / 256); in teco_send_gamma() 1215 dev->opt[OPT_THRESHOLD].name = SANE_NAME_THRESHOLD; in teco_init_options() 1216 dev->opt[OPT_THRESHOLD].title = SANE_TITLE_THRESHOLD; in teco_init_options() 1217 dev->opt[OPT_THRESHOLD].desc = SANE_DESC_THRESHOLD; in teco_init_options() 1218 dev->opt[OPT_THRESHOLD].type = SANE_TYPE_INT; in teco_init_options() 1219 dev->opt[OPT_THRESHOLD].unit = SANE_UNIT_NONE; in teco_init_options() 1220 dev->opt[OPT_THRESHOLD].size = sizeof (SANE_Int); in teco_init_options() 1221 dev->opt[OPT_THRESHOLD].cap |= SANE_CAP_INACTIVE; in teco_init_options() 1222 dev->opt[OPT_THRESHOLD].constraint_type = SANE_CONSTRAINT_RANGE; in teco_init_options() 1223 dev->opt[OPT_THRESHOLD] in teco_init_options() [all...] |
H A D | xerox_mfp.c | 531 dev->val[OPT_THRESHOLD].w = SANE_FIX(50); in reset_options() 588 dev->opt[OPT_THRESHOLD].name = SANE_NAME_HIGHLIGHT; in init_options() 589 dev->opt[OPT_THRESHOLD].title = SANE_TITLE_THRESHOLD; in init_options() 590 dev->opt[OPT_THRESHOLD].desc = SANE_DESC_THRESHOLD; in init_options() 591 dev->opt[OPT_THRESHOLD].unit = SANE_UNIT_PERCENT; in init_options() 592 dev->opt[OPT_THRESHOLD].cap = SANE_CAP_SOFT_SELECT|SANE_CAP_SOFT_DETECT; in init_options() 593 dev->opt[OPT_THRESHOLD].constraint_type = SANE_CONSTRAINT_RANGE; in init_options() 594 dev->opt[OPT_THRESHOLD].constraint.range = &threshold; in init_options() 710 int threshold = SANE_UNFIX(dev->val[OPT_THRESHOLD].w); in fix_window() 717 dev->opt[OPT_THRESHOLD] in fix_window() [all...] |
H A D | teco3.c | 506 window[31] = dev->val[OPT_THRESHOLD].w; in teco_set_window() 1040 dev->opt[OPT_THRESHOLD].name = SANE_NAME_THRESHOLD; in teco_init_options() 1041 dev->opt[OPT_THRESHOLD].title = SANE_TITLE_THRESHOLD; in teco_init_options() 1042 dev->opt[OPT_THRESHOLD].desc = SANE_DESC_THRESHOLD; in teco_init_options() 1043 dev->opt[OPT_THRESHOLD].type = SANE_TYPE_INT; in teco_init_options() 1044 dev->opt[OPT_THRESHOLD].unit = SANE_UNIT_NONE; in teco_init_options() 1045 dev->opt[OPT_THRESHOLD].size = sizeof (SANE_Int); in teco_init_options() 1046 dev->opt[OPT_THRESHOLD].cap |= SANE_CAP_INACTIVE; in teco_init_options() 1047 dev->opt[OPT_THRESHOLD].constraint_type = SANE_CONSTRAINT_RANGE; in teco_init_options() 1048 dev->opt[OPT_THRESHOLD] in teco_init_options() [all...] |
H A D | sceptre.c | 799 dev->opt[OPT_THRESHOLD].name = SANE_NAME_THRESHOLD; in sceptre_init_options() 800 dev->opt[OPT_THRESHOLD].title = SANE_TITLE_THRESHOLD; in sceptre_init_options() 801 dev->opt[OPT_THRESHOLD].desc = SANE_DESC_THRESHOLD; in sceptre_init_options() 802 dev->opt[OPT_THRESHOLD].type = SANE_TYPE_INT; in sceptre_init_options() 803 dev->opt[OPT_THRESHOLD].unit = SANE_UNIT_NONE; in sceptre_init_options() 804 dev->opt[OPT_THRESHOLD].size = sizeof (SANE_Int); in sceptre_init_options() 805 dev->opt[OPT_THRESHOLD].cap |= SANE_CAP_INACTIVE; in sceptre_init_options() 806 dev->opt[OPT_THRESHOLD].constraint_type = SANE_CONSTRAINT_RANGE; in sceptre_init_options() 807 dev->opt[OPT_THRESHOLD].constraint.range = &threshold_range; in sceptre_init_options() 808 dev->val[OPT_THRESHOLD] in sceptre_init_options() [all...] |
H A D | ma1509.c | 605 s->opt[OPT_THRESHOLD].name = SANE_NAME_THRESHOLD; in init_options() 606 s->opt[OPT_THRESHOLD].title = SANE_TITLE_THRESHOLD; in init_options() 607 s->opt[OPT_THRESHOLD].desc = SANE_DESC_THRESHOLD; in init_options() 608 s->opt[OPT_THRESHOLD].type = SANE_TYPE_INT; in init_options() 609 s->opt[OPT_THRESHOLD].unit = SANE_UNIT_NONE; in init_options() 610 s->opt[OPT_THRESHOLD].constraint_type = SANE_CONSTRAINT_RANGE; in init_options() 611 s->opt[OPT_THRESHOLD].constraint.range = &u8_range; in init_options() 612 s->opt[OPT_THRESHOLD].cap |= SANE_CAP_INACTIVE; in init_options() 613 s->val[OPT_THRESHOLD].w = 128; in init_options() 776 *cp++ = (SANE_Byte) s->val[OPT_THRESHOLD] in set_window() [all...] |
H A D | mustek_usb2.c | 274 s->setpara.wLinearThreshold = s->val[OPT_THRESHOLD].w; in calc_parameters() 438 s->opt[OPT_THRESHOLD].name = SANE_NAME_THRESHOLD; in init_options() 439 s->opt[OPT_THRESHOLD].title = SANE_TITLE_THRESHOLD; in init_options() 440 s->opt[OPT_THRESHOLD].desc = SANE_DESC_THRESHOLD; in init_options() 441 s->opt[OPT_THRESHOLD].type = SANE_TYPE_INT; in init_options() 442 s->opt[OPT_THRESHOLD].unit = SANE_UNIT_NONE; in init_options() 443 s->opt[OPT_THRESHOLD].constraint_type = SANE_CONSTRAINT_RANGE; in init_options() 444 s->opt[OPT_THRESHOLD].constraint.range = &u8_range; in init_options() 445 s->opt[OPT_THRESHOLD].cap |= SANE_CAP_INACTIVE; in init_options() 446 s->val[OPT_THRESHOLD] in init_options() [all...] |
H A D | tamarack.c | 360 dwp.wdb.thresh = 1 + 2.55 * (SANE_UNFIX (s->val[OPT_THRESHOLD].w)); in scan_area_and_windows() 737 s->opt[OPT_THRESHOLD].name = "Threshold"; in init_options() 738 s->opt[OPT_THRESHOLD].title = "Threshold"; in init_options() 739 s->opt[OPT_THRESHOLD].desc = "Threshold: below this level is black, above is white" in init_options() 741 s->opt[OPT_THRESHOLD].type = SANE_TYPE_FIXED; in init_options() 742 s->opt[OPT_THRESHOLD].unit = SANE_UNIT_PERCENT; in init_options() 743 s->opt[OPT_THRESHOLD].constraint_type = SANE_CONSTRAINT_RANGE; in init_options() 744 s->opt[OPT_THRESHOLD].constraint.range = &abs_percentage_range; in init_options() 745 s->val[OPT_THRESHOLD].w = SANE_FIX(50); in init_options() 746 s->opt[OPT_THRESHOLD] in init_options() [all...] |
H A D | mustek_usb.c | 355 s->opt[OPT_THRESHOLD].name = SANE_NAME_THRESHOLD; in init_options() 356 s->opt[OPT_THRESHOLD].title = SANE_TITLE_THRESHOLD; in init_options() 357 s->opt[OPT_THRESHOLD].desc = SANE_DESC_THRESHOLD; in init_options() 358 s->opt[OPT_THRESHOLD].type = SANE_TYPE_INT; in init_options() 359 s->opt[OPT_THRESHOLD].unit = SANE_UNIT_NONE; in init_options() 360 s->opt[OPT_THRESHOLD].constraint_type = SANE_CONSTRAINT_RANGE; in init_options() 361 s->opt[OPT_THRESHOLD].constraint.range = &u8_range; in init_options() 362 s->opt[OPT_THRESHOLD].cap |= SANE_CAP_INACTIVE; in init_options() 363 s->val[OPT_THRESHOLD].w = 128; in init_options() 599 threshold = s->val[OPT_THRESHOLD] in fit_lines() [all...] |
H A D | apple.c | 676 STORE8 (WP + 23, s->val[OPT_THRESHOLD].w); in scan_area_and_windows() 1203 DISABLE (OPT_THRESHOLD); in mode_update() 1208 ENABLE (OPT_THRESHOLD); in mode_update() 1214 DISABLE (OPT_THRESHOLD); in mode_update() 1467 s->opt[OPT_THRESHOLD].name = SANE_NAME_THRESHOLD; in init_options() 1468 s->opt[OPT_THRESHOLD].title = SANE_TITLE_THRESHOLD; in init_options() 1469 s->opt[OPT_THRESHOLD].desc = SANE_DESC_THRESHOLD; in init_options() 1470 s->opt[OPT_THRESHOLD].type = SANE_TYPE_INT; in init_options() 1471 s->opt[OPT_THRESHOLD].unit = SANE_UNIT_NONE; in init_options() 1472 s->opt[OPT_THRESHOLD] in init_options() [all...] |
H A D | abaton.h | 77 OPT_THRESHOLD, enumerator
|
H A D | sm3840.h | 67 OPT_THRESHOLD, enumerator
|
H A D | st400.h | 17 OPT_THRESHOLD, enumerator
|
H A D | gt68xx.c | 683 s->opt[OPT_THRESHOLD].name = SANE_NAME_THRESHOLD; in init_options() 684 s->opt[OPT_THRESHOLD].title = SANE_TITLE_THRESHOLD; in init_options() 685 s->opt[OPT_THRESHOLD].desc = SANE_DESC_THRESHOLD; in init_options() 686 s->opt[OPT_THRESHOLD].type = SANE_TYPE_INT; in init_options() 687 s->opt[OPT_THRESHOLD].unit = SANE_UNIT_NONE; in init_options() 688 s->opt[OPT_THRESHOLD].constraint_type = SANE_CONSTRAINT_RANGE; in init_options() 689 s->opt[OPT_THRESHOLD].constraint.range = &u8_range; in init_options() 690 s->val[OPT_THRESHOLD].w = 128; in init_options() 691 DISABLE (OPT_THRESHOLD); in init_options() 1715 case OPT_THRESHOLD in sane_control_option() [all...] |
H A D | rts8891.h | 79 OPT_THRESHOLD, enumerator
|
H A D | epson2.c | 1191 s->opt[OPT_THRESHOLD].name = SANE_NAME_THRESHOLD; in init_options() 1192 s->opt[OPT_THRESHOLD].title = SANE_TITLE_THRESHOLD; in init_options() 1193 s->opt[OPT_THRESHOLD].desc = SANE_DESC_THRESHOLD; in init_options() 1195 s->opt[OPT_THRESHOLD].type = SANE_TYPE_INT; in init_options() 1196 s->opt[OPT_THRESHOLD].unit = SANE_UNIT_NONE; in init_options() 1197 s->opt[OPT_THRESHOLD].constraint_type = SANE_CONSTRAINT_RANGE; in init_options() 1198 s->opt[OPT_THRESHOLD].constraint.range = &u8_range; in init_options() 1199 s->val[OPT_THRESHOLD].w = 0x80; in init_options() 1202 s->opt[OPT_THRESHOLD].cap |= SANE_CAP_INACTIVE; in init_options() 1654 case OPT_THRESHOLD in getvalue() [all...] |
H A D | kodakaio.c | 1706 threshold = 255 - (int) (SANE_UNFIX(s->val[OPT_THRESHOLD].w) * 255.0 / 100.0 + 0.5); /* 255 - for the grey scale version */ in k_copy_image_data() 2762 s->opt[OPT_THRESHOLD].name = SANE_NAME_THRESHOLD; in init_options() 2763 s->opt[OPT_THRESHOLD].title = SANE_TITLE_THRESHOLD; in init_options() 2764 s->opt[OPT_THRESHOLD].desc = SANE_DESC_THRESHOLD; in init_options() 2765 s->opt[OPT_THRESHOLD].type = SANE_TYPE_FIXED; in init_options() 2766 s->opt[OPT_THRESHOLD].unit = SANE_UNIT_PERCENT; in init_options() 2767 s->opt[OPT_THRESHOLD].size = sizeof(SANE_Word); in init_options() 2768 s->opt[OPT_THRESHOLD].constraint_type = SANE_CONSTRAINT_RANGE; in init_options() 2769 s->opt[OPT_THRESHOLD].constraint.range = &percent_range_fixed; in init_options() 2770 s->val[OPT_THRESHOLD] in init_options() [all...] |
H A D | apple.h | 116 OPT_THRESHOLD, enumerator
|
H A D | ma1509.h | 118 OPT_THRESHOLD, enumerator
|
H A D | mustek_usb2.h | 81 OPT_THRESHOLD, enumerator
|
/third_party/backends/backend/escl/ |
H A D | escl.c | 1092 s->opt[OPT_THRESHOLD].name = SANE_NAME_THRESHOLD; in init_options() 1093 s->opt[OPT_THRESHOLD].title = SANE_TITLE_THRESHOLD; in init_options() 1094 s->opt[OPT_THRESHOLD].desc = SANE_DESC_THRESHOLD; in init_options() 1095 s->opt[OPT_THRESHOLD].type = SANE_TYPE_INT; in init_options() 1096 s->opt[OPT_THRESHOLD].unit = SANE_UNIT_NONE; in init_options() 1097 s->opt[OPT_THRESHOLD].constraint_type = SANE_CONSTRAINT_RANGE; in init_options() 1099 s->opt[OPT_THRESHOLD].constraint.range = &s->thresold_range; in init_options() 1100 s->val[OPT_THRESHOLD].w = s->scanner->threshold->value; in init_options() 1107 s->opt[OPT_THRESHOLD].constraint.range = ⦥ in init_options() 1108 s->val[OPT_THRESHOLD] in init_options() [all...] |