/third_party/backends/backend/ |
H A D | hp3900_types.c | 192 typedef int SANE_Int; typedef 198 typedef SANE_Int USB_Handle; 207 SANE_Int dev_model; 214 SANE_Int dmabuffersize; 215 SANE_Int dmatransfersize; 216 SANE_Int dmasetlength; 217 SANE_Int usbtype; 219 SANE_Int calibrate; 220 SANE_Int wshading; 222 SANE_Int overdrive_fl [all...] |
H A D | hp3900_usb.c | 50 SANE_Int dataline_count = 0; 53 static SANE_Int usb_ctl_write (USB_Handle usb_handle, SANE_Int address, 54 SANE_Byte * buffer, SANE_Int size, 55 SANE_Int index); 56 static SANE_Int usb_ctl_read (USB_Handle usb_handle, SANE_Int address, 57 SANE_Byte * buffer, SANE_Int size, 58 SANE_Int index); 62 static SANE_Int IRead_Byt [all...] |
H A D | pieusb_scancmd.h | 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 y [all...] |
H A D | lexmark.h | 103 SANE_Int vendor_id; 104 SANE_Int product_id; 109 SANE_Int motor_type; 110 SANE_Int sensor_type; 111 SANE_Int HomeEdgePoint1; 112 SANE_Int HomeEdgePoint2; 120 SANE_Int id; 121 SANE_Int offset_startx; /* starting x for offset calibration */ 122 SANE_Int offset_endx; /* end x for offset calibration */ 123 SANE_Int offset_threshol [all...] |
H A D | rts8891_low.h | 108 SANE_Int xdpi_values[MAX_RESOLUTIONS]; /* possible x resolutions */ 109 SANE_Int ydpi_values[MAX_RESOLUTIONS]; /* possible y resolutions */ 111 SANE_Int max_xdpi; /* physical maximum x dpi */ 112 SANE_Int max_ydpi; /* physical maximum y dpi */ 113 SANE_Int min_ydpi; /* physical minimum y dpi */ 126 SANE_Int ld_shift_r; /* red */ 127 SANE_Int ld_shift_g; /* green */ 128 SANE_Int ld_shift_b; /* blue */ 131 SANE_Int sensor; 135 SANE_Int button [all...] |
H A D | rts88xx_lib.h | 93 void sanei_rts88xx_set_scan_area (SANE_Byte * reg, SANE_Int ystart, 94 SANE_Int yend, SANE_Int xstart, 95 SANE_Int xend); 100 SANE_Status sanei_rts88xx_read_reg (SANE_Int devnum, SANE_Int index, 106 SANE_Status sanei_rts88xx_read_data (SANE_Int devnum, SANE_Word * length, 112 SANE_Status sanei_rts88xx_write_reg (SANE_Int devnum, SANE_Int index, 120 SANE_Status sanei_rts88xx_write_regs (SANE_Int devnu [all...] |
H A D | pieusb_buffer.h | 57 SANE_Int data_file; /* associated file if memory mapped */ 61 SANE_Int width; /* number of pixels on a line */ 62 SANE_Int height; /* number of lines in buffer */ 63 SANE_Int colors; /* number of colors in a pixel */ 64 SANE_Int depth; /* number of bits of a color */ 65 SANE_Int packing_density; /* number of single color samples packed together */ 69 SANE_Int packet_size_bytes; /* number of bytes of a packet of samples = round_up(depth*packing_density/8) */ 70 SANE_Int line_size_packets; /* number of packets on a single color line = round-down((width+packing_density-1)/packing_density) */ 71 SANE_Int line_size_bytes; /* number of bytes on a single color line = line_size_packets*packet_size_bytes */ 72 SANE_Int image_size_byte [all...] |
H A D | canon.h | 106 SANE_Int Status; /* Auto Document Feeder Unit Status */ 107 SANE_Int Problem; /* ADF Problems list */ 108 SANE_Int Priority; /* ADF Priority setting */ 109 SANE_Int Feeder; /* ADF Feeder setting */ 117 SANE_Int Status; /* Transparency Unit Status */ 119 SANE_Int Transparency; /* TPU Transparency */ 120 SANE_Int ControlMode; /* TPU Density Control Mode */ 121 SANE_Int FilmType; /* TPU Film Type */ 231 SANE_Int xres_default; 232 SANE_Int yres_defaul [all...] |
H A D | mustek_pp_decl.h | 5 static SANE_Status debug_drv_init (SANE_Int options, SANE_String_Const port, 7 static void debug_drv_capabilities (SANE_Int info, SANE_String *model, 9 SANE_Int *maxres, SANE_Int *minres, 10 SANE_Int *maxhsize, SANE_Int *maxvsize, 11 SANE_Int *caps); 12 static SANE_Status debug_drv_open (SANE_String port, SANE_Int caps, SANE_Int *fd); 26 static SANE_Status cis600_drv_init (SANE_Int option [all...] |
H A D | microtek.h | 141 SANE_Int pattern_count; 154 SANE_Int max_x; /* pixels */ 155 SANE_Int max_y; /* pixels */ 158 SANE_Int cont_settings; 159 SANE_Int exp_settings; 161 SANE_Int base_resolution; /* dpi, guessed by backend, per model code */ 174 SANE_Int max_lookup_size; /* max. size of gamma LUT */ 175 SANE_Int max_gamma_bit_depth; /* max. bits of a gamma LUT element */ 176 SANE_Int gamma_size; /* size (bytes) of each LUT element */ 196 /* SANE_Int contrast_val [all...] |
H A D | umax_pp.h | 102 SANE_Int max_res; 103 SANE_Int ccd_res; 104 SANE_Int max_h_size; 105 SANE_Int max_v_size; 110 SANE_Int gray_gain; 111 SANE_Int red_gain; 112 SANE_Int blue_gain; 113 SANE_Int green_gain; 114 SANE_Int gray_offset; 115 SANE_Int red_offse [all...] |
H A D | hp3900_config.c | 43 static SANE_Int cfg_device_get(SANE_Int product, SANE_Int vendor); 46 static SANE_Int cfg_chipset_get(SANE_Int model, struct st_chip *chipset); 49 static SANE_Int cfg_chipset_model_get(SANE_Int device); 52 static SANE_Int cfg_buttons_get(struct st_buttons *reg); 55 static SANE_Int cfg_constrains_get(struct st_constrains *constrain); 58 static SANE_Int cfg_sscg_ge [all...] |
H A D | ricoh.h | 110 _lto2b(SANE_Int val, SANE_Byte *bytes) in _lto2b() 118 _lto3b(SANE_Int val, SANE_Byte *bytes) in _lto3b() 127 _lto4b(SANE_Int val, SANE_Byte *bytes) in _lto4b() 136 static inline SANE_Int 139 SANE_Int rv; in _2btol() 146 static inline SANE_Int 149 SANE_Int rv; in _3btol() 157 static inline SANE_Int 160 SANE_Int rv; in _4btol() 202 SANE_Int xres_defaul [all...] |
H A D | hp3900_rts8822.c | 80 static SANE_Int hp4370_prueba (struct st_device *dev); 84 static SANE_Int Calib_test (struct st_device *dev, SANE_Byte * Regs, 87 static SANE_Int Calib_BlackShading_jkd (struct st_device *dev, 100 static SANE_Int RTS_Scanner_Init (struct st_device *dev); 101 static SANE_Int RTS_Scanner_SetParams (struct st_device *dev, 103 static SANE_Int RTS_Scanner_StartScan (struct st_device *dev); 104 static void RTS_Scanner_StopScan (struct st_device *dev, SANE_Int wait); 108 static SANE_Int Load_Buttons (struct st_device *dev); 109 static SANE_Int Load_Chipset (struct st_device *dev); 110 static SANE_Int Load_Confi [all...] |
H A D | dc240.h | 89 SANE_Int fd; /* file descriptor to talk to it */ 96 SANE_Int pic_taken; 97 SANE_Int pic_left; 105 SANE_Int current_picture_number; /* picture being operated on */ 114 SANE_Int pic_taken; 115 SANE_Int pic_left; 118 SANE_Int low_res:1; 119 SANE_Int low_batt:1; 125 static SANE_Int get_info (DC240 *); 244 static SANE_Int init_dc24 [all...] |
H A D | mustek.h | 217 SANE_Int gamma_length; 219 SANE_Int bpl, lines; 223 SANE_Int bytes; 224 SANE_Int lines; 231 SANE_Int buffer_size; 232 SANE_Int max_buffer_size; 234 SANE_Int max_block_buffer_size; 235 SANE_Int lines_per_block; 240 SANE_Int firmware_format; 242 SANE_Int firmware_revision_syste [all...] |
H A D | ibm.h | 154 _lto2b(SANE_Int val, SANE_Byte *bytes) in _lto2b() 163 _lto3b(SANE_Int val, SANE_Byte *bytes) in _lto3b() 173 _lto4b(SANE_Int val, SANE_Byte *bytes) in _lto4b() 182 static inline SANE_Int 185 SANE_Int rv; in _2btol() 192 static inline SANE_Int 195 SANE_Int rv; in _3btol() 203 static inline SANE_Int 206 SANE_Int rv; in _4btol() 250 SANE_Int xres_defaul [all...] |
H A D | hs2p.h | 109 SANE_Int window_width; 110 SANE_Int window_height; 124 SANE_Int default_res; 125 SANE_Int default_xres; 126 SANE_Int default_yres; 127 SANE_Int default_imagecomposition; /* [lineart], halftone, grayscale, color */ 128 SANE_Int default_media; /* [flatbed], simplex, duplex */ 129 SANE_Int default_paper_size; /* [letter], legal, ledger, ... */ 130 SANE_Int default_brightness; 131 SANE_Int default_contras [all...] |
H A D | gphoto2.h | 91 SANE_Int speed; /* current port speed */ 97 SANE_Int pic_taken; 98 SANE_Int pic_left; 106 SANE_Int current_picture_number; /* picture being operated on */ 115 SANE_Int pic_taken; 116 SANE_Int pic_left; 119 SANE_Int low_res:1; 120 SANE_Int low_batt:1; 126 static SANE_Int get_info (void); 168 static SANE_Int init_gphoto [all...] |
H A D | kodakaio.h | 65 SANE_Int out_ep, in_ep; /* USB bulk out/in endpoints */ 67 SANE_Int optical_res; /* optical resolution */ 70 SANE_Int *res_list; /* list of resolutions */ 71 SANE_Int res_list_size; /* number of entries in this list */ 73 SANE_Int maxDepth; /* max. color depth */ 158 SANE_Int background[3]; /* stores background RGB components for padding */ 160 SANE_Int left, top; /* in optres units? */ 161 SANE_Int width, height; /* in optres units? */ 162 /* SANE_Int threshold; 0..255 for lineart*/ 165 SANE_Int data_le [all...] |
H A D | gt68xx_high.h | 62 SANE_Int width; /**< Image width */ 63 SANE_Int white_level; /**< Desired white level */ 65 SANE_Int white_count; /**< Number of white lines scanned */ 66 SANE_Int black_count; /**< Number of black lines scanned */ 69 SANE_Int min_clip_count; /**< Count of too low values */ 70 SANE_Int max_clip_count; /**< Count of too high values */ 79 SANE_Int dpi; /**< optical horizontal dpi used to 81 SANE_Int pixel_x0; /**< x start position used at calibration time */ 101 gt68xx_calibrator_new (SANE_Int width, 102 SANE_Int white_leve [all...] |
H A D | sharp.h | 175 SANE_Int xres_default; 176 SANE_Int yres_default; 177 SANE_Int x_default; 178 SANE_Int y_default; 179 SANE_Int bmu; 180 SANE_Int mud; 181 SANE_Int adf_fsu_installed; 241 SANE_Int buf_used; 242 SANE_Int buf_pos; 243 SANE_Int mode [all...] |
H A D | nec.h | 176 SANE_Int res_default; 177 SANE_Int x_default; 178 SANE_Int y_default; 179 SANE_Int bmu; 180 SANE_Int mud; 181 SANE_Int adf_fsu_installed; 232 SANE_Int buf_used; 233 SANE_Int buf_pos; 234 SANE_Int modes; 235 SANE_Int re [all...] |
/third_party/backends/include/sane/ |
H A D | sanei_usb.h | 297 sanei_usb_get_vendor_product (SANE_Int dn, SANE_Word * vendor, 312 sanei_usb_find_devices (SANE_Int vendor, SANE_Int product, 335 extern SANE_Status sanei_usb_open (SANE_String_Const devname, SANE_Int * dn); 349 extern void sanei_usb_set_endpoint (SANE_Int dn, SANE_Int ep_type, SANE_Int ep); 362 extern SANE_Int sanei_usb_get_endpoint (SANE_Int dn, SANE_Int ep_typ [all...] |
/third_party/backends/frontend/ |
H A D | jpegtopdf.h | 57 SANE_Int page;
58 SANE_Int show_page;
59 SANE_Int rotate;
63 SANE_Int file_size;
68 SANE_Int sane_pdf_open( void **ppw, FILE* fd );
71 SANE_Int sane_pdf_start_doc( void *pw );
72 SANE_Int sane_pdf_end_doc( void *pw );
74 SANE_Int sane_pdf_start_page( void *pw, SANE_Int w, SANE_Int [all...] |