diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-06-10 14:51:26 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-06-10 14:51:26 +0000 |
commit | 00fc99dd031740dff7cf7741f3272e11cce30f72 (patch) | |
tree | 720947778b4f4f679af7764388febff444bba823 /src/libffmpeg/libavcodec/i386/idct_mmx.c | |
parent | 852adc56c46c1dbe60cb6a0983bdb6bc3d224bd2 (diff) | |
download | xine-lib-00fc99dd031740dff7cf7741f3272e11cce30f72.tar.gz xine-lib-00fc99dd031740dff7cf7741f3272e11cce30f72.tar.bz2 |
sync to ffmpeg cvs, trying to keep differences to a mininum.
diff_to_ffmpeg_cvs.txt updated.
tested only on x86, please report any problems, compilation errors, etc.
alpha architecture added but makefiles were not updated.
CVS patchset: 2058
CVS date: 2002/06/10 14:51:26
Diffstat (limited to 'src/libffmpeg/libavcodec/i386/idct_mmx.c')
-rw-r--r-- | src/libffmpeg/libavcodec/i386/idct_mmx.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/libffmpeg/libavcodec/i386/idct_mmx.c b/src/libffmpeg/libavcodec/i386/idct_mmx.c index 618c1cfde..298c8a8b0 100644 --- a/src/libffmpeg/libavcodec/i386/idct_mmx.c +++ b/src/libffmpeg/libavcodec/i386/idct_mmx.c @@ -528,8 +528,12 @@ static inline void idct_col (int16_t * col, int offset) movq_r2m (mm3, *(col+offset+4*8)); // save y4 movq_r2m (mm4, *(col+offset+3*8)); // save y3 -} +#undef T1 +#undef T2 +#undef T3 +#undef C4 +} static int32_t rounder0[] ATTR_ALIGN(8) = rounder ((1 << (COL_SHIFT - 1)) - 0.5); @@ -547,6 +551,8 @@ static int32_t rounder3[] ATTR_ALIGN(8) = static int32_t rounder5[] ATTR_ALIGN(8) = rounder (-0.441341716183); /* C3*(-C5/C4+C5-C3)/2 */ +#undef COL_SHIFT +#undef ROW_SHIFT #define declare_idct(idct,table,idct_row_head,idct_row,idct_row_tail,idct_row_mid) \ void idct (int16_t * block) \ |