Lines Matching refs:SANE_Int
55 * 2-byte short ints are represented by 4-byte SANE_Int types
66 SANE_Int maxResolutionX; /* 7200 maximum scan resolution in x direction */
67 SANE_Int maxResolutionY; /* 7200 maximum scan resolution in y direction */
68 SANE_Int maxScanWidth; /* 10680 flatbed_max_scan_width (& calibration block size) */
69 SANE_Int maxScanHeight; /* 6888 flatbed_max_scan_height */
92 SANE_Int previewScanResolution; /* 0x2c01 = 300 fast preview scan resolution */
101 SANE_Int maximumExposure; /* 0xc409 = 2500 (units?) */
102 SANE_Int minimumExposure; /* 0x6400 = 100 (units?) */
103 SANE_Int x0; /* 0xd002 = 720 transparency top left x */
104 SANE_Int y0; /* 0x8604 = 1158 transparency top left y */
105 SANE_Int x1; /* 0xbc10 = 4284 transparency bottom right x */
106 SANE_Int y1; /* 0xc015 = 5568 transparency bottom right y */
107 SANE_Int model; /* 0x3000 => model number */
108 /* SANE_Int div_118; 0x0000 meaning? */
133 SANE_Int width; /* Number of pixels on a scan line */
134 SANE_Int lines; /* Number of lines in the scan. Value depends on color format, see Pieusb_Mode. */
135 SANE_Int bytes; /* Number of bytes on a scan line. Value depends on color format. */
138 SANE_Int period; /* Seems to be unused */
139 SANE_Int scsiTransferRate; /* Don't use, values cannot be trusted */
140 SANE_Int availableLines; /* The number of currently available scanned lines. Value depends on color format. Returns a value >0 if PARAM is called while scanning is in progress */
146 SANE_Int resolution; /* in dpi */
189 SANE_Int saturationLevel[3];
194 SANE_Int exposureTime[4];
214 SANE_Int minimumExposureTime;
221 /* SANE_Int exposureTimeIR; */
228 SANE_Int exposureTime[4]; /* => Pieusb_Settings.exposureTime */
237 SANE_Int code; /* 0x91 */
242 SANE_Int index; /* scan frame index (0-7) */
243 SANE_Int x0; /* top left, is origin */
244 SANE_Int y0;
245 SANE_Int x1; /* bottom right */
246 SANE_Int y1;
250 SANE_Int filter; /* color mask 0x02, 0x04 or 0x08 for R, G, B */
251 SANE_Int value; /* relative exposure time 0 - 100 */
255 SANE_Int code; /* 0x93 */
256 SANE_Int size; /* number of bytes in rest of structure */
261 SANE_Int filter; /* color mask 0x02, 0x04 or 0x08 for R, G, B */
262 SANE_Int value; /* 0-100 */
266 SANE_Int code; /* 0x94 */
267 SANE_Int size; /* number of bytes in rest of structure */
276 SANE_Int pixelsPerLine; /* 0x14dc = 5340 */
282 SANE_Int size; /* number of bytes in rest of structure (0x1c=28) */
285 SANE_Int div_6; /* 0x0004, meaning not clear */
322 void sanei_pieusb_cmd_slide(SANE_Int device_number, slide_action action, struct Pieusb_Command_Status *status);
326 void sanei_pieusb_cmd_test_unit_ready(SANE_Int device_number, struct Pieusb_Command_Status *status);
328 void sanei_pieusb_cmd_get_sense(SANE_Int device_number, struct Pieusb_Sense* sense, struct Pieusb_Command_Status *status, PIEUSB_Status *ret);
330 void sanei_pieusb_cmd_get_halftone_pattern(SANE_Int device_number, SANE_Int index, struct Pieusb_Halftone_Pattern* pattern, struct Pieusb_Command_Status *status);
331 void sanei_pieusb_cmd_set_halftone_pattern(SANE_Int device_number, SANE_Int index, struct Pieusb_Halftone_Pattern* pattern, struct Pieusb_Command_Status *status);
333 void sanei_pieusb_cmd_get_scan_frame(SANE_Int device_number, SANE_Int index, struct Pieusb_Scan_Frame* frame, struct Pieusb_Command_Status *status);
334 void sanei_pieusb_cmd_set_scan_frame(SANE_Int device_number, SANE_Int index, struct Pieusb_Scan_Frame* frame, struct Pieusb_Command_Status *status);
336 void sanei_pieusb_cmd_17(SANE_Int device_number, SANE_Int value, struct Pieusb_Command_Status *status);
338 void sanei_pieusb_cmd_get_exposure_time(SANE_Int device_number, SANE_Int colorbits, struct Pieusb_Exposure_Time* time, struct Pieusb_Command_Status *status);
339 void sanei_pieusb_cmd_set_exposure_time(SANE_Int device_number, struct Pieusb_Exposure_Time* time, struct Pieusb_Command_Status *status);
341 void sanei_pieusb_cmd_get_highlight_shadow(SANE_Int device_number, SANE_Int colorbits, struct Pieusb_Highlight_Shadow* hgltshdw, struct Pieusb_Command_Status *status);
342 void sanei_pieusb_cmd_set_highlight_shadow(SANE_Int device_number, struct Pieusb_Highlight_Shadow* hgltshdw, struct Pieusb_Command_Status *status);
344 void sanei_pieusb_cmd_get_shading_parms(SANE_Int device_number, struct Pieusb_Shading_Parameters_Info* shading, struct Pieusb_Command_Status *status);
345 void sanei_pieusb_cmd_get_scanned_lines(SANE_Int device_number, SANE_Byte* data, SANE_Int lines, SANE_Int size, struct Pieusb_Command_Status *status);
347 void sanei_pieusb_cmd_get_ccd_mask(SANE_Int device_number, SANE_Byte* mask, SANE_Int mask_size, struct Pieusb_Command_Status *status);
348 void sanei_pieusb_cmd_set_ccd_mask(SANE_Int device_number, SANE_Byte colorbits, SANE_Byte* mask, SANE_Int mask_size, struct Pieusb_Command_Status *status);
351 void cmdPrepareHalftonePattern(SANE_Int device_number, SANE_Int index, struct Pieusb_Command_Status *status);
352 void cmdPrepareScanFrame(SANE_Int device_number, SANE_Int index, struct Pieusb_Command_Status *status);
353 void cmdPrepareRelativeExposureTime(SANE_Int device_number, SANE_Int colorbits, struct Pieusb_Command_Status *status);
354 void cmdPrepareHighlightShadow(SANE_Int device_number, SANE_Int colorbits, struct Pieusb_Command_Status *status);
355 void cmdPrepareShadingParameters(SANE_Int device_number, struct Pieusb_Command_Status *status);
358 void sanei_pieusb_cmd_get_parameters(SANE_Int device_number, struct Pieusb_Scan_Parameters* parameters, struct Pieusb_Command_Status *status);
360 void sanei_pieusb_cmd_inquiry(SANE_Int device_number, struct Pieusb_Scanner_Properties* inq, SANE_Byte size, struct Pieusb_Command_Status *status);
362 void sanei_pieusb_cmd_get_mode(SANE_Int device_number, struct Pieusb_Mode* mode, struct Pieusb_Command_Status *status);
363 void sanei_pieusb_cmd_set_mode(SANE_Int device_number, struct Pieusb_Mode* mode, struct Pieusb_Command_Status *status);
365 void sanei_pieusb_cmd_start_scan(SANE_Int device_number, struct Pieusb_Command_Status *status);
366 void sanei_pieusb_cmd_stop_scan(SANE_Int device_number, struct Pieusb_Command_Status *status);
368 void sanei_pieusb_cmd_set_scan_head(SANE_Int device_number, SANE_Int mode, SANE_Int steps, struct Pieusb_Command_Status *status);
370 void sanei_pieusb_cmd_get_gain_offset(SANE_Int device_number, struct Pieusb_Settings* settings, struct Pieusb_Command_Status *status);
372 void sanei_pieusb_cmd_set_gain_offset(SANE_Int device_number, struct Pieusb_Settings* settings, struct Pieusb_Command_Status *status);
374 void sanei_pieusb_cmd_read_state(SANE_Int device_number, struct Pieusb_Scanner_State* state, struct Pieusb_Command_Status *status);