From beb2bd2793b61929ff1fb6e042f42ff58e0d8447 Mon Sep 17 00:00:00 2001 From: Rimon Xu Date: Tue, 18 Feb 2025 17:24:43 +0800 Subject: [PATCH] fix[vepu510]: Mark frame first part when split slice out Signed-off-by: Rimon Xu Change-Id: I5c481ca5738e1ad1ae466e8e91749f4bf1c8a209 --- mpp/hal/rkenc/h265e/hal_h265e_vepu510.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mpp/hal/rkenc/h265e/hal_h265e_vepu510.c b/mpp/hal/rkenc/h265e/hal_h265e_vepu510.c index c806dc99..3740f252 100644 --- a/mpp/hal/rkenc/h265e/hal_h265e_vepu510.c +++ b/mpp/hal/rkenc/h265e/hal_h265e_vepu510.c @@ -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++;