[vp8d]: Fix assigning wrong DCT address problem

Refer to this issue:
https://bugs.chromium.org/p/chromium/issues/detail?id=979091

Change-Id: I6d99f1f6444f93ea51a6a8827e8c8fb5cff54e5e
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
This commit is contained in:
Johnson Ding
2019-07-08 16:41:44 +08:00
parent 11ac01351a
commit 662b64c4ee
2 changed files with 2 additions and 2 deletions

View File

@@ -316,7 +316,7 @@ hal_vp8d_dct_partition_cfg(VP8DHalContext_t *ctx, HalTaskInfo *task)
regs->reg11.sw_dct_start_bit_6 = byte_offset * 8;
break;
case 7:
regs->reg11.sw_dct_start_bit_6 = byte_offset * 8;
regs->reg11.sw_dct_start_bit_7 = byte_offset * 8;
break;
default:
break;

View File

@@ -312,7 +312,7 @@ static MPP_RET hal_vp8d_dct_partition_cfg(VP8DHalContext_t *ctx,
regs->reg150.sw_dct_start_bit_6 = byte_offset * 8;
break;
case 7:
regs->reg150.sw_dct_start_bit_6 = byte_offset * 8;
regs->reg150.sw_dct_start_bit_7 = byte_offset * 8;
break;
default:
break;