Re: 16-bit frames and interleaving

David Mosberger-Tang (David.Mosberger@acm.org)
Sun, 28 Feb 1999 14:25:41 -0800

>>>>> On Sun, 28 Feb 1999 23:00:21 +0100, Oliver Rauch <oliver.rauch@Wolfsburg.DE> said:

Oliver> does the net backend or saned already transform the data if
Oliver> that is necessary ?

saned tells the net backend what byte-order to use ("receiver-makes
right"), but the net backend hasn't been updated yet to adjust
byte-order. Look at saned.c and SANE_Start_Reply in sanei_net.h for
details.

Oliver> What about gamma data upload to the backend?

SANE_Int etc. are transferred in a byte-order independent fashion, so
stuff like gamma data should work just fine. Only the image data is
special (due to efficiency considerations). Once the net backend is
fixed, the distribution should be completely byte-order independent.
Someone with a 16-bit scanner want to cook up (and test) a patch?

--david

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com