diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-05-17 09:18:49 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-05-17 09:18:49 +0000 |
commit | ea191e08d6cefad09bfb1e6d9317874dfd4080be (patch) | |
tree | 104d512229ce7b989ffaf86773da0dd342b6199d /libavcodec/vp3dsp.c | |
parent | b178f758fae759f9e2d3f02961bd0cd3d04c0d0a (diff) | |
download | ffmpeg-ea191e08d6cefad09bfb1e6d9317874dfd4080be.tar.gz |
remove permutation done to quant tables and then undone during idct
move permutation from idct to unpack_vlcs
Originally committed as revision 4256 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp3dsp.c')
-rw-r--r-- | libavcodec/vp3dsp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/vp3dsp.c b/libavcodec/vp3dsp.c index 9c9530d05b..8cf77a25af 100644 --- a/libavcodec/vp3dsp.c +++ b/libavcodec/vp3dsp.c @@ -53,11 +53,10 @@ void vp3_idct_c(int16_t *input_data, int16_t *dequant_matrix, int32_t t1, t2; int i, j; - + /* de-zigzag and dequantize */ for (i = 0; i < coeff_count; i++) { - j = dezigzag_index[i]; - dequantized_data[j] = dequant_matrix[i] * input_data[i]; + dequantized_data[i] = dequant_matrix[i] * input_data[i]; } /* Inverse DCT on the rows now */ |