From 4c0836e8f1504db9bbb329a1351050a8ff2cf469 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Tue, 7 Aug 2001 23:59:50 +0000 Subject: latest ffmpeg updates - mmx works\! :-) CVS patchset: 400 CVS date: 2001/08/07 23:59:50 --- src/libffmpeg/libavcodec/mpegvideo.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/libffmpeg/libavcodec/mpegvideo.c') diff --git a/src/libffmpeg/libavcodec/mpegvideo.c b/src/libffmpeg/libavcodec/mpegvideo.c index 8a5745a8f..a2b1cb61e 100644 --- a/src/libffmpeg/libavcodec/mpegvideo.c +++ b/src/libffmpeg/libavcodec/mpegvideo.c @@ -28,11 +28,6 @@ #include "fastmemcpy.h" #endif -/* FIXME */ -#ifdef ARCH_X86 -#define HAVE_MMX -#endif - static void encode_picture(MpegEncContext *s, int picture_number); static void rate_control_init(MpegEncContext *s); static int rate_estimate_qscale(MpegEncContext *s); @@ -1073,6 +1068,10 @@ static int dct_quantize_mmx(MpegEncContext *s, const int *qmat; av_fdct (block); + + /* we need this permutation so that we correct the IDCT + permutation. will be moved into DCT code */ + block_permute(block); if (s->mb_intra) { if (n < 4) -- cgit v1.2.3