kopia lustrzana https://gitlab.com/sane-project/website
73 wiersze
3.2 KiB
HTML
73 wiersze
3.2 KiB
HTML
|
<!-- received="Tue Feb 9 15:13:53 1999 PST" -->
|
|||
|
<!-- sent="Tue, 9 Feb 1999 18:21:54 -0500 (EST)" -->
|
|||
|
<!-- name="Tripp Lilley" -->
|
|||
|
<!-- email="tlilley@perspex.com" -->
|
|||
|
<!-- subject="16-bit frames and interleaving" -->
|
|||
|
<!-- id="" -->
|
|||
|
<!-- inreplyto="" -->
|
|||
|
<title>sane-devel: 16-bit frames and interleaving</title>
|
|||
|
<h1>16-bit frames and interleaving</h1>
|
|||
|
<b>Tripp Lilley</b> (<a href="mailto:tlilley@perspex.com"><i>tlilley@perspex.com</i></a>)<br>
|
|||
|
<i>Tue, 9 Feb 1999 18:21:54 -0500 (EST)</i>
|
|||
|
<p>
|
|||
|
<ul>
|
|||
|
<li> <b>Messages sorted by:</b> <a href="date.html#49">[ date ]</a><a href="index.html#49">[ thread ]</a><a href="subject.html#49">[ subject ]</a><a href="author.html#49">[ author ]</a>
|
|||
|
<!-- next="start" -->
|
|||
|
<li> <b>Next message:</b> <a href="0050.html">Tripp Lilley: "libsane-pnm bugs?"</a>
|
|||
|
<li> <b>Previous message:</b> <a href="0048.html">Paul Gangwisch: "qcam backend"</a>
|
|||
|
<!-- nextthread="start" -->
|
|||
|
<li> <b>Next in thread:</b> <a href="0239.html">Oliver Rauch: "Re: 16-bit frames and interleaving"</a>
|
|||
|
<li> <b>Reply:</b> <a href="0239.html">Oliver Rauch: "Re: 16-bit frames and interleaving"</a>
|
|||
|
<li> <b>Reply:</b> <a href="0252.html">Oliver Rauch: "Re: 16-bit frames and interleaving"</a>
|
|||
|
<!-- reply="end" -->
|
|||
|
</ul>
|
|||
|
<!-- body="start" -->
|
|||
|
The docs say that 16-bit deep frames contain the samples in the machine's<br>
|
|||
|
native byte order. Can I assume that they will always come in pairs, and<br>
|
|||
|
that they are sample-interleaved, not byte-interleaved?<br>
|
|||
|
<p>
|
|||
|
ie: on a little endian machine, would data look like this (where the first<br>
|
|||
|
character is R, G, or B, for the color of the sample and the second<br>
|
|||
|
character is 'L' or 'M' for the 'Least' or 'Most' significant byte):<br>
|
|||
|
<p>
|
|||
|
RL RM GL GM BL BM ...<br>
|
|||
|
<p>
|
|||
|
(which is what I am assuming)<br>
|
|||
|
<p>
|
|||
|
or can I expect some sort of nuttiness like<br>
|
|||
|
<p>
|
|||
|
RL GL BL RM GM BM<br>
|
|||
|
<p>
|
|||
|
Of course, I /realize/ that this would be a totally asinine way of<br>
|
|||
|
rendering the samples :-) But the spec leaves a /teensie/ bit of room for<br>
|
|||
|
asinine interpretation :-)<br>
|
|||
|
<p>
|
|||
|
<pre>
|
|||
|
--
|
|||
|
Tripp Lilley + Innovative Workflow Engineering, Inc. + (<a href="mailto:tripp@iweinc.com">tripp@iweinc.com</a>)
|
|||
|
------------------------------------------------------------------------------
|
|||
|
"So perl is like a graceful swan, gliding across a lake. But underneath the
|
|||
|
water, there's these little legs, paddling like buggery."
|
|||
|
<p>
|
|||
|
-- beable van polasm in <a href="http://www.dejanews.com/getdoc.xp?AN=440381254">http://www.dejanews.com/getdoc.xp?AN=440381254</a>
|
|||
|
<p>
|
|||
|
<p>
|
|||
|
<p>
|
|||
|
<pre>
|
|||
|
--
|
|||
|
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
|
|||
|
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
|
|||
|
</pre>
|
|||
|
<!-- body="end" -->
|
|||
|
<p>
|
|||
|
<ul>
|
|||
|
<!-- next="start" -->
|
|||
|
<li> <b>Next message:</b> <a href="0050.html">Tripp Lilley: "libsane-pnm bugs?"</a>
|
|||
|
<li> <b>Previous message:</b> <a href="0048.html">Paul Gangwisch: "qcam backend"</a>
|
|||
|
<!-- nextthread="start" -->
|
|||
|
<li> <b>Next in thread:</b> <a href="0239.html">Oliver Rauch: "Re: 16-bit frames and interleaving"</a>
|
|||
|
<li> <b>Reply:</b> <a href="0239.html">Oliver Rauch: "Re: 16-bit frames and interleaving"</a>
|
|||
|
<li> <b>Reply:</b> <a href="0252.html">Oliver Rauch: "Re: 16-bit frames and interleaving"</a>
|
|||
|
<!-- reply="end" -->
|
|||
|
</ul>
|