Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 1997 00:49:34 -0500 (EST)
From:      Thomas Arnold <tom@inna.net>
To:        Amancio Hasty <hasty@rah.star-gate.com>
Cc:        Steve Passe <smp@csn.net>, Jamie Bowden <jamie@inna.net>, multimedia@freebsd.org
Subject:   Re: Video Capture for FreeBSD 
Message-ID:  <Pine.BSI.3.95.970306004326.8815A-100000@caught.inna.net>
In-Reply-To: <199703060404.UAA00323@rah.star-gate.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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?Pine.BSI.3.95.970306004326.8815A-100000>