ref: 74bb78df827ba2f78b5be2b2cd601351f861c3da
parent: d004c640133b5def534b219cbf66fce9784581e6
parent: feb7e9a372b9f540e17cd7c246b64daad123c7b6
author: Scott LaVarnway <[email protected]>
date: Wed Jun 29 07:41:51 EDT 2016
Merge "VP9: handle_inter_mode()... Use interp_filter"
--- 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))