Mercurial > libavcodec.hg
changeset 4589:30261f4ed12d libavcodec
Fix wrong conditional, Snow decoding, not encoding, was SIMD-accelerated.
author | diego |
---|---|
date | Sat, 24 Feb 2007 11:58:52 +0000 |
parents | fc155ff94878 |
children | 7cb6b1272f34 |
files | i386/dsputil_mmx.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/i386/dsputil_mmx.c Sat Feb 24 09:41:43 2007 +0000 +++ b/i386/dsputil_mmx.c Sat Feb 24 11:58:52 2007 +0000 @@ -3037,7 +3037,7 @@ asm volatile("emms"); } -#ifdef CONFIG_SNOW_ENCODER +#ifdef CONFIG_SNOW_DECODER extern void ff_snow_horizontal_compose97i_sse2(DWTELEM *b, int width); extern void ff_snow_horizontal_compose97i_mmx(DWTELEM *b, int width); extern void ff_snow_vertical_compose97i_sse2(DWTELEM *b0, DWTELEM *b1, DWTELEM *b2, DWTELEM *b3, DWTELEM *b4, DWTELEM *b5, int width); @@ -3462,7 +3462,7 @@ c->avg_h264_chroma_pixels_tab[1]= avg_h264_chroma_mc4_3dnow; } -#ifdef CONFIG_SNOW_ENCODER +#ifdef CONFIG_SNOW_DECODER if(mm_flags & MM_SSE2){ c->horizontal_compose97i = ff_snow_horizontal_compose97i_sse2; c->vertical_compose97i = ff_snow_vertical_compose97i_sse2;