Commit deb53905 authored by lorenm's avatar lorenm

10l, vorbis_inverse_coupling_sse() was really 3dnow


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5903 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 63ff3f5a
...@@ -2711,7 +2711,7 @@ static void ff_idct_xvid_mmx2_add(uint8_t *dest, int line_size, DCTELEM *block) ...@@ -2711,7 +2711,7 @@ static void ff_idct_xvid_mmx2_add(uint8_t *dest, int line_size, DCTELEM *block)
} }
#endif #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; int i;
asm volatile("pxor %%mm7, %%mm7":); asm volatile("pxor %%mm7, %%mm7":);
...@@ -3193,8 +3193,8 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx) ...@@ -3193,8 +3193,8 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
if(mm_flags & MM_SSE2) if(mm_flags & MM_SSE2)
c->vorbis_inverse_coupling = vorbis_inverse_coupling_sse2; c->vorbis_inverse_coupling = vorbis_inverse_coupling_sse2;
else if(mm_flags & MM_SSE) else if(mm_flags & MM_3DNOW)
c->vorbis_inverse_coupling = vorbis_inverse_coupling_sse; c->vorbis_inverse_coupling = vorbis_inverse_coupling_3dnow;
} }
#ifdef CONFIG_ENCODERS #ifdef CONFIG_ENCODERS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment