/third_party/backends/backend/ |
H A D | agfafocus.c | 582 cmd.wd.ht_pattern = s->halftone; in set_window() 602 brightness, contrast, bright_adjust, contr_adjust, s->halftone, s->edge); in set_window() 1186 /* halftone patterns */ in init_options() 1682 const char *halftone; in sane_get_parameters() local 1695 halftone = s->val[OPT_HALFTONE_PATTERN].s; in sane_get_parameters() 1696 if (strcmp (halftone, "1") == 0 ) in sane_get_parameters() 1697 s->halftone = 1; in sane_get_parameters() 1698 else if (strcmp (halftone, "Dispersed dot 4x4") == 0) in sane_get_parameters() 1699 s->halftone = 2; in sane_get_parameters() 1700 else if (strcmp (halftone, "Roun in sane_get_parameters() [all...] |
H A D | sm3840_params.h | 48 int halftone; /* 0, 1 (also set gray=1) */ member
|
H A D | sm3840.c | 201 if (s->sm3840_params.lineart || s->sm3840_params.halftone) in sane_read() 207 if (s->sm3840_params.halftone) in sane_read() 337 s->sm3840_params.halftone = in sane_get_parameters() 349 if (s->sm3840_params.lineart || s->sm3840_params.halftone) in sane_get_parameters() 373 if (s->sm3840_params.lineart || s->sm3840_params.halftone) in sane_get_parameters()
|
H A D | agfafocus.h | 49 OPT_HALFTONE_PATTERN, /* halftone matrix */ 109 SANE_Int halftone; member
|
H A D | sharp.c | 3301 char *mode, *halftone, *gamma, *edge, *lightcolor, *adf_fsu; in sane_start() local 3437 halftone = s->val[OPT_HALFTONE].s; in sane_start() 3481 if (strcmp(halftone, M_BILEVEL) == 0) in sane_start() 3483 s->halftone = 1; in sane_start() 3486 else if (strcmp(halftone, M_BAYER) == 0) in sane_start() 3488 s->halftone = 2; in sane_start() 3491 else if (strcmp(halftone, M_SPIRAL) == 0) in sane_start() 3493 s->halftone = 3; in sane_start() 3496 else if (strcmp(halftone, M_DISPERSED) == 0) in sane_start() 3498 s->halftone in sane_start() [all...] |
H A D | hs2p.h | 127 SANE_Int default_imagecomposition; /* [lineart], halftone, grayscale, color */ 463 #define get_halftone_code_val(i) (halftone[get_halftone_code_id( (i) ) ].val) 466 #define get_halftone_pattern_val(i) (halftone[get_halftone_pattern_id( (i) ) ].val)
|
H A D | nec.c | 2828 char *mode, *halftone, *gamma, *edge, *lightcolor, *adf_fsu; in sane_start() local 2957 halftone = s->val[OPT_HALFTONE].s; in sane_start() 2989 /* halftone must not set to be zero PC-IN500 */ in sane_start() 2990 s->halftone = 0x01; in sane_start() 2995 if (strcmp(halftone, M_BILEVEL) == 0) in sane_start() 2998 s->halftone = 0x01; in sane_start() 3000 else if (strcmp(halftone, M_DITHER1) == 0) in sane_start() 3001 s->halftone = 0x01; in sane_start() 3002 else if (strcmp(halftone, M_DITHER2) == 0) in sane_start() 3003 s->halftone in sane_start() [all...] |
H A D | snapscan-options.c | 811 ps->halftone = DEFAULT_HALFTONE; in init_options() 852 /* no halftone matrices */ in init_options() 991 pss->halftone)) in control_options() 1026 pss->halftone)) in control_options() 1175 *(SANE_Bool *) v = pss->halftone; in sane_control_option() 1282 if (ht_cap && pss->halftone) in sane_control_option() 1319 if (ht_cap && pss->halftone) in sane_control_option() 1560 pss->halftone = *(SANE_Bool *) v; in sane_control_option() 1561 if (pss->halftone) in sane_control_option() 1599 "%s: internal error: given illegal halftone patter in sane_control_option() [all...] |
H A D | tamarack.h | 198 unsigned char halftone[2]; member
|
H A D | sp15c.h | 166 int halftone; member
|
H A D | umax.h | 275 int inquiry_exposure_time_h_min; /* exposure tine minimum for halftone */ 276 int inquiry_exposure_time_h_fb_def; /* exposure time default for halftone/flatbed */ 277 int inquiry_exposure_time_h_uta_def; /* exposure time default for halftone/uta */ 329 int inquiry_halftone; /* 1 = halftone mode supported */ 417 int brightness; /* (128) cbhs_range 0-255, halftone mode */ 418 int contrast; /* (128) cbhs_range 0-255, halftone-mode */ 425 int halftone; /* halftone pattern select */ member
|
H A D | sm3600.h | 110 typedef enum { color, gray, line, halftone } TMode; enumerator
|
H A D | snapscan.h | 290 OPT_HALFTONE, /* halftone flag */ 291 OPT_HALFTONE_PATTERN, /* halftone matrix */ 422 SANE_Bool halftone; /* halftone toggle */ member 423 SANE_String dither_matrix; /* the halftone dither matrix */
|
H A D | sharp.h | 253 SANE_Int halftone; member
|
H A D | nec.h | 243 SANE_Int halftone; member
|
H A D | sm3840_lib.c | 121 if (params->halftone) { in prepare_params() 123 params->halftone = 1; in prepare_params()
|
H A D | avision.h | 683 uint8_t halftone [2]; member
|
H A D | hs2p-scsi.h | 752 struct val_id halftone[] = { variable 905 * Image Composition field must be lineart or dithered halftone
|
H A D | st400.c | 318 SANE_Byte reserved5, halftone; /* ht: 0 or 2 */ in st400_set_window() member 349 scsi_cmd.halftone = (dev->val[OPT_DEPTH] == 1) ? 0 : 2; in st400_set_window()
|
H A D | snapscan.c | 120 #define HCFG_HT16 0x08 /* 16x16 halftone matrices */ 121 #define HCFG_HT8 0x04 /* 8x8 halftone matrices */ 125 #define HCFG_HT 0x0C /* support halftone matrices at all */ 1366 if (!pss->halftone) in download_gamma_tables() 1374 if (!pss->halftone) in download_gamma_tables() 1541 if ((pss->halftone) && in download_halftone_matrices() 1695 /* download the gamma and halftone tables */ in sane_start()
|
H A D | sm3600.c | 119 "halftone", NULL }; 694 case halftone: in sane_get_parameters()
|
H A D | sp15c.c | 365 dev->halftone = 0; in sane_open() 834 DBG (10, "\tbrightness (halftone) = %d\n", scanner->brightness); in sane_start() 1843 set_WD_halftone (buffer_r, s->halftone); in sp15c_set_window_param()
|
H A D | snapscan-scsi.c | 700 case DTC_HALFTONE: /* halftone mask */ in send() 716 DBG (DL_MAJOR_ERROR, "%s: bad halftone data type qualifier 0x%x\n", in send() 895 if (pss->halftone) in prepare_set_window() 896 pc[SET_WINDOW_P_COMPOSITION] = 0x04; /* halftone RGB */ in prepare_set_window() 905 if (pss->halftone) in prepare_set_window() 906 pc[SET_WINDOW_P_COMPOSITION] = 0x01; /* b&w halftone */ in prepare_set_window() 924 halftone is in prepare_set_window()
|
H A D | tamarack.c | 383 set_double (dwp.wdb.halftone, 1); /* XXX What does this do again ? */ in scan_area_and_windows() 716 " This option is active for lineart/halftone modes only. " in init_options() 728 " This option is active for lineart/halftone modes only. " in init_options()
|
H A D | umax.c | 235 #define CALIB_MODE_1110 SANE_I18N("Dithered/halftone black & white (halftone mode)") 477 DBG_inq_nz(" - halftone mode\n", dev->inquiry_halftone); in umax_print_inquiry() 587 DBG(DBG_inquiry,"halftone download available\n"); in umax_print_inquiry() 588 DBG(DBG_inquiry,"halftone pattern download max matrix %dx%d\n", in umax_print_inquiry() 599 DBG_inq_nz("built-in halftone patterns:\n", get_inquiry_halftones_supported(inquiry_block)); in umax_print_inquiry() 600 DBG_inq_nz("built-in halftone pattern size ............: 2x2\n", get_inquiry_halftones_2x2(inquiry_block)); in umax_print_inquiry() 601 DBG_inq_nz("built-in halftone pattern size ............: 4x4\n", get_inquiry_halftones_4x4(inquiry_block)); in umax_print_inquiry() 602 DBG_inq_nz("built-in halftone pattern size ............: 6x6\n", get_inquiry_halftones_6x6(inquiry_block)); in umax_print_inquiry() 603 DBG_inq_nz("built-in halftone patter in umax_print_inquiry() [all...] |