unaligned raw/rgb24 to ARGB

BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/366014

git-svn-id: http://libyuv.googlecode.com/svn/trunk@163 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
fbarchard@google.com 2012-01-30 23:32:50 +00:00
parent b1dd02d66c
commit 0a5da88f61
3 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
Name: libyuv Name: libyuv
URL: http://code.google.com/p/libyuv/ URL: http://code.google.com/p/libyuv/
Version: 162 Version: 163
License: BSD License: BSD
License File: LICENSE License File: LICENSE

View File

@ -16,7 +16,7 @@ namespace libyuv {
extern "C" { extern "C" {
#endif #endif
#define LIBYUV_VERSION 162 #define LIBYUV_VERSION 163
#ifdef __cplusplus #ifdef __cplusplus
} // extern "C" } // extern "C"

View File

@ -149,9 +149,9 @@ void RGB24ToARGBRow_SSSE3(const uint8* src_rgb24, uint8* dst_argb, int pix) {
"pslld $0x18,%%xmm5 \n" "pslld $0x18,%%xmm5 \n"
"movdqa %3,%%xmm4 \n" "movdqa %3,%%xmm4 \n"
"1: \n" "1: \n"
"movdqa (%0),%%xmm0 \n" "movdqu (%0),%%xmm0 \n"
"movdqa 0x10(%0),%%xmm1 \n" "movdqu 0x10(%0),%%xmm1 \n"
"movdqa 0x20(%0),%%xmm3 \n" "movdqu 0x20(%0),%%xmm3 \n"
"lea 0x30(%0),%0 \n" "lea 0x30(%0),%0 \n"
"movdqa %%xmm3,%%xmm2 \n" "movdqa %%xmm3,%%xmm2 \n"
"palignr $0x8,%%xmm1,%%xmm2 \n" "palignr $0x8,%%xmm1,%%xmm2 \n"
@ -189,9 +189,9 @@ void RAWToARGBRow_SSSE3(const uint8* src_raw, uint8* dst_argb, int pix) {
"pslld $0x18,%%xmm5 \n" "pslld $0x18,%%xmm5 \n"
"movdqa %3,%%xmm4 \n" "movdqa %3,%%xmm4 \n"
"1: \n" "1: \n"
"movdqa (%0),%%xmm0 \n" "movdqu (%0),%%xmm0 \n"
"movdqa 0x10(%0),%%xmm1 \n" "movdqu 0x10(%0),%%xmm1 \n"
"movdqa 0x20(%0),%%xmm3 \n" "movdqu 0x20(%0),%%xmm3 \n"
"lea 0x30(%0),%0 \n" "lea 0x30(%0),%0 \n"
"movdqa %%xmm3,%%xmm2 \n" "movdqa %%xmm3,%%xmm2 \n"
"palignr $0x8,%%xmm1,%%xmm2 \n" "palignr $0x8,%%xmm1,%%xmm2 \n"