mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 01:26:49 +08:00
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:

committed by
Herman Chen

parent
11055c198a
commit
33c456826e
@@ -640,6 +640,7 @@ MPP_RET hal_jpege_vpu720_ret_task(void *hal, HalEncTask *task)
|
|||||||
// setup bit length for rate control
|
// setup bit length for rate control
|
||||||
rc_info->bit_real = task->hw_length * 8;
|
rc_info->bit_real = task->hw_length * 8;
|
||||||
rc_info->quality_real = rc_info->quality_target;
|
rc_info->quality_real = rc_info->quality_target;
|
||||||
|
mpp_buffer_sync_ro_begin(task->output);
|
||||||
|
|
||||||
hal_jpege_leave();
|
hal_jpege_leave();
|
||||||
return MPP_OK;
|
return MPP_OK;
|
||||||
|
Reference in New Issue
Block a user