mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
Take idct permutation into account when initializing dequantization matrices
Originally committed as revision 15344 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
faf6d6964b
commit
7f065b36c8
@ -627,7 +627,7 @@ static void init_dequantizer(Vp3DecodeContext *s)
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user