How to use VPU decode JPEG. Example?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use VPU decode JPEG. Example?

609 Views
laijp
Contributor I


I'm so sorry to ask this simple problem.

But I could't fund any simple code to explain the vpu which be used to decode jpeg .

I want to use vpu library combine Qt4 to show my streaming.

I know VPU Decode Flow from "Video_Image Codec and Data" this document.

But my streaming is bitstreaming.

My streaming is included in the 1722 payload. And I decode it finish.

Please teach me which vpu api function can put this bitstreaming and decode it.

Thanks!!

My platform is UDOO I.Mx6Q.

BSP is udoobuntu2.

Labels (3)
0 Kudos
1 Reply

438 Views
igorpadykov
NXP Employee
NXP Employee

Hi Lai

for simple example one can look at

https://community.nxp.com/message/335186#comment-335186

also it may be useful to check attached Linux Guide sect.7.3.12

Streaming

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos