Home
last modified time | relevance | path

Searched refs:halftone (Results 1 - 25 of 27) sorted by relevance

12

/third_party/backends/backend/
H A Dagfafocus.c582 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 Dsm3840_params.h48 int halftone; /* 0, 1 (also set gray=1) */ member
H A Dsm3840.c201 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 Dagfafocus.h49 OPT_HALFTONE_PATTERN, /* halftone matrix */
109 SANE_Int halftone; member
H A Dsharp.c3301 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 Dhs2p.h127 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 Dnec.c2828 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 Dsnapscan-options.c811 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 Dtamarack.h198 unsigned char halftone[2]; member
H A Dsp15c.h166 int halftone; member
H A Dumax.h275 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 Dsm3600.h110 typedef enum { color, gray, line, halftone } TMode; enumerator
H A Dsnapscan.h290 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 Dsharp.h253 SANE_Int halftone; member
H A Dnec.h243 SANE_Int halftone; member
H A Dsm3840_lib.c121 if (params->halftone) { in prepare_params()
123 params->halftone = 1; in prepare_params()
H A Davision.h683 uint8_t halftone [2]; member
H A Dhs2p-scsi.h752 struct val_id halftone[] = { variable
905 * Image Composition field must be lineart or dithered halftone
H A Dst400.c318 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 Dsnapscan.c120 #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 Dsm3600.c119 "halftone", NULL };
694 case halftone: in sane_get_parameters()
H A Dsp15c.c365 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 Dsnapscan-scsi.c700 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 Dtamarack.c383 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 Dumax.c235 #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...]

Completed in 41 milliseconds

12