ref: 981bb848826cecc8570cc037883138b80eadf6c6
parent: 2cfddec3328e86d3901b2a26fe5c2ba882916406
author: Jingning Han <[email protected]>
date: Mon Mar 16 10:53:08 EDT 2015
Simplify prediction filter search in rtc coding mode Reduce unnecessary fetch from MB_MODE_INFO. Change-Id: Iff89b76d5e2774c00a564e902913a633fa2e1ea9
--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -910,11 +910,11 @@
free_pred_buffer(current_pred);
mbmi->interp_filter = best_filter;
- mbmi->tx_size = pf_tx_size[mbmi->interp_filter];
- this_rdc.rate = pf_rate[mbmi->interp_filter];
- this_rdc.dist = pf_dist[mbmi->interp_filter];
- var_y = pf_var[mbmi->interp_filter];
- sse_y = pf_sse[mbmi->interp_filter];
+ mbmi->tx_size = pf_tx_size[best_filter];
+ this_rdc.rate = pf_rate[best_filter];
+ this_rdc.dist = pf_dist[best_filter];
+ var_y = pf_var[best_filter];
+ sse_y = pf_sse[best_filter];
x->skip_txfm[0] = skip_txfm;
} else {
mbmi->interp_filter = (filter_ref == SWITCHABLE) ? EIGHTTAP : filter_ref;