shithub: libvpx

Download patch

ref: 18e42dddf26dd9e47d5058c95316e3739d85835d
parent: d0b525656b7708b0b70c8ecd438e0236f2fa6d37
parent: 3bdf302ce7996a9d5e5ec0781386bbbb292240d2
author: Ronald S. Bultje <rbultje@google.com>
date: Sat Nov 17 09:41:07 EST 2012

Merge "Remove unused argument from decode_coefs() function prototype." into experimental

--- a/vp9/decoder/detokenize.c
+++ b/vp9/decoder/detokenize.c
@@ -123,7 +123,7 @@
                         ENTROPY_CONTEXT *a, ENTROPY_CONTEXT *l,
                         PLANE_TYPE type,
                         TX_TYPE tx_type,
-                        int seg_eob, INT16 *qcoeff_ptr, int i,
+                        int seg_eob, INT16 *qcoeff_ptr,
                         const int *const scan, int block_type,
                         const int *coef_bands) {
   FRAME_CONTEXT *const fc = &dx->common.fc;
@@ -275,9 +275,8 @@
   {
     const int* const scan = vp9_default_zig_zag1d_16x16;
     c = decode_coefs(pbi, xd, bc, A, L, type,
-                     tx_type,
-                     seg_eob, qcoeff_ptr,
-                     0, scan, TX_16X16, vp9_coef_bands_16x16);
+                     tx_type, seg_eob, qcoeff_ptr,
+                     scan, TX_16X16, vp9_coef_bands_16x16);
     eobs[0] = c;
     A[0] = L[0] = (c != !type);
     A[1] = A[2] = A[3] = A[0];
@@ -296,9 +295,8 @@
     const int* const scan = vp9_default_zig_zag1d_8x8;
 
     c = decode_coefs(pbi, xd, bc, a, l, type,
-                     tx_type,
-                     seg_eob, qcoeff_ptr,
-                     i, scan, TX_8X8, vp9_coef_bands_8x8);
+                     tx_type, seg_eob, qcoeff_ptr,
+                     scan, TX_8X8, vp9_coef_bands_8x8);
     a[0] = l[0] = ((eobs[i] = c) != !type);
     a[1] = a[0];
     l[1] = l[0];
@@ -336,9 +334,8 @@
 
     seg_eob = get_eob(xd, segment_id, 4);
     c = decode_coefs(pbi, xd, bc, a, l, type,
-                     tx_type,
-                     seg_eob, qcoeff_ptr + 24 * 16,
-                     24, scan, TX_8X8, vp9_coef_bands);
+                     tx_type, seg_eob, qcoeff_ptr + 24 * 16,
+                     scan, TX_8X8, vp9_coef_bands);
     a[0] = l[0] = ((eobs[24] = c) != !type);
 
     eobtotal += c - 4;
@@ -362,9 +359,8 @@
     }
 
     c = decode_coefs(pbi, xd, bc, a, l, type,
-                     tx_type,
-                     seg_eob, qcoeff_ptr,
-                     i, scan, TX_8X8, vp9_coef_bands_8x8);
+                     tx_type, seg_eob, qcoeff_ptr,
+                     scan, TX_8X8, vp9_coef_bands_8x8);
     a[0] = l[0] = ((eobs[i] = c) != !type);
     a[1] = a[0];
     l[1] = l[0];
@@ -385,9 +381,8 @@
       const int *scan = vp9_default_zig_zag1d;
 
       c = decode_coefs(pbi, xd, bc, a, l, type,
-                       tx_type,
-                       seg_eob, qcoeff_ptr,
-                       i, scan, TX_4X4, vp9_coef_bands);
+                       tx_type, seg_eob, qcoeff_ptr,
+                       scan, TX_4X4, vp9_coef_bands);
       a[0] = l[0] = ((eobs[i] = c) != !type);
 
       eobtotal += c;
@@ -428,9 +423,8 @@
       break;
   }
   c = decode_coefs(dx, xd, bc, a, l, type,
-                   tx_type,
-                   seg_eob, qcoeff_ptr + i * 16,
-                   i, scan, TX_4X4, vp9_coef_bands);
+                   tx_type, seg_eob, qcoeff_ptr + i * 16,
+                   scan, TX_4X4, vp9_coef_bands);
   a[0] = l[0] = ((eobs[i] = c) != !type);
   return c;
 }