Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: dierick@brsux0.bro.dec.com (Dierick Dominique)
Subject: Re: live video / optimiztion help needed
Date: Fri, 17 Sep 1993 16:55:48 GMT	[thread overview]
Message-ID: <1993Sep17.165548.10107@decuk.uvo.dec.com> (raw)
In-Reply-To: lazloCDDFLp.87A@netcom.com


In article <lazloCDDFLp.87A@netcom.com>, lazlo@netcom.com (Bob Palermo) writes:
>Newsgroups: comp.unix.osf.osf1
>From: lazlo@netcom.com (Bob Palermo)
>Subject: live video / optimiztion help needed
>
>
>	I'm trying to simulate live video on a Alpha AXP 3000/400 with 64 meg
>	of RAM and running OSF 1.2 (soon to be OSF 1.3) and X11R5.  I am
>	running with my DISPLAY set to local:0, since I read  in the
>	OSF news group that this causes the client/server communications
>	to be performed using shared memory.  I am trying to display the
>	video in a 512x512 motif drawing area widget.
>
>	To achieve "live video"  I would ideally need to display about 30
>	frames/sec(fps). I Would be happy with 15 to 20 fps.	Currently
>	I am only getting about 5 fps so any improvement would be welcome.
>
>	One of the problems I am having is that the data I receive from
>	the camera contains 256 gray levels and my colormap only has 128
>	gray levels (I can't use all 256 colormap entries because I
>	need to maintain other colors on the display).  As a result, I
>	need to map each frame into my colormap.  I am currently doing
>	this using a lookup table.
>
>	The other source of slowness is that the data I am getting is
>	in ZPixmap format and the only way I know of to get that into

Have you tried using the MITSHM extensions of the X Server ? I  don't
know your application but maybe you can avoid GetImage/PutImage and rely
on CopyArea from a MITSHM  Pixmap. This would accelerate things.


Dominique Dierick


      reply	other threads:[~1993-09-17 16:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-09-15  1:17 live video / optimiztion help needed Bob Palermo
1993-09-17 16:55 ` Dierick Dominique [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox