i.MX53 VPU debug method of rare issue which is difficult to reproduce

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

i.MX53 VPU debug method of rare issue which is difficult to reproduce

730件の閲覧回数
torus1000
Contributor V

Hi chip experts,

Sometimes i.MX53 VPU_API returned following values then decoding process lost.

indexFrameDecoded = -1 #EOS not detected or skipped

indexFrameDisplay = -3 #decoder couldn't provide output

     where VPU_API = int indexFrameDisplay; or int indexFrameDecoded;

     See Page36 3.2.2.26 DecOutputInfo of i.MX5x_Linux_VPU_API.pdf

Is there any idea how to debug this issue?      e.g. set breakpoint somewhere in VPU_API

Can anyone help me ?

BR

ラベル(2)
タグ(2)
0 件の賞賛
3 返答(返信)

518件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

“indexFrameDecoded = -1” means there’s no frame buffer for next picture decoding.

Please check whether you call DecClrDispFlag each time a frame buffer is displayed and check whether you call DecRegisterFrameBuffer with enough frame buffers.

518件の閲覧回数
torus1000
Contributor V

Dear Guanqiong,

Thank you for your reply.

According to the manual, DecRegisterFrameBuffer() normaly called once at first decoding, I'm not sure.
->See i.MX5x_Linux_VPU_API.pdf Page41 Figure 4.

(Q) Is it OK to call DecRegisterFrameBuffer() more than two times?

(Q) If yes, when and how can I call this DecRegisterFrameBuffer()?
    (Is there any restrictions to call?)

BR.

0 件の賞賛

518件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

yes, DecRegisterFrameBuffer is called before decoding, could you tell me why you need to call them again? in fact ,before decoding ,you can

allocate the proper size of the frame buffers by this function, you just need to use once, if you must use them again, pls tell me the reason.

0 件の賞賛