--- Quote Start ---
originally posted by janhendrik@Aug 20 2004, 06:34 AM
hi adrian,
thaks for the help.
you mention a sample,<div class='quotetop'>quote
--- quote end ---
--- quote start ---
you'll need to create a source manager to handle the requests from the jpeg decompressor for memory, but it's all very trivial. i think there's a basic sample somewhere and you should be able to figure out exactly what you need. --- Quote End ---
Is it a NIOS II sample or one of the JPEG samples. I'd like to get the decoder to work and then perhaps try to implement a hardware DCT/inverse DCT.
Thanks again.
Jan Hendrik [/b]
--- Quote End ---
jpeg sample, but as far as I can remember with the library you can get away with the only "dependancy" being malloc/free.
I posted the commands that I have here (on a windows app) that decodes an image, I can't post the whole code because although I wrote it, it's not mine to post - but the code is not that much larger than the outline I posted before, if you read the documentation with the library you'll be able to figure it out.
Although my code here is for windows, as mentioned before I've implemented this before on other non wintel systems without any problems. I've got some of my own code possibly at home, if I can find it and dig it out then I'll post it - don't hold your breath though, it's most likely on one of my many deathstar drivers.
Adrian