]> granicus.if.org Git - libvpx/commitdiff
Bug fix in ssse3 variance computation.
authorDeb Mukherjee <debargha@google.com>
Sat, 25 Feb 2012 04:24:54 +0000 (20:24 -0800)
committerDeb Mukherjee <debargha@google.com>
Sat, 25 Feb 2012 04:24:54 +0000 (20:24 -0800)
Fixes a bug that was introduced in the high precision mv patch.

Change-Id: Ieadb433ebe4c3ef3e0e63944dab11528bf8bd73a

vp8/encoder/x86/variance_ssse3.c

index 59e14971aa51b66923dd68aa4997d32d40d96b67..fc2a3c3f2309732bcfa1af39a7832f20842e0279 100644 (file)
@@ -87,7 +87,7 @@ unsigned int vp8_sub_pixel_variance16x16_ssse3
 
     // note we could avoid these if statements if the calling function
     // just called the appropriate functions inside.
-    if (xoffset == HALFNDX && yoffset == HALFNDX)
+    if (xoffset == HALFNDX && yoffset == 0)
     {
         vp8_half_horiz_variance16x_h_sse2(
             src_ptr, src_pixels_per_line,