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!