ref: feb7e9a372b9f540e17cd7c246b64daad123c7b6
parent: bdeb5febe43f8706a7c440d4ef696849a17ea71e
author: Scott LaVarnway <slavarnway@google.com>
date: Tue Jun 28 10:09:59 EDT 2016
VP9: handle_inter_mode()... Use interp_filter only if above/left is inter. Change-Id: I0cc1f926425c021c84536df8271e9ee5f3f87caf
--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -2465,9 +2465,9 @@
if (pred_filter_search) {
INTERP_FILTER af = SWITCHABLE, lf = SWITCHABLE;
- if (xd->above_mi)
+ if (xd->above_mi && is_inter_block(xd->above_mi))
af = xd->above_mi->interp_filter;
- if (xd->left_mi)
+ if (xd->left_mi && is_inter_block(xd->left_mi))
lf = xd->left_mi->interp_filter;
if ((this_mode != NEWMV) || (af == lf))