[FFmpeg-cvslog] Remove redundant masks in STORE_BGR24_MMX.

Hans-Kristian Arntzen git at videolan.org
Sun Sep 2 22:18:55 CEST 2012


ffmpeg | branch: master | Hans-Kristian Arntzen <maister at archlinux.us> | Sun Sep  2 21:52:40 2012 +0200| [f099fbf5f3ac1d6b3753fc8dfda6558572111fbd] | committer: Michael Niedermayer

Remove redundant masks in STORE_BGR24_MMX.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f099fbf5f3ac1d6b3753fc8dfda6558572111fbd
---

 libswscale/x86/rgb2rgb_template.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/libswscale/x86/rgb2rgb_template.c b/libswscale/x86/rgb2rgb_template.c
index 7eee075..6584249 100644
--- 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" \



More information about the ffmpeg-cvslog mailing list