mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-07 01:06:46 +08:00
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
This commit is contained in:
parent
b114986477
commit
eb8dda3ac7
@ -1,6 +1,6 @@
|
||||
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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user