projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faf6d69
)
Take idct permutation into account when initializing dequantization matrices
author
David Conrad
<lessen42@gmail.com>
Wed, 17 Sep 2008 19:29:40 +0000
(19:29 +0000)
committer
David Conrad
<lessen42@gmail.com>
Wed, 17 Sep 2008 19:29:40 +0000
(19:29 +0000)
Originally committed as revision 15344 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/vp3.c
patch
|
blob
|
history
diff --git
a/libavcodec/vp3.c
b/libavcodec/vp3.c
index
ff0b5b6
..
ae013c7
100644
(file)
--- a/
libavcodec/vp3.c
+++ b/
libavcodec/vp3.c
@@
-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);
}
}
}