Home
last modified time | relevance | path

Searched refs:OPT_DEPTH (Results 1 - 13 of 13) sorted by relevance

/third_party/backends/backend/
H A Dst400.c349 scsi_cmd.halftone = (dev->val[OPT_DEPTH] == 1) ? 0 : 2; in st400_set_window()
350 scsi_cmd.bitsperpixel = dev->val[OPT_DEPTH]; in st400_set_window()
835 dev->val[OPT_DEPTH] = dev->opt[OPT_DEPTH].constraint.word_list[1]; in st400_reset_options()
886 dev->opt[OPT_DEPTH].name = SANE_NAME_BIT_DEPTH; in st400_init_options()
887 dev->opt[OPT_DEPTH].title = SANE_TITLE_BIT_DEPTH; in st400_init_options()
888 dev->opt[OPT_DEPTH].desc = SANE_DESC_BIT_DEPTH; in st400_init_options()
889 dev->opt[OPT_DEPTH].type = SANE_TYPE_INT; in st400_init_options()
890 dev->opt[OPT_DEPTH].unit = SANE_UNIT_BIT; in st400_init_options()
891 dev->opt[OPT_DEPTH] in st400_init_options()
[all...]
H A Ds9036.c358 s->val[OPT_DEPTH], s->val[OPT_RESOLUTION], in set_window()
387 cmd.wd.image_comp = (s->val[OPT_DEPTH] == 1) ? 0 : 2; in set_window()
388 cmd.wd.bpp = s->val[OPT_DEPTH]; in set_window()
394 cmd.wd.null_eins = (s->val[OPT_DEPTH] == 1) ? 0 : 1; in set_window()
395 cmd.wd.eins_null = (s->val[OPT_DEPTH] == 1) ? 1 : 0; in set_window()
696 s->opt[OPT_DEPTH].name = SANE_NAME_BIT_DEPTH; in init_options()
697 s->opt[OPT_DEPTH].title = SANE_TITLE_BIT_DEPTH; in init_options()
698 s->opt[OPT_DEPTH].desc = SANE_DESC_BIT_DEPTH; in init_options()
699 s->opt[OPT_DEPTH].type = SANE_TYPE_INT; in init_options()
700 s->opt[OPT_DEPTH] in init_options()
[all...]
H A Dqcam.c473 switch (s->val[OPT_DEPTH].w) in qc_setscanmode()
551 switch (s->val[OPT_DEPTH].w) in qc_readbytes()
593 switch (s->val[OPT_DEPTH].w) in qc_readbytes()
639 s->val[OPT_DEPTH].w); in qc_readbytes()
918 switch (s->val[OPT_DEPTH].w) in reader_process()
932 s->val[OPT_DEPTH].w); in reader_process()
1275 s->opt[OPT_DEPTH].name = SANE_NAME_BIT_DEPTH; in init_options()
1276 s->opt[OPT_DEPTH].title = "Pixel depth"; in init_options()
1277 s->opt[OPT_DEPTH].desc = "Number of bits per pixel."; in init_options()
1278 s->opt[OPT_DEPTH] in init_options()
[all...]
H A Dcanon_pp.c781 case OPT_DEPTH: in sane_control_option()
832 case OPT_DEPTH: in sane_control_option()
973 params->depth = cs->vals[OPT_DEPTH] ? 16 : 8; in sane_get_parameters()
1220 if (cs->vals[OPT_DEPTH] == 0) in sane_read()
1295 if (cs->vals[OPT_DEPTH] == 0) in sane_read()
1646 cs->opt[OPT_DEPTH].type = SANE_TYPE_STRING; in init_device()
1647 cs->opt[OPT_DEPTH].size = 20; in init_device()
1648 cs->opt[OPT_DEPTH].cap |= SANE_CAP_EMULATED; in init_device()
1649 cs->opt[OPT_DEPTH].constraint_type = SANE_CONSTRAINT_STRING_LIST; in init_device()
1650 cs->opt[OPT_DEPTH] in init_device()
[all...]
H A Dmustek_pp.c456 hndl->opt[OPT_DEPTH].name = SANE_NAME_BIT_DEPTH; in init_options()
457 hndl->opt[OPT_DEPTH].title = SANE_TITLE_BIT_DEPTH; in init_options()
458 hndl->opt[OPT_DEPTH].desc = in init_options()
461 hndl->opt[OPT_DEPTH].type = SANE_TYPE_INT; in init_options()
462 hndl->opt[OPT_DEPTH].constraint_type = SANE_CONSTRAINT_WORD_LIST; in init_options()
463 hndl->opt[OPT_DEPTH].constraint.word_list = mustek_pp_depths; in init_options()
464 hndl->opt[OPT_DEPTH].unit = SANE_UNIT_BIT; in init_options()
465 hndl->opt[OPT_DEPTH].size = sizeof(SANE_Word); in init_options()
466 hndl->val[OPT_DEPTH].w = 8; in init_options()
469 hndl->opt[OPT_DEPTH] in init_options()
[all...]
H A Ds9036.h28 OPT_DEPTH, enumerator
H A Dcanon_pp.h75 #define OPT_DEPTH 3 macro
H A Dst400.h16 OPT_DEPTH, enumerator
H A Dqcam.h110 OPT_DEPTH, /* 4 or 6 (b&w) or 24 (color) */ enumerator
H A Depsonds.h78 OPT_DEPTH, enumerator
H A Dmustek_pp.h207 OPT_DEPTH, enumerator
H A Depsonds.c1942 s->opt[OPT_DEPTH].name = SANE_NAME_BIT_DEPTH; in init_options()
1943 s->opt[OPT_DEPTH].title = SANE_TITLE_BIT_DEPTH; in init_options()
1944 s->opt[OPT_DEPTH].desc = SANE_DESC_BIT_DEPTH; in init_options()
1945 s->opt[OPT_DEPTH].type = SANE_TYPE_INT; in init_options()
1946 s->opt[OPT_DEPTH].unit = SANE_UNIT_BIT; in init_options()
1947 s->opt[OPT_DEPTH].constraint_type = SANE_CONSTRAINT_WORD_LIST; in init_options()
1948 s->opt[OPT_DEPTH].constraint.word_list = s->hw->depth_list; in init_options()
1949 s->val[OPT_DEPTH].w = s->hw->depth_list[1]; /* the first "real" element is the default */ in init_options()
1952 s->opt[OPT_DEPTH].cap |= SANE_CAP_INACTIVE; in init_options()
2264 case OPT_DEPTH in getvalue()
[all...]
H A Depsonds-ops.c218 s->params.depth = s->val[OPT_DEPTH].w; in eds_init_parameters()

Completed in 13 milliseconds