summaryrefslogtreecommitdiff
path: root/vp8/encoder/x86
diff options
context:
space:
mode:
authorDeb Mukherjee <debargha@google.com>2012-02-24 20:24:54 -0800
committerDeb Mukherjee <debargha@google.com>2012-02-24 20:24:54 -0800
commit88b36eb0d9ad2af3833e9ab7fbe18c5ff6515cbc (patch)
tree63b532178c71c0837a26057ae9f86644b61e2172 /vp8/encoder/x86
parent583f2d8fc7edeaf9d8eec5b928a485334a5b8544 (diff)
downloadlibvpx-88b36eb0d9ad2af3833e9ab7fbe18c5ff6515cbc.tar
libvpx-88b36eb0d9ad2af3833e9ab7fbe18c5ff6515cbc.tar.gz
libvpx-88b36eb0d9ad2af3833e9ab7fbe18c5ff6515cbc.tar.bz2
libvpx-88b36eb0d9ad2af3833e9ab7fbe18c5ff6515cbc.zip
Bug fix in ssse3 variance computation.
Fixes a bug that was introduced in the high precision mv patch. Change-Id: Ieadb433ebe4c3ef3e0e63944dab11528bf8bd73a
Diffstat (limited to 'vp8/encoder/x86')
-rw-r--r--vp8/encoder/x86/variance_ssse3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/encoder/x86/variance_ssse3.c b/vp8/encoder/x86/variance_ssse3.c
index 59e14971a..fc2a3c3f2 100644
--- a/vp8/encoder/x86/variance_ssse3.c
+++ b/vp8/encoder/x86/variance_ssse3.c
@@ -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,