I have used the jpegenc demo with no problems.

Two things to be sure of are:
1. the input is in YUV422 format. I'm pretty sure that's the only
format that codec can convert.
2. that you are feeding it it right size.

I have successfully used to coded to encode images coming off of a ccdc.

C


2008/4/21 Viet Hoang <[EMAIL PROTECTED]>:
> Hi all,
> Did anyone try to use the JPEG codec on
> DM355?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I modified the encode demo that
> came with dvsdk_1_30_00_23 on DM355 to use JPEGenc instead of MPEG4enc and
> write out the JPEG result files to the NFS file system. There are very much
> bad files (these files did not come in any order / rule) (I attached one of
> those bad files).<br>&nbsp;&nbsp;&nbsp; BTW, I found the thread posted by
> Pierre
> (http://linux.omap.com/pipermail/davinci-linux-open-source/2008-April/006163.html).
> Pierre, the JPEG  codec you tried is on DM6446 or DM355? In my case, the bad
> files written are all in full size, not only the first 14 bytes. I also
> tried to reload the dynamic params each time I call IMGENC1_process() but
> the result was the same. (Also, I only tried to encode and write 2 files per
> second).<br>&nbsp;&nbsp;&nbsp;&nbsp; So,
>   do you have any idea what can cause this problem? Please
> help.<br>Thanks,<br>Viet Hoang
> Send instant messages to your online friends http://uk.messenger.yahoo.com
> _______________________________________________
>  Davinci-linux-open-source mailing list
>  [email protected]
>  http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
>
>



-- 
Chris
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to