iMX6 VPU Zero Buffer Decode

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

iMX6 VPU Zero Buffer Decode

ソリューションへジャンプ
1,731件の閲覧回数
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,238件の閲覧回数
YixingKong
Senior Contributor IV
0 件の賞賛
返信
2 返答(返信)
1,238件の閲覧回数
LeonardoSandova
Specialist I

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

Leo

0 件の賞賛
返信
1,239件の閲覧回数
YixingKong
Senior Contributor IV

The thread is closed since the same DI is at.

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

0 件の賞賛
返信