shithub: libvpx

Download patch

ref: ec8c25ca2a4b959ff09a3859ab559e84e9452017
parent: 54ba65a63edb79d46156058acb79ed1eaf5b8aa5
parent: 16d269697817f61e35a712e174d8607d166175f2
author: James Zern <jzern@google.com>
date: Thu Nov 20 09:18:37 EST 2014

Merge "sad_test: fix vp8-only build"

--- a/test/sad_test.cc
+++ b/test/sad_test.cc
@@ -234,7 +234,7 @@
 #else
         const int tmp = second_pred[h * width_ + w] +
             reference[h * reference_stride_ + w];
-        const uint8_t comp_pred = ROUND_POWER_OF_TWO(tmp, 1);
+        const uint8_t comp_pred = (tmp + 1) >> 1;
         sad += abs(source[h * source_stride_ + w] - comp_pred);
 #endif
       }