shithub: libvpx

Download patch

ref: a615c4049998f51e5123d7051020d38c35603f3d
parent: d75eb7365357ec45626452756308d4327fa66911
author: Attila Nagy <attilanagy@google.com>
date: Wed May 25 08:54:34 EDT 2011

Use var8x8 instead of get8x8var in VP8_UVSSE

  'sum' returned by get8x8var is not used and var8x8 has optimizations
  for more platforms.

Change-Id: I4a907fb1a05f285669fb0b95dc71d42182c980f6

--- a/vp8/encoder/rdopt.c
+++ b/vp8/encoder/rdopt.c
@@ -464,11 +464,10 @@
     }
     else
     {
-        int sum2, sum1;
-        VARIANCE_INVOKE(rtcd, get8x8var)(uptr, pre_stride,
-            upred_ptr, uv_stride, &sse2, &sum2);
-        VARIANCE_INVOKE(rtcd, get8x8var)(vptr, pre_stride,
-            vpred_ptr, uv_stride, &sse1, &sum1);
+        VARIANCE_INVOKE(rtcd, var8x8)(uptr, pre_stride,
+            upred_ptr, uv_stride, &sse2);
+        VARIANCE_INVOKE(rtcd, var8x8)(vptr, pre_stride,
+            vpred_ptr, uv_stride, &sse1);
         sse2 += sse1;
     }
     return sse2;