fix[vepu510]: Mark frame first part when split slice out

Signed-off-by: Rimon Xu <rimon.xu@rock-chips.com>
Change-Id: I5c481ca5738e1ad1ae466e8e91749f4bf1c8a209
This commit is contained in:
Rimon Xu 2025-02-18 17:24:43 +08:00
parent db2cd71fed
commit beb2bd2793

View file

@ -2531,6 +2531,8 @@ MPP_RET hal_h265e_v510_get_task(void *hal, HalEncTask *task)
mpp_meta_get_ptr(meta, KEY_ROI_DATA, (void **)&ctx->roi_data);
}
task->part_first = 1;
task->part_last = 0;
task->flags.reg_idx = ctx->task_idx;
ctx->ext_line_buf = ctx->ext_line_bufs[ctx->task_idx];
frm_cfg->frame_count = ctx->frame_count++;