feat[hal_avsd]: enable hw dec timeout

Signed-off-by: Chandler Chen <chandler.chen@rock-chips.com>
Change-Id: I395166c22d9fc14a4c05515374f58753f83ce03d
This commit is contained in:
Chandler Chen
2024-11-09 16:50:32 +08:00
committed by Herman Chen
parent e408eef415
commit c3b2ece9c2

View File

@@ -83,6 +83,8 @@ static MPP_RET set_regs_parameters(AvsdHalCtx_t *p_hal, HalDecTask *task)
AvsdSyntax_t *p_syn = &p_hal->syn;
AvsdPlusRegs_t *p_regs = (AvsdPlusRegs_t *)p_hal->p_regs;
p_regs->sw02.dec_timeout_e = 1;
//!< set wrok_out pic info
if (p_hal->work_out < 0) {
p_hal->work_out = get_queue_pic(p_hal);