[comp.multimedia] X efficiency questions

lemkin@ncifcrf.gov (Pete Lemkin) (03/01/91)

         X efficiency questions
         ======================

1. Is there any way to zoom XImages inside of the server?  This could
be done for example, by doing the equivalent of pixel replication from
one window by (a) copying it into a Pixmap on the server (b) Zooming a
region of this Pixmap and then (c) copying it back into a larger
window (or the original source window).  It seems like this
replication algorithm could be done by the window manager.

I can't seem to find anything which will let you do this with X11R4.
With X11R3 there was something called ZoomHints for the WM but that no
longer exists. 

2. Given the current X11R4 distribution, is there any way to do
fine-grain synchronization such that one could request the server to
do Maps and UnMaps of windows (containing for example images) so that
one could make movies?

3. Is there any way to do XGetImage/XPutImage using any sort of image
compression?

4. Is there any plans for standardizing on audio extensions for X11R5?
Are the any plans for audio compression for it if they are?

Are there any plans to do any of these things in X11R5?

		Thanks in advance,

			Pete
----------------------------------------------------------------------
                                             Peter Lemkin
 301-846-5535		      _o             Image Processing Section
 FAX:301-846-5598	     O/O________     Lab. Math. Biology, DCBDC
 uucp: uunet.uu.net!ncifcrf!lemkin	     National Cancer Institute, FCRDC
 ARPA: lemkin@ncifcrf.gov		     Building 469, Room 150B
 BITNET: lemkin%ncifcrf.gov@cunyvm.bitnet    Frederick, MD 21702 USA

klee@wsl.dec.com (Ken Lee) (03/02/91)

In article <2082@fcs280s.ncifcrf.gov>, lemkin@ncifcrf.gov (Pete Lemkin) writes:
|> 1. Is there any way to zoom XImages inside of the server? 
|> 3. Is there any way to do XGetImage/XPutImage using any sort of image
|> compression?

The proposed X Image Extension does stuff like this.  Specs appear on
the X11R4 tape.

|> 4. Is there any plans for standardizing on audio extensions for X11R5?

Can't comment on X11R5, but there are various groups working on
multi-media for X.  I don't think there is enough agreement to make
a particular implementation part of X yet, though.

-- 
Ken Lee
DEC Western Software Laboratory, Palo Alto, Calif.
Internet: klee@wsl.dec.com
uucp: uunet!decwrl!klee

toddb@sail.labs.tek.com (toddb) (03/08/91)

|> 1. Is there any way to zoom XImages inside of the server?

Some X terminal manufacturers offer the ability to decimate images because
of specific requests from customers.  Both NCD and Tektronix products do
this.  As mentioned in another reply, the X Image Extension (XIE) will
address this.  For the short term, you should do it yourself.  The
contributed program xgif does a simple nearest-neighbor interpolation
as an example of how this would be done.

|> With X11R3 there was something called ZoomHints for the WM but that no
|> longer exists. 

This has to do with zooming client windows, not with diddling with the
contents of client pixmaps.

|> 2. Given the current X11R4 distribution, is there any way to do
|> fine-grain synchronization such that one could request the server to
|> do Maps and UnMaps of windows (containing for example images) so that
|> one could make movies?

Tim Glauert from Cambridge Olivetti research labs (cam-orl!thg@relay.eu.net)
proposed a X Synchronization Extension at the most recent X conference that
effectively constipates and laxitizes a client's protocol stream based on
events and timers.  With this you could load a number of pixmaps into the
server, and then do a series of CopyArea requests into a window with
intervening synchronization requests that wait for some timer.  No
implementation is available today although I hear that Dec and Olivetti are
working on it.

There is also a multi-buffering extension that *is* on the R4 tape but
I don't think it is really intended to play a series of pixmaps.  Rather
it matches the double buffering hardware in the marketplace.

|> 3. Is there any way to do XGetImage/XPutImage using any sort of image
|> compression?

No, but again Tektronix and NCD offer a private extension to accomplish
this for the sake of big customers.  And again, I think XIE addresses
this.

|> 4. Is there any plans for standardizing on audio extensions for X11R5?
|> Are the any plans for audio compression for it if they are?

Dec talked about an audio server they have done, but everyone I have
talked with agree that this will never, ever be an X extension.  This
is not to say that an X client could not also be a client of an audio
server.  Barry Arrons, when he worked for Olivetti, did an audio server
called VOX, but I don't know how to get ahold of it.

---------------
internet: toddb@sail.labs.tek.com                                   c--Q Q
US:       Todd Brunhoff; Video and Electronic Systems Lab;              `
          Tektronix, Inc.;  Box 500  MS 50-321, Beaverton OR 97077      -
Phone:    (503) 627-1121