[FFmpeg-cvslog] merge read and and in add_paeth_prediction

Michael Niedermayer git at videolan.org
Wed Apr 27 20:09:39 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Apr 27 19:01:33 2011 +0200| [afd2371d5c53e197128719196e7586d653ce931b] | committer: Michael Niedermayer

merge read and and in add_paeth_prediction
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/x86/png_mmx.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/libavcodec/x86/png_mmx.c b/libavcodec/x86/png_mmx.c
index cdf0359..6e4c06c 100644
--- a/libavcodec/x86/png_mmx.c
+++ b/libavcodec/x86/png_mmx.c
@@ -87,11 +87,10 @@ static void add_paeth_prediction_##cpu(uint8_t *dst, uint8_t *src, uint8_t *top,
         "pand      %%mm1, %%mm6 \n"\
         "pand      %%mm4, %%mm2 \n"\
         "punpcklbw %%mm7, %%mm0 \n"\
-        "movq      %6,    %%mm5 \n"\
         "paddw     %%mm6, %%mm0 \n"\
         "paddw     %%mm2, %%mm3 \n"\
         "paddw     %%mm3, %%mm0 \n"\
-        "pand      %%mm5, %%mm0 \n"\
+        "pand      %6   , %%mm0 \n"\
         "movq      %%mm0, %%mm3 \n"\
         "packuswb  %%mm3, %%mm3 \n"\
         "movd      %%mm3, (%1,%0) \n"\



More information about the ffmpeg-cvslog mailing list