iMX6 VPU Zero Buffer Decode

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

iMX6 VPU Zero Buffer Decode

Jump to solution
1,780 Views
SteveBakke
Contributor II

We need to use the VPU decoder in a zero-delay mode, i.e. we give the decoder a frame of H.264 data and the decoder performs the decode and provides the framebuffer, immediately.  It looks like according to the documentation if we set reorderEnable in the DecOpenParam structure, the decoder should operated in this mode.  However we must feed 3 frames in before we get the first frame out. Previously we used iMX53 and this zero-delay decode worked fine.


Enclosed is a modified version of the mxc_vpu_test example.  The example was modified to read a .h264 files along with an index file that precisely feeds one frame per keystroke to the decoder.  The very first frame is made up of SPS, PPS and and I-Frame, all other frames are P frames.  A Readme file in the tgz file explains the changes.  You need to build this in the same directory as the original mxc_vpu_text.  You probably will have to modify the system directory and the example should build.  Also the binary is included see readme for launch instructions.

 

I guess we are missing setting some parm somewhere to get into this zero-delay mode????

 

 

Steve

Original Attachment has been moved to: mxc_vpu_test_single_frame.tgz

0 Kudos
Reply
1 Solution
1,287 Views
YixingKong
Senior Contributor IV
0 Kudos
Reply
2 Replies
1,287 Views
LeonardoSandova
Specialist I

Hi Steve, move your post to the i.MX Community so more eyes can take a look.

Leo

0 Kudos
Reply
1,288 Views
YixingKong
Senior Contributor IV

The thread is closed since the same DI is at.

https://community.freescale.com/thread/310455

0 Kudos
Reply