Wykres commitów

48 Commity (f91c148d1ba9a12c6ad10c5b62227f5e9951e46e)

Autor SHA1 Wiadomość Data
Ralph Little d1940cf9b8 epjitsu: strncpy() compiler warning suppressed. 2019-12-21 21:44:39 -08:00
Olaf Meeuwissen f0f187f995 .editorconfig: trim trailing blank lines 2017-05-29 21:14:30 +09:00
Olaf Meeuwissen 23891a2646 .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
m. allan noah dcddb9505c epjitsu backend v31
- hardware gray support for fi-60F/65F (disabled pending calibration)
- merge fi-60F/65F settings
- improve desc, conf and man files
2017-04-11 21:32:37 -04:00
m. allan noah e6c8ea6f0b epjitsu backend v30 again
- typo in previous commit broke low resolution scans on fi-65F
2017-03-22 12:33:27 -04:00
m. allan noah a7fde11e15 epjitsu backend v30
- bump build number
2017-03-21 21:35:59 -04:00
m. allan noah 891e3984d0 epjitsu v30
- fix image truncation when using 150 DPI in Y direction
- add 200 and 400 DPI Y direction support for fi-60F/65F
2017-03-21 20:43:42 -04:00
m. allan noah eaa4d4407d epjitsu backend v29
- fix infinite loop when scaling in Y direction
2017-03-18 19:19:04 -04:00
m. allan noah 15e203de89 Various copyright comment updates 2016-02-23 21:11:00 -05:00
Olaf Meeuwissen e65fd1b4cb Fix "discards 'const' qualifier from pointer target type" warnings
The resources pointed to have been acquired by the backend.  It is safe
to cast away the 'const' qualifier when releasing these resources.
2015-11-11 22:41:22 +09:00
m. allan noah 0177d39642 epjitsu backend v28
call get_hardware_status before starting scan
2015-03-23 20:52:54 -04:00
m. allan noah 15deba5c57 epjitsu backend v27
- don't override br_x and br_y
- call change_params after changing page_width
2015-03-02 20:31:46 -05:00
m. allan noah 683f6d71f4 epjitsu backend v26
- add resolution scaling
- fix 150 dpi settings for fi-60F and fi-65F
- make adf_height_padding variable
- make white_factor variable
2014-07-02 09:48:55 -04:00
m. allan noah a7aa92f54d epjitsu backend v25
- initial support for fi-65F
- initial support for S1100
2014-06-12 21:25:14 -04:00
m. allan noah af80354325 epjitsu backend v24
enable fine calibration for S1300i 225 & 300 dpi, and S300 150 dpi
2014-06-01 08:31:21 -04:00
m. allan noah bac4009627 epjitsu backend v23
- add S1300i support
- fix buffer overruns in read_from_scanner
- set default page width
- simplified the 225x200 resolution code
2014-05-27 21:42:17 -04:00
Peter Marschall 2d438531b1 epjitsu.c: add/fix a few comments 2014-05-15 22:04:36 -04:00
Hiroshi Miura a4cff1c9e2 epjitsu: implement get_gcd
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura bc459dea9d epjitsu: ScanSnap S1100 support
Add S1100 support

The ideas and cmd data are comes from:
http://ubuntuforums.org/showthread.php?t=1678335

TBD: test on S1100, I don't have a machine.
2014-05-15 22:04:36 -04:00
Hiroshi Miura ceeb9bb2d3 epjitsu: refactor coarsecal()
Now refactoring coarsecal() for S1100 support.
it is carefully changed not to break S300/1300/1500.

the chunk come from http://ubuntuforums.org/showthread.php?t=1678335
2014-05-15 22:04:36 -04:00
Hiroshi Miura e6abe74b5c epjitsu: introduce object_position()
Rename ingest() to object_position()
now it can do both ingest and eject.
This is required by S1100 support.

chunk come from
http://ubuntuforums.org/showthread.php?t=1678335
2014-05-15 22:04:36 -04:00
Hiroshi Miura 2f7c6382f4 epjitsu: x,y_resolution difference treatment
ScanScanp has a resolution 225x200 in each model.

The function which treat it should use a mathematic theory.
Euclidean algorithm should be used to get GCD (Greatest Common Devisor)
for this calcuration.

This patch make a separate function that should be get_GCD and
simplize a logic in copy image function.

TBD: this don't have Euclidean algorithm. Just prepare for it.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura 25947781ec epjitsu: tl_y parameter support
The driver can cut top of image for padding.
We can also cut an ordered size at a top of image.
It make tl_y parameter works.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura 529a7611d2 epjitsu: skip top padding
The driver need a padding at top of page.
Because scansnap don't treat empty image
at the top of image that is generated when
loading paper, the driver cut top of page
in 1/2 inch.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura 5ab232d3a6 epjitsu: fix indent
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura f3d5455e9a epjitsu: optimize loop
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura 9f1542afc6 epjitsu: page width support
ScanSnap itself don't have a feature to
detect and scan area in demanded width.
Otherwise driver need to cut into proper width.

this introduce page_width parameter and facility
to cut image into page width.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura 8ef91bb06d epjitsu: unit convert macro
introducing macros converting between scanner unit
and inches each other.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
m. allan noah 583c345a39 epjitsu: comment changes, listed new models 2011-01-31 08:31:34 -05:00
m. allan noah ff048f4176 add three new SANE_VALUE macros and use mode name macros from saneopts.h 2010-02-10 23:48:21 -05:00
m. allan noah e4e9eedc7f enable translations of all static strings via SANE_I18N macro 2010-02-10 22:07:49 -05:00
m. allan noah fcc43f328c cleaned #include lines and copyrights. added new models. 2010-02-09 22:02:08 -05:00
Ilia Sotnikov 798c96412a Use own private function instead of roundf() 2009-10-03 13:25:05 +03:00
m. allan noah 6c13f7d522 Epjitsu backend v19, better calibration from Richard at fascinationsoftware dot com 2009-08-31 09:58:06 -04:00
chris@cnpbagwell.com 4d9e8138af standardize including local sane/ include files.
Source code was inconsistent on how they were referencing
include files in include/sane.  In certain cases, sane/sane.h
and sane/saneopts.h was really including external copies (with
some preprocessor implementations anyways).
2009-05-07 22:06:20 -05:00
m. allan noah 690f1670c3 dont export private symbols 2009-01-21 15:12:08 +00:00
m. allan noah 91598aa800 * backend/*.[ch]: nearly every backend used V_MAJOR
instead of SANE_CURRENT_MAJOR in sane_init()
* backend/snapscan.c: remove EXPECTED_VERSION check
since new SANE standard is forward compatible
2008-11-26 21:21:31 +00:00
m. allan noah 7fa6ae708c typo in comment 2008-10-03 16:20:36 +00:00
m. allan noah 9371a0c8fb * backend/epjitsu.[ch]: backend v17:
- increase scan height ~1/2 inch due to head offset
- change page length autodetection condition
2008-10-03 15:54:39 +00:00
m. allan noah 7274bfc500 * backend/epjitsu.[ch]: backend v16:
- split fill_frontback_buffers_S300 into 3 functions
- enable threshold_curve option
- add 1-D dynamic binary thresholding code
- remove y-resolution option
- pad 225x200 data to 255x225
2008-10-02 03:38:40 +00:00
m. allan noah 0bbf8bac04 2008-09-25 m. allan noah <kitno455 a t gmail d o t com>
* backend/epjitsu.[ch], backend/epjitsu-cmd.h: backend v 13, 14 and 15:
        - add working page-height control
        - add working brightness, contrast and threshold controls
        - add disabled threshold curve and geometry controls
        - move initialization code to sane_get_devices, for hotplugging
        - support S300 on USB power
        - support S300 225x200 and 600x600 scans
        - support for automatic paper length detection (parm.lines = -1)
        - expose hardware buttons/sensors as options for S300
        * doc/descriptions/epjitsu.desc: change S300 status to good
2008-09-25 03:15:49 +00:00
m. allan noah 2dc0cb38bd separate x-resolution from resolution, and update all backends that use
it, to prevent ui change
2008-07-26 03:53:44 +00:00
m. allan noah 8c2f857f39 backend v1.0.12: fix double free error 2008-04-29 00:57:26 +00:00
m. allan noah db29ded1d1 sanei_read_config has already cleaned string, fix bug #310597 2008-02-14 16:37:45 +00:00
m. allan noah 3f857c4c82 update backend as per m. ellert's FIRMWARE_DIRS/DATADIR suggestion 2007-12-30 01:31:13 +00:00
m. allan noah d3cc1b13a8 backend version 1.0.10- fix missing function 2007-12-19 22:14:19 +00:00
m. allan noah 38f280276d Updated company name. 2007-12-18 02:36:55 +00:00
m. allan noah 559212e96e Adding v1.0.9 of the epjitsu backend: supports Epson-based Fujitsu scanners,
currently the fi-60F flatbed and ScanSnap S300 duplex ADF machines
2007-12-18 02:02:51 +00:00