Commit ea9cf097 authored by Jingning Han's avatar Jingning Han Committed by Yaowu Xu
Browse files

Fix the top-right reference block location

This commit fixes the top-right reference block location for block
sizes above 8x8. It improves the coding performance of ref-mv:

lowres 0.08%
midres 0.15%

Thanks to jiafeng@ for finding this issue.

Change-Id: I70750fc7b18bf0126d3e07abc1b63ca5a160193e
parent 919bd6ab
...@@ -394,8 +394,8 @@ static void setup_ref_mv_list(const AV1_COMMON *cm, const MACROBLOCKD *xd, ...@@ -394,8 +394,8 @@ static void setup_ref_mv_list(const AV1_COMMON *cm, const MACROBLOCKD *xd,
// Check top-right boundary // Check top-right boundary
if (has_tr) if (has_tr)
newmv_count += scan_blk_mbmi(cm, xd, mi_row, mi_col, block, rf, -1, 1, newmv_count += scan_blk_mbmi(cm, xd, mi_row, mi_col, block, rf, -1,
ref_mv_stack, refmv_count); xd->n8_w, ref_mv_stack, refmv_count);
nearest_refmv_count = *refmv_count; nearest_refmv_count = *refmv_count;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment