iMX6 VPU Zero Buffer Decode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

iMX6 VPU Zero Buffer Decode

跳至解决方案
1,783 次查看
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

标记 (3)
0 项奖励
回复
1 解答
1,290 次查看
YixingKong
Senior Contributor IV
0 项奖励
回复
2 回复数
1,290 次查看
LeonardoSandova
Specialist I

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

Leo

0 项奖励
回复
1,291 次查看
YixingKong
Senior Contributor IV

The thread is closed since the same DI is at.

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

0 项奖励
回复