]> granicus.if.org Git - libvpx/commitdiff
Turning off interpolation filter selection
authorDeb Mukherjee <debargha@google.com>
Wed, 11 Apr 2012 21:32:20 +0000 (14:32 -0700)
committerDeb Mukherjee <debargha@google.com>
Thu, 12 Apr 2012 16:27:25 +0000 (09:27 -0700)
Turning off the interpolation filter selection based on edge
proportion. This heuristics has not been working as well as
expected and I have started a more rigorous investigation into
this. We can turn this off for now since it is unnecessarily
slowing things down.

Rebase.

Change-Id: Ic5958b2b3a35ec2d8eb73b6d81617ca8fbe07e74

vp8/encoder/onyx_if.c

index 9e91dd93858c31846897f63f2d4626cd5bee8141..e2fed8ed1f3e6b90a6caa4fc998fd255ee2c38c6 100644 (file)
@@ -3022,7 +3022,7 @@ static void encode_frame_to_data_rate
 #if CONFIG_HIGH_PRECISION_MV || CONFIG_ENHANCED_INTERP
     if (cm->frame_type != KEY_FRAME)
     {
-        double e = compute_edge_pixel_proportion(cpi->Source);
+        double e = 0; //compute_edge_pixel_proportion(cpi->Source);
 #if CONFIG_HIGH_PRECISION_MV
         /* TODO: Decide this more intelligently */
         xd->allow_high_precision_mv = (Q < HIGH_PRECISION_MV_QTHRESH);