i.MX53 VPU unfinished decoding after few modifications

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

i.MX53 VPU unfinished decoding after few modifications

1,282 Views
torus1000
Contributor V

Hi,


There is no problem with i.MX53 VPU so far.
But after few modifications applied, VPU stopped returning decode completion flag.

Mod#1: modified stream data write process as following
       Before: seamless data write to the frame buffer
       After:  write data to the each frame buffer respectively


Mod#2: modified bus access cycle setting

Can i.MX53 VPU decode buffered data which include no next frame header?

If someone solved this issue, please let  me know.

Thanks.

Labels (2)
0 Kudos
Reply
3 Replies

1,144 Views
joanxie
NXP TechSupport
NXP TechSupport

what do you mean include no next frame header? do you mean the raw data which doesn't include the file header?

do you have any log file to check?

0 Kudos
Reply

1,144 Views
torus1000
Contributor V

Dear Guanqiong,

Unfortunatery I couldn't provide any logs because our RTOS had no enable/suppress log switch for VPU debugging.
Sorry for not enough information.

If you know somthing about last frame decoding of VPU, please let me know.

Thanks.

0 Kudos
Reply

1,144 Views
torus1000
Contributor V

Dear Guanqiong,

Thank you for your reply.

>what do you mean include no next frame header?
>do you mean the raw data which doesn't include the file header?

Sorry for confusing you. "next frame header" merely means 1st data of next frame.
Stream data normaly included raw data and header. It doesn't mean the file header.

>do you have any log file to check?

Now I'm preparing log and I'll show you later.

Anyway I reviewed by myself and found Mod#2 didn't cause this issue.
Please ignore Mod#2 and focus on Mod#1(write exactly 1 frame to the frame buffer).

To isolate the problems, I tested following 3 steps.
(1)write frame buffer without align frame border -> VPU start decoding -> OK to complete decoding
(2)write frame buffer with align frame border (=Mod#1)-> VPU start decoding -> Fail/unfinished decoding
(3)additionally write next frame data to the frame buffer -> VPU start decoding -> OK to complete decoding

It seems VPU need next frame data in order to complete current frame decoding, right?

If it is true, when decoded last frame data will output?

Have a nice day!

0 Kudos
Reply