Mercurial > libavcodec.hg
comparison mpegvideo.c @ 704:9b35329086c7 libavcodec
An easy way to speed up encoding by 6%.
author | mellum |
---|---|
date | Sat, 28 Sep 2002 02:18:34 +0000 |
parents | 85b071dfc7e3 |
children | e65798d228ea |
comparison
equal
deleted
inserted
replaced
703:65f9e32225ba | 704:9b35329086c7 |
---|---|
2747 int max=0; | 2747 int max=0; |
2748 unsigned int threshold1, threshold2; | 2748 unsigned int threshold1, threshold2; |
2749 | 2749 |
2750 s->fdct (block); | 2750 s->fdct (block); |
2751 | 2751 |
2752 #ifndef ARCH_ALPHA /* Alpha uses unpermuted matrix */ | |
2752 /* we need this permutation so that we correct the IDCT | 2753 /* we need this permutation so that we correct the IDCT |
2753 permutation. will be moved into DCT code */ | 2754 permutation. will be moved into DCT code */ |
2754 block_permute(block); | 2755 block_permute(block); |
2756 #endif | |
2755 | 2757 |
2756 if (s->mb_intra) { | 2758 if (s->mb_intra) { |
2757 if (!s->h263_aic) { | 2759 if (!s->h263_aic) { |
2758 if (n < 4) | 2760 if (n < 4) |
2759 q = s->y_dc_scale; | 2761 q = s->y_dc_scale; |