Mercurial > libavcodec.hg
changeset 7875:a57aee2e0ae0 libavcodec
Take idct permutation into account when initializing dequantization matrices
author | conrad |
---|---|
date | Wed, 17 Sep 2008 19:29:40 +0000 |
parents | 29010c2697da |
children | 3fd591f125b5 |
files | vp3.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/vp3.c Wed Sep 17 19:26:37 2008 +0000 +++ b/vp3.c Wed Sep 17 19:29:40 2008 +0000 @@ -627,7 +627,7 @@ int qmin= 8<<(inter + !i); int qscale= i ? ac_scale_factor : dc_scale_factor; - s->qmat[inter][plane][i]= av_clip((qscale * coeff)/100 * 4, qmin, 4096); + s->qmat[inter][plane][s->dsp.idct_permutation[i]]= av_clip((qscale * coeff)/100 * 4, qmin, 4096); } } }