shithub: libvpx

Download patch

ref: f09c4cde85f8f2cc5e263e77f68625cfaf12f552
parent: d1244659757ff64212f7beebc6c8e45909d5113c
parent: 14a38a87356875bb57206d333c4ec59409c4451e
author: Deb Mukherjee <debargha@google.com>
date: Mon Dec 10 07:28:06 EST 2012

Merge "A bug fix related to switchable filters" into experimental

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -582,6 +582,7 @@
         ++cpi->interintra_count[0];
       }
     }
+#endif
     if (cpi->common.mcomp_filter_type == SWITCHABLE &&
         mbmi->mode >= NEARESTMV &&
         mbmi->mode <= SPLITMV) {
@@ -589,7 +590,6 @@
           [vp9_get_pred_context(&cpi->common, xd, PRED_SWITCHABLE_INTERP)]
           [vp9_switchable_interp_map[mbmi->interp_filter]];
     }
-#endif
 
     cpi->prediction_error += ctx->distortion;
     cpi->intra_error += ctx->intra_error;