]> granicus.if.org Git - libvpx/commitdiff
Remove unused function count_tokens() in detokenize.c.
authorRonald S. Bultje <rbultje@google.com>
Sat, 17 Nov 2012 15:45:46 +0000 (07:45 -0800)
committerRonald S. Bultje <rbultje@google.com>
Sat, 17 Nov 2012 15:45:46 +0000 (07:45 -0800)
Change-Id: I178f250b1a4d41d5a9c1619091f5ae51cebffb10

vp9/decoder/detokenize.c

index cf3a958445a681616e4ee13815573b22d8ecc449..c6fd60ad4277636c9354fcfb4a797d3fa4b36b3b 100644 (file)
@@ -179,25 +179,6 @@ void static count_tokens_adaptive_scan(const MACROBLOCKD *xd, INT16 *qcoeff_ptr,
   }
 }
 
-void static count_tokens(INT16 *qcoeff_ptr, int block, PLANE_TYPE type,
-                         ENTROPY_CONTEXT *a, ENTROPY_CONTEXT *l,
-                         int eob, int seg_eob, FRAME_CONTEXT *const fc) {
-  int c, pt, token, band;
-  VP9_COMBINEENTROPYCONTEXTS(pt, *a, *l);
-  for (c = !type; c < eob; ++c) {
-    int rc = vp9_default_zig_zag1d[c];
-    int v = qcoeff_ptr[rc];
-    band = vp9_coef_bands[c];
-    token = get_token(v);
-    fc->coef_counts[type][band][pt][token]++;
-    pt = vp9_prev_token_class[token];
-  }
-  if (eob < seg_eob) {
-    band = vp9_coef_bands[c];
-    fc->coef_counts[type][band][pt][DCT_EOB_TOKEN]++;
-  }
-}
-
 void static count_tokens_8x8(INT16 *qcoeff_ptr, int block, PLANE_TYPE type,
                              TX_TYPE tx_type,
                              ENTROPY_CONTEXT *a, ENTROPY_CONTEXT *l,