Refactor setup_ref_mv_list
commitd797ea9ec6f3e487227df339cd467cb608e80105
authorYunqing Wang <yunqingwang@google.com>
Mon, 28 Aug 2017 01:05:55 +0000 (27 18:05 -0700)
committerYunqing Wang <yunqingwang@google.com>
Wed, 30 Aug 2017 23:47:33 +0000 (30 23:47 +0000)
tree1e5511b4cca08ac06fb105e8594537175c19830a
parent6e439653dbf7c90074615547211cd87b43c35021
Refactor setup_ref_mv_list

This patch eliminates the is_inside() checking for each neighouring
block in scan_row_mbmi() and scan_col_mbmi(). Instead, in
setup_ref_mv_list(), find maximum above row_offset and left col_offset
for current block, and use them to decide which above rows and left
columns to search on. This patch doesn't change bitstream. No
noticeable speedup is seen.

Change-Id: Ic4ae74412605d86e9e675f86d23de3a69c04e8f3
av1/common/mvref_common.c
av1/common/mvref_common.h