Closed nyanmisaka closed 1 year ago
You need to use mpp_frame_get_errinfo api to check if it is an error frame, and do not send the error frame data to rga3 hw.
Thanks, I learned it. But what was that commit used for? Maybe Performance?
The commit is to avoid issue that may cause the system hang up in the case of the error stream as input.
The commit is to avoid issue that may cause the system hang up in the case of the error stream as input.
Thanks again.
Hello here! I use AFBC v2 as the output for the MPP decoder to save DDR bandwidth. Then submit the AFBC data to RGA3 for format conversion. Small flaws in some video files may trigger a reset of the rkvdec driver, which is usually imperceptible to the user.
However, after this commit 60986ca, the rkvdec resetting will output incorrect AFBC data, causing RGA3 to reset too. Unfortunately, RGA3 driver will freeze the current process when resetting and cannot restore to the previous state like rkvdec driver. Therefore I don't want to trigger any RGA3 driver reset. After reverting the commit, everything returns to normal.
With the commit
Without the commit
Context: