Created
September 2, 2012 19:05
-
-
Save Themaister/3603273 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 5ab0d3f0abbb4ffbe9613110f8d4b9f4a0a68df5 | |
Author: Hans-Kristian Arntzen <[email protected]> | |
Date: Sun Sep 2 21:03:40 2012 +0200 | |
Remove redundant mask in STORE_BGR24_MMX. | |
diff --git a/libswscale/x86/rgb2rgb_template.c b/libswscale/x86/rgb2rgb_template.c | |
index 7eee075..1856b35 100644 | |
--- a/libswscale/x86/rgb2rgb_template.c | |
+++ b/libswscale/x86/rgb2rgb_template.c | |
@@ -127,8 +127,6 @@ static inline void RENAME(rgb24tobgr32)(const uint8_t *src, uint8_t *dst, int | |
"movq %%mm4, %%mm3 \n\t" \ | |
"psllq $48, %%mm2 \n\t" \ | |
"psllq $32, %%mm3 \n\t" \ | |
- "pand "MANGLE(mask24hh)", %%mm2\n\t" \ | |
- "pand "MANGLE(mask24hhh)", %%mm3\n\t" \ | |
"por %%mm2, %%mm0 \n\t" \ | |
"psrlq $16, %%mm1 \n\t" \ | |
"psrlq $32, %%mm4 \n\t" \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment