From 2cb2e9e1ad8df0d2733b1498f1d1083070f210d4 Mon Sep 17 00:00:00 2001 From: Frank Barchard Date: Mon, 21 Dec 2015 18:35:12 -0800 Subject: [PATCH] fix for InterpolateRow_AVX2 TBR=harryjin@google.com BUG=libyuv:535 Review URL: https://codereview.chromium.org/1543773002 . --- README.chromium | 2 +- include/libyuv/version.h | 2 +- source/row_gcc.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.chromium b/README.chromium index fb4d07333..c1166d678 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 1558 +Version: 1559 License: BSD License File: LICENSE diff --git a/include/libyuv/version.h b/include/libyuv/version.h index df608fdb1..d6becec8c 100644 --- a/include/libyuv/version.h +++ b/include/libyuv/version.h @@ -11,6 +11,6 @@ #ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT #define INCLUDE_LIBYUV_VERSION_H_ -#define LIBYUV_VERSION 1558 +#define LIBYUV_VERSION 1559 #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT diff --git a/source/row_gcc.cc b/source/row_gcc.cc index 7dc3fd3e2..8de29e5ff 100644 --- a/source/row_gcc.cc +++ b/source/row_gcc.cc @@ -4880,7 +4880,7 @@ void InterpolateRow_AVX2(uint8* dst_ptr, const uint8* src_ptr, "vmovd %3,%%xmm0 \n" "neg %3 \n" - "add $0x80,%3 \n" + "add $0x100,%3 \n" "vmovd %3,%%xmm5 \n" "vpunpcklbw %%xmm0,%%xmm5,%%xmm5 \n" "vpunpcklwd %%xmm5,%%xmm5,%%xmm5 \n"