Commit 55c20a86 authored by fbarchard@google.com's avatar fbarchard@google.com

Fix movdqu in yuy2

BUG=none
TEST=ToYUY2*
Review URL: https://webrtc-codereview.appspot.com/1271005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@634 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent f8e90176
Name: libyuv Name: libyuv
URL: http://code.google.com/p/libyuv/ URL: http://code.google.com/p/libyuv/
Version: 633 Version: 634
License: BSD License: BSD
License File: LICENSE License File: LICENSE
......
...@@ -11,6 +11,6 @@ ...@@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT #ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_ #define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 633 #define LIBYUV_VERSION 634
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
...@@ -5117,9 +5117,9 @@ void I422ToYUY2Row_SSE2(const uint8* src_y, ...@@ -5117,9 +5117,9 @@ void I422ToYUY2Row_SSE2(const uint8* src_y,
"movq (%1,%2,1),%%xmm3 \n" "movq (%1,%2,1),%%xmm3 \n"
"lea 0x8(%1),%1 \n" "lea 0x8(%1),%1 \n"
"punpcklbw %%xmm3,%%xmm2 \n" "punpcklbw %%xmm3,%%xmm2 \n"
"movdqa (%0),%%xmm0 \n" "movdqu (%0),%%xmm0 \n"
"lea 0x10(%0),%0 \n" "lea 0x10(%0),%0 \n"
"movdqu %%xmm0,%%xmm1 \n" "movdqa %%xmm0,%%xmm1 \n"
"punpcklbw %%xmm2,%%xmm0 \n" "punpcklbw %%xmm2,%%xmm0 \n"
"punpckhbw %%xmm2,%%xmm1 \n" "punpckhbw %%xmm2,%%xmm1 \n"
"movdqu %%xmm0,(%3) \n" "movdqu %%xmm0,(%3) \n"
......
...@@ -6146,7 +6146,7 @@ void I422ToYUY2Row_SSE2(const uint8* src_y, ...@@ -6146,7 +6146,7 @@ void I422ToYUY2Row_SSE2(const uint8* src_y,
punpcklbw xmm2, xmm3 // UV punpcklbw xmm2, xmm3 // UV
movdqu xmm0, [eax] // Y movdqu xmm0, [eax] // Y
lea eax, [eax + 16] lea eax, [eax + 16]
movdqu xmm1, xmm0 movdqa xmm1, xmm0
punpcklbw xmm0, xmm2 // YUYV punpcklbw xmm0, xmm2 // YUYV
punpckhbw xmm1, xmm2 punpckhbw xmm1, xmm2
movdqu [edi], xmm0 movdqu [edi], xmm0
......
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