<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On a side note with regards to jpeglib.<br>
<br>
Instead of opening the pxc device as a file, when you mmap it, the RGB
will be in the wrong order... (BGR)<br>
<br>
To get the jpeglib to work with these (as it is the fastest way) you
would have to customise the compile of jpeglib where you can tweak the
BGR byte offsets.<br>
<br>
Not sure in which file it is, but it's something like:<br>
<br>
#define R 0<br>
#define G 1<br>
#define B 2<br>
#define C 3 // This being the number of colour bytes...<br>
<br>
Unless someone else knows how to do this run-time?<br>
<br>
Regards,<br>
Marius.<br>
<br>
Gilson Reis wrote:<br>
<blockquote cite="mid001c01c4549f$917f0350$de00a8c0@Karmina02"
type="cite">
<meta http-equiv="Context-Type"
content="text/html; charset=iso-8859-1">
<div> Hello, Alessandro. </div>
<div> I formatted my computer and installed the Linux(Debian),
kernel-source-2.4.18. </div>
<div> I followed your instructions and downloaded the latest CVS
snapshot at <a href="ftp://ftp.linux.it/pub/People/rubini/pxc">ftp.linux.it/pub/People/rubini/pxc</a>.
While I executed: </div>
<div> </div>
<div> "/home/greis/pxc/pxc-snapshot-040608# make
KERNELDIR=/usr/src/kernel-source-2.4.18/" </div>
<div> </div>
<div> the following error occurred: </div>
<div> </div>
<div> "gcc -Wall -O2 -fomit-frame-pointer -c grabtofile.c -o
grabtofile.o<br>
grabtofile.c:44: jpeglib.h: No such file or directory<br>
make: *** [grabtofile.o] Error 1" </div>
<div> </div>
<div> I searched for the 'jpeglib.h' library in my computer and
the internet and found nothing that could help. </div>
<div> Please, how do I proceed? </div>
<div> Thanks very much. </div>
<div> </div>
<div> Gilson Reis </div>
<div> <br>
</div>
<div> %%%%%%%%%%%%%%%%%%%%%%%%%<br>
LASI - Laboratório de Sistemas Inteligentes<br>
Departamento de Engenharia Elétrica<br>
Escola de Engenharia de São Carlos<br>
UNIVERSIDADE DE SÃO PAULO<br>
SP - BRASIL<br>
%%%%%%%%%%%%%%%%%%%%%%%%%<br>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
pxc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pxc@lists.linux.it">pxc@lists.linux.it</a>
<a class="moz-txt-link-freetext" href="http://lists.linux.it/listinfo/pxc">http://lists.linux.it/listinfo/pxc</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="79">--
Marius van Wyk
Tangible Business Software
</pre>
</body>
</html>