Mercurial > libavcodec.hg
diff i386/dsputil_h264_template_mmx.c @ 2754:a49f140179e9 libavcodec
sort H.264 mmx dsp functions into their own file
author | lorenm |
---|---|
date | Thu, 02 Jun 2005 20:45:35 +0000 |
parents | 473ee06ec3a1 |
children | d772011258ec |
line wrap: on
line diff
--- a/i386/dsputil_h264_template_mmx.c Wed Jun 01 21:19:00 2005 +0000 +++ b/i386/dsputil_h264_template_mmx.c Thu Jun 02 20:45:35 2005 +0000 @@ -50,7 +50,7 @@ "paddw %3, %%mm4\n\t" "psubw %%mm7, %%mm4\n\t" /* mm4 = A = xy - (8x+8y) + 64 */ "pxor %%mm7, %%mm7\n\t" - : "=m" (DD) : "rm" (x), "rm" (y), "m" (sixtyfour)); + : "=m" (DD) : "rm" (x), "rm" (y), "m" (ff_pw_64)); asm volatile("movq %%mm4, %0" : "=m" (AA)); @@ -134,7 +134,7 @@ "packuswb %%mm3, %%mm2\n\t" H264_CHROMA_OP(%0, %%mm2) "movq %%mm2, %0\n\t" - : "=m" (dst[0]) : "m" (thirtytwo)); + : "=m" (dst[0]) : "m" (ff_pw_32)); dst+= stride; } }