diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-08-07 23:59:50 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-08-07 23:59:50 +0000 |
commit | 4c0836e8f1504db9bbb329a1351050a8ff2cf469 (patch) | |
tree | 5a15df1f39b66be829da3641336d0cac1b846e34 /src/libffmpeg/libavcodec/mpegvideo.c | |
parent | 116de8566118cae73b42132985c174c372ed6c41 (diff) | |
download | xine-lib-4c0836e8f1504db9bbb329a1351050a8ff2cf469.tar.gz xine-lib-4c0836e8f1504db9bbb329a1351050a8ff2cf469.tar.bz2 |
latest ffmpeg updates - mmx works\! :-)
CVS patchset: 400
CVS date: 2001/08/07 23:59:50
Diffstat (limited to 'src/libffmpeg/libavcodec/mpegvideo.c')
-rw-r--r-- | src/libffmpeg/libavcodec/mpegvideo.c | 9 |
1 files changed, 4 insertions, 5 deletions
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) |