Hi All,
Just wondering can I decode single JPEG with VPU in C code? Is there any reference to start with?
Our application need to decode a lot of JPEG every second. I know iMX6 it only support MJPEG stream. But I think I can pack JPEG to MJPEG first on the fly. Can anyone point me a right way to do it? Thanks.
Also, please confirm that does i.MX6 only support baseline DCT or not?
Thanks,
Tim
" But I think I can pack JPEG to MJPEG first on the fly"
If you can do that, then I suggest GStreamer, using either gst-launch or a specific app with following elements
filesrc -> vpudec -> multifilesink.
Leo
Thanks for the prompt reply.
If I have to run the app in multiple instance, does vpudec support decoding simultaneously?
I don't think the vpudec is your limiting factor. The limiting factor is the sink you will use for display.
You are right Tarek, in this case VPU is not the limiting factor. Tim is using multisink, so seems that your limiting factor is your storage device :smileyhappy:
Leo
There is a limit of concurrent instances, but I do not know the exact number.