Wykres commitów

24 Commity (b0edb1cd99ad5438f1ae985749e2b8ba4b9a7ff7)

Autor SHA1 Wiadomość Data
Julien BLACHE c5ca46c2d1 Fix v4l build with libv4l 0.8.3+ 2011-02-16 19:37:43 +01:00
Julien BLACHE 3de5c87388 Convert v4l1 BGR data to RGB 2010-11-08 18:01:29 +01:00
Marc Deslauriers b5f4056635 Loop through the read buffers to avoid getting stale frames 2010-11-07 10:17:53 +01:00
Julien BLACHE ec46508258 Use libv4l (libv4l1) for v4l device access in the v4l backend. Gives us
limited v4l2 devices support for free through libv4l1/libv4l2/libv4lconvert.
2008-12-17 15:52:46 +00:00
Julien BLACHE 4930880e8f Unmap mapped buffer in sane_cancel(). 2008-12-17 15:20:31 +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 084a18b0c4 remove undocumented and otherwise unused SANE_CAP_ALWAYS_SETTABLE 2008-05-21 01:20:35 +00:00
Julien BLACHE 390e9b4884 backend/v4l.c: duplicate capability.name in attach() so that each device is listed with its actual name, not with the name of the last discovered device. Reported by Andreas Hartmann. 2005-04-28 21:18:41 +00:00
Henning Geinitz f75025e72b 64 bit fix from Frank Zago <fzago at austin dot rr dot com>. 2004-11-13 20:20:11 +00:00
Henning Geinitz 73b6b966b2 Used SANE_VALUE_SCAN_MODE_* constants. 2004-05-30 13:48:40 +00:00
Henning Geinitz 0777c60aa7 Don't include linux/videodev.h kernel header anymore. Use own defines
instead. Fixes bug #300324.
2003-12-21 22:51:42 +00:00
Henning Geinitz 5b6f9b8a5c Try to not include linux/videodev2.h to avoid compilation errors. 2003-11-16 18:00:17 +00:00
Henning Geinitz 0e70e29baf Moved union Option_Value from backend header files to sanei_backend.h. No need
to copy it over and over again. Changed header inclusion order in backend
files to include backend.h after sanei_backend.h. Based on a patch from stef
<stef-listes@wanadoo.fr>.
2003-09-12 16:10:33 +00:00
Henning Geinitz 991bd09675 Fixed PACKAGE_VERSION breakage. PACKAGE_VERSION was redefined by autoconf 2.5
with a different meaning. Use PACKAGE_STRING instead.
2002-11-29 18:19:58 +00:00
Henning Geinitz 8b0a038f61 Big clean up of Video for Linux backend. Removed old unused stuff from qcam
and others including unused options and variables concerning direct port
access. Removed wcam license (no "substantial portions of code" are used any
more). Removed unuesed headers. Made lots of global variables local. Lots of
checks for null pointer dereferences and errors when opening files or using
ioctl/mmap. Added option to select grey or color mode. Added support for
different channels. Fixed lots of options.  Made sure ioctls are only used
when necessary.  Used vendor == "Noname".  Added ??? comments for suspicious
code.  Lots of minor fixes and cleanup. Added version number: 1.0-2.
2002-08-29 19:34:53 +00:00
Henning Geinitz 2b54c3e7c4 Used GNU indent style. 2002-08-25 19:36:18 +00:00
Henning Geinitz 421fa4e12a Fixed device list. Added more verbose error output. Unified DBG
messages. Fixed depth option. Reordered options in init_options to reflect
real order. Added some markers (/* ??? */) for suspicious code.
2002-08-25 19:25:37 +00:00
Henning Geinitz 5cea47aafe Fixed some warnings.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-21 15:26:35 +00:00
Henning Geinitz 4caa8e7af5 Some variables haven't been static. sane_set_io_mode must return
SANE_STATUS_GOOD if non_blocking == SANE_FALSE.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-08 17:49:55 +00:00
Petter Reinholdtsen 7e318fb164 Get rid of small memory leak when using 'scanimage -L'. 2001-02-12 19:31:01 +00:00
Henning Geinitz 60362b0219 2001-01-21 Henning Meier-Geinitz <hmg@gmx.de>
* AUTHORS: Added Tom Martone.
	* PROJECTS: Removed bh (now included in sane).
	* README: Added entry for sane-bh(5).
	* TODO: Removed bh. Updated BearPaw entry. Added entry about v4l
	  problem.
	* backend/v4l.c: Changed comment as v4l is part of the sane package.
2001-01-21 11:49:10 +00:00
Petter Reinholdtsen a21b6eafcd Remove some compiler warnings. 2000-09-19 03:48:08 +00:00
Petter Reinholdtsen 7f1f08b1cc Remove X11 dependency. 2000-09-18 09:49:29 +00:00
Petter Reinholdtsen b4a1a513c9 Merge devel (v1.0.3) into head branch. 2000-08-12 15:11:46 +00:00