From 33c456826e3f4e5468bb563becf84f30ec982783 Mon Sep 17 00:00:00 2001 From: Johnson Ding Date: Wed, 13 Mar 2024 12:01:44 +0800 Subject: [PATCH] fix[jpege_vpu720]: sync cache before return task Change-Id: I9721e6f82b0318457461bd6c967d63c5027bfbdb Signed-off-by: Johnson Ding --- mpp/hal/rkenc/jpege/hal_jpege_vpu720.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mpp/hal/rkenc/jpege/hal_jpege_vpu720.c b/mpp/hal/rkenc/jpege/hal_jpege_vpu720.c index 84bddf70..5fe9a1e4 100644 --- a/mpp/hal/rkenc/jpege/hal_jpege_vpu720.c +++ b/mpp/hal/rkenc/jpege/hal_jpege_vpu720.c @@ -640,6 +640,7 @@ MPP_RET hal_jpege_vpu720_ret_task(void *hal, HalEncTask *task) // setup bit length for rate control rc_info->bit_real = task->hw_length * 8; rc_info->quality_real = rc_info->quality_target; + mpp_buffer_sync_ro_begin(task->output); hal_jpege_leave(); return MPP_OK;