diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2001-08-07 22:48:42 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2001-08-07 22:48:42 +0000 |
commit | 4f1c7e3c927adb66b928308df2446542c17503c0 (patch) | |
tree | 8f594867985f8a3521d5c02bc0afd1651465d870 /libavcodec | |
parent | 689b775b8522286a3f50c134391caeb58abea506 (diff) |
fixed block permutation in encoder (not optimal - should move it in forward DCT code)
Originally committed as revision 51 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mpegvideo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index c046dd2315..a2b1cb61eb 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -1068,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) |