shithub: libvpx

Download patch

ref: 4e8daaf9608bc4fc8772a033b050c28e54d43344
parent: 82231beced4945cd419efe7d6ca2f2ca5c3699d9
parent: 981bb848826cecc8570cc037883138b80eadf6c6
author: Jingning Han <[email protected]>
date: Mon Mar 16 12:43:26 EDT 2015

Merge "Simplify prediction filter search in rtc coding mode"

--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -905,11 +905,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;