fix[jpege_vpu720]: sync cache before return task

Change-Id: I9721e6f82b0318457461bd6c967d63c5027bfbdb
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
This commit is contained in:
Johnson Ding
2024-03-13 12:01:44 +08:00
committed by Herman Chen
parent 11055c198a
commit 33c456826e

View File

@@ -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;