From eb8dda3ac77b08a9e41fa973c963d55f087d973c Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Fri, 23 Jan 2015 18:31:29 +0000 Subject: [PATCH] fix for ybias on YToARGB function. BUG=324 TESTED=libyuvTest.YToARGB_Any R=tpsiaki@google.com Review URL: https://webrtc-codereview.appspot.com/36939004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1247 16f28f9a-4ce2-e073-06de-1de4eb20be90 --- README.chromium | 2 +- include/libyuv/version.h | 2 +- source/row_win.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.chromium b/README.chromium index 7b45fc3ab..09108862b 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 1246 +Version: 1247 License: BSD License File: LICENSE diff --git a/include/libyuv/version.h b/include/libyuv/version.h index 59bde7279..2ed7931ed 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 1246 +#define LIBYUV_VERSION 1247 #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT diff --git a/source/row_win.cc b/source/row_win.cc index 8fbf8a31a..4b09d7598 100644 --- a/source/row_win.cc +++ b/source/row_win.cc @@ -2310,7 +2310,7 @@ void YToARGBRow_SSE2(const uint8* y_buf, __asm { pcmpeqb xmm4, xmm4 // generate mask 0xff000000 pslld xmm4, 24 - mov eax, 0x04a804a8 // 04a8 = 1192 = round(1.164 * 64 * 16) + mov eax, 0x04ad04ad // 04ad = 1197 = round(1.164 * 64 * 16) movd xmm3, eax pshufd xmm3, xmm3, 0 mov eax, 0x4a7f4a7f // 4a7f = 19071 = round(1.164 * 64 * 256)