ref: f99eb936a4b5b392ecbe4c57ba391f182de60ab1
parent: 5ccd1932198967f11a8ff15dda31974b1f8465e7
author: Yaowu Xu <[email protected]>
date: Fri Jan 31 11:32:19 EST 2014
Set proper rtc interp_filter at block level Based on frame level settings. Change-Id: I922c09c195ab055585eaa4f544c51aceb1203a7a
--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -219,7 +219,8 @@
mbmi->ref_frame[0] = ref_frame;
mbmi->mv[0].as_int = frame_mv[this_mode][ref_frame].as_int;
xd->mi_8x8[0]->bmi[0].as_mv[0].as_int = mbmi->mv[0].as_int;
- mbmi->interp_filter = EIGHTTAP;
+ mbmi->interp_filter = cpi->common.interp_filter == SWITCHABLE ?
+ EIGHTTAP : cpi->common.interp_filter;
mbmi->ref_frame[1] = INTRA_FRAME;
mbmi->tx_size = max_txsize_lookup[bsize];