Date: Wed, 05 Mar 1997 22:18:56 -0800 From: Amancio Hasty <hasty@rah.star-gate.com> To: Thomas Arnold <tom@inna.net> Cc: Steve Passe <smp@csn.net>, Jamie Bowden <jamie@inna.net>, multimedia@freebsd.org Subject: Re: Video Capture for FreeBSD Message-ID: <199703060618.WAA00815@rah.star-gate.com> In-Reply-To: Your message of "Thu, 06 Mar 1997 00:49:34 EST." <Pine.BSI.3.95.970306004326.8815A-100000@caught.inna.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Try compiling rgb16 as:
cc -o rgb16 -m486 -O2 rgb.c
Good luck,
Amancio
>From The Desk Of Thomas Arnold :
> On Wed, 5 Mar 1997, Amancio Hasty wrote:
>
> > recompile rgb16 with debug option:
> >
> > cc -g -o rgb16 rgb16.c
> >
> > Now, step thru it,
> >
> > Until you find the system call which is giving you the headache
>
> Welp. Its not one call. Its :
>
> for (c = 0 ; c < ROWS*COLS; c++) {
> b[0]= ((*rgb16 >> 7) & 0xf8); /* r */
> b[1]= ((*rgb16 >> 2) & 0xf8); /* g */
> b[2]= ((*rgb16++ << 3) & 0xf8); /* b */
> write(o, &b[0], 3);
>
> That routine is slower then dirt! California moves faster then it does on
> this box. :-) Last time ./rgb16 I ran was 18.5 seconds and the machine
> was -pasted-. It may be I just cant use it on this box, but I can't
> beleive it is -SOOO- much slower then a Pentium box...
>
> The Machine is an X5-133 ( 486 class ) UMC Chipset motherboard.
>
> Any ideas or should I just upgrade the Motherboard too? This machine is
> just our little-used Shell box and User-Page Webserver. I wanted to give
> it a little something else to do once a minute. :-)
>
> +-----------------------------------------------+
> : Tom Arnold - No relation to Rosanne :
> : SysAdmin/Pres - TBI, Ltd ( inna.net ) :
> : The Middle Peninsula's Internet Connection :
> +-----------------------------------------------+
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703060618.WAA00815>
