aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/i386/dsputil_h264_template_mmx.c
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2005-06-02 20:45:35 +0000
committerLoren Merritt <lorenm@u.washington.edu>2005-06-02 20:45:35 +0000
commitd2bb7db135a19e50b891665e4769ce34346135c3 (patch)
tree4b5a60ec7d1414fa8f561a4fe9fe3d9bf4105124 /libavcodec/i386/dsputil_h264_template_mmx.c
parentc26ae41db21d6a7d5092b3cb51ce2e4866b076ae (diff)
downloadffmpeg-d2bb7db135a19e50b891665e4769ce34346135c3.tar.gz
sort H.264 mmx dsp functions into their own file
Originally committed as revision 4338 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/dsputil_h264_template_mmx.c')
-rw-r--r--libavcodec/i386/dsputil_h264_template_mmx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/i386/dsputil_h264_template_mmx.c b/libavcodec/i386/dsputil_h264_template_mmx.c
index 516a477a64..4cd4d52d85 100644
--- a/libavcodec/i386/dsputil_h264_template_mmx.c
+++ b/libavcodec/i386/dsputil_h264_template_mmx.c
@@ -50,7 +50,7 @@ static void H264_CHROMA_MC8_TMPL(uint8_t *dst/*align 8*/, uint8_t *src/*align 1*
"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 @@ static void H264_CHROMA_MC8_TMPL(uint8_t *dst/*align 8*/, uint8_t *src/*align 1*
"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;
}
}