16-bit frames and interleaving

Tripp Lilley (tlilley@perspex.com)
Tue, 9 Feb 1999 18:21:54 -0500 (EST)

The docs say that 16-bit deep frames contain the samples in the machine's
native byte order. Can I assume that they will always come in pairs, and
that they are sample-interleaved, not byte-interleaved?

ie: on a little endian machine, would data look like this (where the first
character is R, G, or B, for the color of the sample and the second
character is 'L' or 'M' for the 'Least' or 'Most' significant byte):

RL RM GL GM BL BM ...

(which is what I am assuming)

or can I expect some sort of nuttiness like

RL GL BL RM GM BM

Of course, I /realize/ that this would be a totally asinine way of
rendering the samples :-) But the spec leaves a /teensie/ bit of room for
asinine interpretation :-)

--
   Tripp Lilley + Innovative Workflow Engineering, Inc. + (tripp@iweinc.com)
------------------------------------------------------------------------------
  "So perl is like a graceful swan, gliding across a lake. But underneath the
   water, there's these little legs, paddling like buggery."

-- beable van polasm in http://www.dejanews.com/getdoc.xp?AN=440381254

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