summaryrefslogtreecommitdiff
path: root/libavcodec/i386/dsputil_mmx.c
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2006-08-03 07:09:29 +0000
committerLoren Merritt <lorenm@u.washington.edu>2006-08-03 07:09:29 +0000
commitcd035a6051bbaffa3f7f180e8b72d4b0741a8cec (patch)
treefb14230509d92d3e97c69121c3553b18eb7aed74 /libavcodec/i386/dsputil_mmx.c
parent32e8763103f52ae7240910cd54e588300541cde7 (diff)
10l, vorbis_inverse_coupling_sse() was really 3dnow
Originally committed as revision 5903 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/dsputil_mmx.c')
-rw-r--r--libavcodec/i386/dsputil_mmx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c
index afcb02e4db..1ac521ec67 100644
--- a/libavcodec/i386/dsputil_mmx.c
+++ b/libavcodec/i386/dsputil_mmx.c
@@ -2711,7 +2711,7 @@ static void ff_idct_xvid_mmx2_add(uint8_t *dest, int line_size, DCTELEM *block)
}
#endif
-static void vorbis_inverse_coupling_sse(float *mag, float *ang, int blocksize)
+static void vorbis_inverse_coupling_3dnow(float *mag, float *ang, int blocksize)
{
int i;
asm volatile("pxor %%mm7, %%mm7":);
@@ -3193,8 +3193,8 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
if(mm_flags & MM_SSE2)
c->vorbis_inverse_coupling = vorbis_inverse_coupling_sse2;
- else if(mm_flags & MM_SSE)
- c->vorbis_inverse_coupling = vorbis_inverse_coupling_sse;
+ else if(mm_flags & MM_3DNOW)
+ c->vorbis_inverse_coupling = vorbis_inverse_coupling_3dnow;
}
#ifdef CONFIG_ENCODERS