Decode JPEG in C code using VPU

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Decode JPEG in C code using VPU

1,139件の閲覧回数
timf
Contributor II

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

ラベル(3)
0 件の賞賛
5 返答(返信)

707件の閲覧回数
LeonardoSandova
Specialist I

" 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

707件の閲覧回数
timf
Contributor II

Thanks for the prompt reply.

If I have to run the app in multiple instance, does vpudec support decoding simultaneously?

0 件の賞賛

707件の閲覧回数
Tarek
Senior Contributor I

I don't think the vpudec is  your limiting factor. The limiting factor is the sink you will use for display.

0 件の賞賛

707件の閲覧回数
LeonardoSandova
Specialist I

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

0 件の賞賛

707件の閲覧回数
LeonardoSandova
Specialist I

There is a limit of concurrent instances, but I do not know the exact number.