diff vp3dsp.c @ 2692:fb8f26fc57eb libavcodec

remove permutation done to quant tables and then undone during idct move permutation from idct to unpack_vlcs
author michael
date Tue, 17 May 2005 09:18:49 +0000
parents f65d87bfdd5a
children 02925a3903b6
line wrap: on
line diff
--- a/vp3dsp.c	Tue May 17 09:11:48 2005 +0000
+++ b/vp3dsp.c	Tue May 17 09:18:49 2005 +0000
@@ -53,11 +53,10 @@
     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 */