* 24=>8 bits on ZLX
@ 1994-09-14 13:09 Tim Glauert
1994-09-15 13:58 ` Andy Vesper
0 siblings, 1 reply; 4+ messages in thread
From: Tim Glauert @ 1994-09-14 13:09 UTC (permalink / raw)
As I understand it, the ZLX TURBOchannel framestore has hardware to
convert 24-bit images to 8-bit dithered images. If so, how is this
accessed through X? I assume that I have to use the GLX Extension but
it looks amazingly complicated! Does anyone have any sample code which
will take a 24-bit image in a shared memory segment and put it onto
the screen of an 8-bit ZLX card?
Failing that, does anyone know how much it costs to upgrade the 8-bit
ZLX to 24 bits :-)
Tim.
Tim Glauert, Olivetti Research Limited, | EMAIL thg@cam-orl.co.uk
24a Trumpington Street, Cambridge, England. | TEL +44 223 343232
| FAX +44 223 313542
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 24=>8 bits on ZLX
1994-09-14 13:09 24=>8 bits on ZLX Tim Glauert
@ 1994-09-15 13:58 ` Andy Vesper
1994-09-20 12:25 ` Tim Glauert
0 siblings, 1 reply; 4+ messages in thread
From: Andy Vesper @ 1994-09-15 13:58 UTC (permalink / raw)
In article <356sln$knl@lyra.csx.cam.ac.uk>,
thg@cam-orl.co.uk (Tim Glauert) writes:
>As I understand it, the ZLX TURBOchannel framestore has hardware to
>convert 24-bit images to 8-bit dithered images. If so, how is this
>accessed through X?
Well, no and yes. No ZLX graphics board has a function to convert 24-bit
images to 8-bit dithered images. I suggest using such capable
imaging programs as xv or the Utah raster toolkit. (There are lots
more.) Yes, all ZLX graphics boards do have 8-plane true-color visual
support -- perhaps this is what you are thinking about? This support
includes the capability to render both synthetic graphics and image
into the 8-plane true-color images, but this is not accessable
through core X11. The ZLX-E1 has hardware support for dithering.
>I assume that I have to use the GLX Extension but
>it looks amazingly complicated! Does anyone have any sample code which
>will take a 24-bit image in a shared memory segment and put it onto
>the screen of an 8-bit ZLX card?
The best introduction to OpenGL is the _OpenGL Programming Guide_,
Addison Wesley, ISBN 0-201-63274-8. I'll send you an OpenGL program to
do this.
>Failing that, does anyone know how much it costs to upgrade the 8-bit
>ZLX to 24 bits :-)
Not me -- there are too many variables.
Andy V (A Digital spoke, not a Digital spokesperson)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 24=>8 bits on ZLX
1994-09-15 13:58 ` Andy Vesper
@ 1994-09-20 12:25 ` Tim Glauert
1994-09-26 16:58 ` Fred Kleinsorge
0 siblings, 1 reply; 4+ messages in thread
From: Tim Glauert @ 1994-09-20 12:25 UTC (permalink / raw)
In article <1994Sep15.135852.21648@peavax.mlo.dec.com>, vesper@bkchry.mlo.dec.com (Andy Vesper) writes:
|> In article <356sln$knl@lyra.csx.cam.ac.uk>,
|> thg@cam-orl.co.uk (Tim Glauert) writes:
|>
|> >As I understand it, the ZLX TURBOchannel framestore has hardware to
|> >convert 24-bit images to 8-bit dithered images. If so, how is this
|> >accessed through X?
|>
|> Well, no and yes. No ZLX graphics board has a function to convert 24-bit
|> images to 8-bit dithered images.
According to the chip's designer the funtionality is there but there
is no way to access it because the drivers were never written.
|> I suggest using such capable imaging programs as xv or the Utah
|> raster toolkit.
I doubt that they will be able to handle two or three windows at
384x288x25 fps each!!!!
|> Yes, all ZLX graphics boards do have 8-plane true-color visual
|> support -- perhaps this is what you are thinking about?
No, I'm already using that and the conversion to 8 bits is one of the
bottlenecks, which is why I want hardware conversion.
|> The ZLX-E1 has hardware support for dithering.
From what to what? Dithering an existing 8-bit image isn't going to do
much good.
Thanks for your help, anyway, but it looks like I'll have to spend
some money on the 24-bit version which would look better anyway.
Tim.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 24=>8 bits on ZLX
1994-09-20 12:25 ` Tim Glauert
@ 1994-09-26 16:58 ` Fred Kleinsorge
0 siblings, 0 replies; 4+ messages in thread
From: Fred Kleinsorge @ 1994-09-26 16:58 UTC (permalink / raw)
!|>
!|> >As I understand it, the ZLX TURBOchannel framestore has hardware
to
!|> >convert 24-bit images to 8-bit dithered images. If so, how is this
!|> >accessed through X?
!|>
!|> Well, no and yes. No ZLX graphics board has a function to convert
24-bit
!|> images to 8-bit dithered images.
!
The ZLX-E* contains an implementation of a patented ordered dither
that indeed should be capable of dithering a 24-bit image into a
8-bit image. I'm not sure that it has a pixel remap function, and
I believe the resultant 8-bit image is in a 8-bit TrueColor format.
I talked to the software half of the co-architect of the ZLX-E* a
long time ago about how a "normal" user (i.e. not a OpenGL user)
might access this to do high-performance 8-bit images from a 24-bit
source, and suggested an extension that would allow a XImage
operation that would have the server "do the right thing". It
sounded like a good idea (at least to me ;-), but it's just a
"wouldn't it be nice if..." as opposed to being on anyones list
of things to do.
So for now, OpenGL is apparently the only way to get to the whiz
bang stuff in the chip.
--
+--------------------------------------+
Fred Kleinsorge | All opinions expressed are mine, and |
kleinsorge@star.enet.dec.com | may not reflect those of my employer |
+--------------------------------------+
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1994-09-26 16:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-09-14 13:09 24=>8 bits on ZLX Tim Glauert
1994-09-15 13:58 ` Andy Vesper
1994-09-20 12:25 ` Tim Glauert
1994-09-26 16:58 ` Fred Kleinsorge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox