shithub: libvpx

Download patch

ref: 411f9e2b7f1cb93e6251421faf433b0b2f56e0b0
parent: 5f0ea6cc5b48f27cf9936f40e5bb5943564f1a2d
parent: 9fb4c9a47d071aa62883b426b1531ac1d77e566f
author: Paul Wilkins <paulwilkins@google.com>
date: Tue Oct 30 04:52:40 EDT 2012

Merge "entropymode: put print_mode_contexts under #ifdef MODE_STATS." into experimental

--- a/vp8/common/entropymode.c
+++ b/vp8/common/entropymode.c
@@ -465,6 +465,7 @@
   }
 }
 
+#ifdef MODE_STATS
 #include "vp8/common/modecont.h"
 void print_mode_contexts(VP8_COMMON *pc) {
   int j, i;
@@ -482,19 +483,8 @@
     }
     printf("\n");
   }
-
 }
-void print_mv_ref_cts(VP8_COMMON *pc) {
-  int j, i;
-  for (j = 0; j < 6; j++) {
-    for (i = 0; i < 4; i++) {
-      printf("(%4d:%4d) ",
-             pc->fc.mv_ref_ct[j][i][0],
-             pc->fc.mv_ref_ct[j][i][1]);
-    }
-    printf("\n");
-  }
-}
+#endif
 
 // #define MODE_COUNT_TESTING
 #define MODE_COUNT_SAT 20