Mercurial > libavcodec.hg
diff dsputil.c @ 945:463f7260b155 libavcodec
trellis quantization
author | michaelni |
---|---|
date | Tue, 31 Dec 2002 17:23:56 +0000 |
parents | caa77cd960c0 |
children | 13aec7e50c52 |
line wrap: on
line diff
--- a/dsputil.c Mon Dec 30 23:00:02 2002 +0000 +++ b/dsputil.c Tue Dec 31 17:23:56 2002 +0000 @@ -1467,10 +1467,10 @@ return pix_abs8x8_c(a,b,stride); } -void ff_block_permute(INT16 *block, UINT8 *permutation, const UINT8 *scantable, int last) +void ff_block_permute(DCTELEM *block, UINT8 *permutation, const UINT8 *scantable, int last) { int i; - INT16 temp[64]; + DCTELEM temp[64]; if(last<=0) return; //if(permutation[1]==1) return; //FIXME its ok but not clean and might fail for some perms