Commit eb8dda3a authored by fbarchard@google.com's avatar fbarchard@google.com

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
parent b1149864
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 1246
Version: 1247
License: BSD
License File: LICENSE
......
......@@ -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
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment