comparison mpegvideo.c @ 882:34943cb0c2fb libavcodec

* remaining part of John Ryland's patch
author kabi
date Fri, 22 Nov 2002 07:24:28 +0000
parents 1c32039e7215
children 35d28522a1c5
comparison
equal deleted inserted replaced
881:d326091dae9f 882:34943cb0c2fb
3072 } 3072 }
3073 } 3073 }
3074 *overflow= s->max_qcoeff < max; //overflow might have happend 3074 *overflow= s->max_qcoeff < max; //overflow might have happend
3075 3075
3076 /* we need this permutation so that we correct the IDCT, we only permute the !=0 elements */ 3076 /* we need this permutation so that we correct the IDCT, we only permute the !=0 elements */
3077 ff_block_permute(block, s->idct_permutation, scantable, last_non_zero); 3077 if (s->idct_permutation_type != FF_NO_IDCT_PERM)
3078 ff_block_permute(block, s->idct_permutation, scantable, last_non_zero);
3078 3079
3079 return last_non_zero; 3080 return last_non_zero;
3080 } 3081 }
3081 3082
3082 static void dct_unquantize_mpeg1_c(MpegEncContext *s, 3083 static void dct_unquantize_mpeg1_c(MpegEncContext *s,