[vp9d]: reset temp parameters when reset

Change-Id: Iee87b90f5753bfae4531413721ce1a5d7dca4d0a
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
This commit is contained in:
Ding Wei
2021-12-13 10:38:46 +08:00
parent e81d82173b
commit ad221ec604

View File

@@ -1067,6 +1067,9 @@ static MPP_RET hal_vp9d_vdpu34x_reset(void *hal)
hw_ctx->mv_base_addr = -1; hw_ctx->mv_base_addr = -1;
hw_ctx->pre_mv_base_addr = -1; hw_ctx->pre_mv_base_addr = -1;
hw_ctx->last_segid_flag = 1; hw_ctx->last_segid_flag = 1;
memset(&hw_ctx->prob_ref_poc, 0, sizeof(hw_ctx->prob_ref_poc));
hw_ctx->col_ref_poc = 0;
hw_ctx->segid_ref_poc = 0;
hal_vp9d_leave(); hal_vp9d_leave();