fix[hal_h265e_vepu580]: Fix overflow status check

Encoder should continue when indicates stream overflow hw_status.

Change-Id: I5a04ca6016bb0c0050ae291832b467e3b7e53cc5
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
This commit is contained in:
Yanjun Liao
2025-03-11 17:52:58 +08:00
parent 2f2e5f5c3e
commit 1b0aef1de8

View File

@@ -3173,10 +3173,8 @@ static MPP_RET hal_h265e_vepu580_status_check(RK_U32 hw_status)
if (hw_status & RKV_ENC_INT_SAFE_CLEAR_FINISH)
hal_h265e_dbg_detail("RKV_ENC_INT_SAFE_CLEAR_FINISH");
if (hw_status & RKV_ENC_INT_BIT_STREAM_OVERFLOW) {
if (hw_status & RKV_ENC_INT_BIT_STREAM_OVERFLOW)
hal_h265e_err("RKV_ENC_INT_BIT_STREAM_OVERFLOW");
ret = MPP_NOK;
}
if (hw_status & RKV_ENC_INT_BUS_WRITE_FULL) {
hal_h265e_err("RKV_ENC_INT_BUS_WRITE_FULL");