projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50b0ede
)
Remove redundant masks in STORE_BGR24_MMX.
author
Hans-Kristian Arntzen
<maister@archlinux.us>
Sun, 2 Sep 2012 19:52:40 +0000
(21:52 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 2 Sep 2012 19:56:50 +0000
(21:56 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswscale/x86/rgb2rgb_template.c
patch
|
blob
|
history
diff --git
a/libswscale/x86/rgb2rgb_template.c
b/libswscale/x86/rgb2rgb_template.c
index
7eee075
..
6584249
100644
(file)
--- a/
libswscale/x86/rgb2rgb_template.c
+++ b/
libswscale/x86/rgb2rgb_template.c
@@
-127,14
+127,11
@@
static inline void RENAME(rgb24tobgr32)(const uint8_t *src, uint8_t *dst, int sr
"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" \
"psllq $16, %%mm5 \n\t" \
"por %%mm3, %%mm1 \n\t" \
- "pand "MANGLE(mask24hhhh)", %%mm5\n\t" \
"por %%mm5, %%mm4 \n\t" \
\
MOVNTQ" %%mm0, (%0) \n\t" \