Lines Matching defs:Microtek_Scanner
254 typedef struct Microtek_Scanner { struct
255 struct Microtek_Scanner *next; /* for linked list */ argument
256 Microtek_Device *dev; /* raw device info */
258 SANE_Option_Descriptor sod[RNUM_OPTIONS]; /* option list for session */
259 Option_Value val[RNUM_OPTIONS]; /* option values for session */
262 SANE_Int *gray_lut;
263 SANE_Int *red_lut;
264 SANE_Int *green_lut;
265 SANE_Int *blue_lut;
267 SANE_Range res_range; /* range desc. for resolution */
268 SANE_Range exp_res_range; /* range desc. for exp. resolution */
275 SANE_Byte unit_type; /* pixels or 1/8" */
278 SANE_Byte res_type; /* 1% or 5% */
279 SANE_Bool midtone_support;
280 SANE_Int paper_length; /* whatever unit */
282 SANE_Bool do_clever_precal; /* calibrate scanner once, via fake scan */
283 SANE_Bool do_real_calib; /* calibrate via magic commands */
284 SANE_Bool calib_once; /* ...only calibrate magically once */
286 SANE_Bool allow_calibrate;
287 SANE_Bool onepass;
288 SANE_Bool prescan, allowbacktrack;
289 SANE_Bool reversecolors;
290 SANE_Bool fastprescan;
291 SANE_Int bits_per_color;
292 SANE_Int gamma_entries;
293 SANE_Int gamma_entry_size;
294 SANE_Int gamma_bit_depth;
297 SANE_Range gamma_entry_range;
298 SANE_Range contrast_range;
299 SANE_Range exposure_range;
302 SANE_Parameters params; /* format, lastframe, lines, depth, ppl, bpl */
303 SANE_Int x1; /* in 'units' */
304 SANE_Int y1;
305 SANE_Int x2;
306 SANE_Int y2;
311 SANE_Int mode;
316 SANE_Byte filter;
317 SANE_Bool onepasscolor, transparency, useADF;
318 SANE_Bool threepasscolor, expandedresolution;
319 SANE_Int resolution;
320 SANE_Byte resolution_code;
321 SANE_Byte exposure, contrast;
322 SANE_Byte pattern;
323 SANE_Byte velocity;
324 SANE_Byte shadow, highlight, midtone;
325 SANE_Byte bright_r, bright_g, bright_b; /* ??? XXXXXXXX signed char */
326 SANE_Bool multibit;
327 SANE_Byte color_seq;
334 SANE_Int line_format; /* specify how we need to repackage scanlines */
336 SANE_Int pixel_bpl; /* bytes per line, pixels */
337 SANE_Int header_bpl; /* bytes per line, headers */
338 SANE_Int ppl; /* pixels per line */
339 SANE_Int planes; /* color planes */
341 SANE_Bool doexpansion;
342 double exp_aspect;
343 SANE_Int dest_pixel_bpl;
344 SANE_Int dest_ppl;
346 SANE_Int unscanned_lines; /* lines still to be read from scanner */
347 SANE_Int undelivered_bytes; /* bytes still to be returned to frontend */
348 SANE_Int max_scsi_lines; /* max number of lines that fit in SCSI buffer */
373 } Microtek_Scanner; argument