Fix bug in prepare_nb_full_mvs
authorAngie Chiang <angiebird@google.com>
Thu, 4 Oct 2018 22:17:02 +0000 (15:17 -0700)
committerAngie Chiang <angiebird@google.com>
Thu, 4 Oct 2018 22:17:02 +0000 (15:17 -0700)
commite49ef1476db5083e002863c7c2b8b5188c298d48
treed3033c40265a9f1725c6b57db77a3d10caa2c293
parent7fc5f6739a953735db0bd7e2dd38d22849d98d14
Fix bug in prepare_nb_full_mvs

Previously, the prepare_nb_full_mvs might construct nb_full_mv with
wrong mvs (from other ref frame).
The following changes will fix the bug.
1) Let ready in TplDepStats becomes int array
2) Add parameter rf_idx
3) Use mv_arr instead of mv to build the nb_full_mv

Change-Id: I199798aec4c6762d54799562e142457cc26ee043
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_encoder.h