• Home
  • Raw
  • Download

Lines Matching defs:Microtek2_Scanner

1018 typedef struct Microtek2_Scanner {  struct
1019 struct Microtek2_Scanner *next; /* for linked list */ argument
1020 Microtek2_Device *dev; /* raw device info */
1021 Option_Value val[NUM_OPTIONS + 1]; /* option values for session */
1022 SANE_Parameters params; /* format, lastframe, lines, depth, ppl, bpl */
1023 SANE_Option_Descriptor sod[NUM_OPTIONS + 1]; /* option list for session */
1025 uint8_t *gamma_table;
1026 uint8_t *shading_image; /* used for shading image */
1027 uint8_t *condensed_shading_w; /* used when a model uses "read */
1028 uint8_t *condensed_shading_d; /* control bit", stores the relevant */
1030 uint8_t *temporary_buffer; /* used when automatic adjustment */
1032 char *gamma_mode; /* none, linear or custom */
1048 SANE_Int mode;
1049 SANE_Int depth;
1050 SANE_Int x_resolution_dpi;
1051 SANE_Int y_resolution_dpi;
1052 SANE_Int x1_dots; /* x-position in units of optical resolution */
1053 SANE_Int y1_dots; /* same for y-position */
1054 SANE_Int width_dots; /* scan width in units of optical resolution */
1055 SANE_Int height_dots; /* same for height */
1056 uint8_t brightness_m;
1057 uint8_t contrast_m;
1058 uint8_t exposure_m;
1059 uint8_t shadow_m;
1060 uint8_t midtone_m;
1061 uint8_t highlight_m;
1062 uint8_t brightness_r;
1063 uint8_t contrast_r;
1064 uint8_t exposure_r;
1065 uint8_t shadow_r;
1066 uint8_t midtone_r;
1067 uint8_t highlight_r;
1068 uint8_t brightness_g;
1069 uint8_t contrast_g;
1070 uint8_t exposure_g;
1071 uint8_t shadow_g;
1072 uint8_t midtone_g;
1073 uint8_t highlight_g;
1074 uint8_t brightness_b;
1075 uint8_t contrast_b;
1076 uint8_t exposure_b;
1077 uint8_t shadow_b;
1078 uint8_t midtone_b;
1079 uint8_t highlight_b;
1080 uint8_t threshold;
1082 SANE_Bool use_external_ht;
1083 SANE_Byte internal_ht_index;
1084 uint8_t stay;
1085 uint8_t rawdat;
1086 SANE_Bool quality;
1087 SANE_Bool fastscan;
1088 SANE_Byte scan_source;
1089 uint8_t no_backtracking;
1090 uint8_t lightlid35;
1091 uint8_t auto_adjust;
1092 uint8_t calib_backend;
1093 uint8_t colorbalance_adjust;
1094 int current_pass; /* current pass if 3-pass scan */
1095 int lut_size; /* size of gamma lookup table */
1096 int lut_entry_size; /* size of one entry in lookup table */
1097 uint32_t lut_size_bytes; /* size of LUT in bytes */
1098 uint8_t word; /* word transfer, used in some read cmds */
1104 uint8_t current_color; /* for gamma calc. and 3-pass scanners */
1105 uint8_t current_read_color; /* dto, for RI and RIS */
1106 uint8_t dark; /* is 1 for reading dark shading */
1107 uint32_t ppl; /* pixels per line as returned by RII */
1108 uint32_t bpl; /* bytes per line as returned by RII */
1109 uint32_t remaining_bytes; /* remaining bytes as returned by RII */
1110 uint32_t real_remaining_bytes;/* bytes to transfer to the frontend */
1111 uint32_t real_bpl; /* bpl to transfer to the frontend */
1112 SANE_Int src_remaining_lines; /* remaining lines to read */
1113 SANE_Int src_lines_to_read; /* actual number of lines read */
1114 SANE_Int src_max_lines; /* maximum number of lines that fit */
1117 int bits_per_pixel_in; /* bits per pixel transferred from scanner */
1118 int bits_per_pixel_out; /* bits per pixel transf. to frontend */
1119 uint32_t src_buffer_size; /* size of the buffer */
1120 int transfer_length; /* transfer length for RI command */
1121 uint8_t balance[3]; /* user provided balance factor for */
1123 struct {
1147 } Microtek2_Scanner; argument