-
acf555f9
by Bernd Herd at 2025-11-18T14:43:32-06:00
sane.ds: Replace LocalLock/LocalUnlock with GlobalLock/GlobalUnlock.
The TWAIN Specification defines to use GlobalLock and GlobalUnlock, not LocalLock and LocalUnlock
-
db50439c
by Bernd Herd at 2025-11-18T14:43:32-06:00
sane.ds: Store CAP_XFERCOUNT to activeDS.capXferCount.
-
ca155e68
by Bernd Herd at 2025-11-18T14:43:32-06:00
sane.ds: Apply SANE_Start() and SANE_Cancel().
Replace all direct calls to start_device and cancel_device
by calls to SANE_Start and SANE_Cancel, controlled by
the activeDS.currentState.activeDS.currentState
Allow calling sane_start more than once per sane_cancel.
-
5ae0cb85
by Bernd Herd at 2025-11-18T14:43:32-06:00
sane.ds: Fill TW_IMAGEMEMXFER.YOffset in SANE_ImageMemXferGet.
Many applications need YOffset to make the mandatory
Buffered Memory transfer work.
-
621cee9e
by Bernd Herd at 2025-11-18T14:43:32-06:00
sane.ds: Implement DG_CONTROL/DAT_PENDINGXFERS/MSG_GET based on scannedImages counter.
-
c7936d27
by Bernd Herd at 2025-11-18T14:43:32-06:00
sane.ds: Read frame data until EOF in native transfer mode.
Makes sure SANE transistions to the next frame on some backends.
Extends or shrinks DIB to the number of lines actually transfered
by the SANE data source.