<!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> &nbsp;&nbsp;&nbsp; I formatted my computer and installed the Linux(Debian),
kernel-source-2.4.18. </div>
  <div> &nbsp;&nbsp;&nbsp; I followed your instructions and&nbsp;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>&nbsp;</div>
  <div> "/home/greis/pxc/pxc-snapshot-040608# make
KERNELDIR=/usr/src/kernel-source-2.4.18/" </div>
  <div> &nbsp;</div>
  <div> the following error occurred: </div>
  <div> &nbsp;</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> &nbsp;</div>
  <div> &nbsp;&nbsp;&nbsp; I searched for&nbsp;the 'jpeglib.h' library&nbsp;in my computer and
the internet and&nbsp;found nothing that could help. </div>
  <div> &nbsp;&nbsp;&nbsp; Please, how do I proceed? </div>
  <div> &nbsp;&nbsp;&nbsp; Thanks very much. </div>
  <div> &nbsp;</div>
  <div> Gilson Reis </div>
  <div> <br>
&nbsp; </div>
  <div> %%%%%%%%%%%%%%%%%%%%%%%%%<br>
&nbsp;&nbsp;&nbsp;&nbsp; LASI - Laborat&oacute;rio de Sistemas Inteligentes<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Departamento de Engenharia El&eacute;trica<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Escola de Engenharia de S&atilde;o Carlos<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UNIVERSIDADE DE S&Atilde;O PAULO<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>