Commit 411f9e2b authored by Paul Wilkins's avatar Paul Wilkins Committed by Gerrit Code Review
Browse files

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

parents 5f0ea6cc 9fb4c9a4
...@@ -465,6 +465,7 @@ void vp8_update_mode_context(VP8_COMMON *pc) { ...@@ -465,6 +465,7 @@ void vp8_update_mode_context(VP8_COMMON *pc) {
} }
} }
#ifdef MODE_STATS
#include "vp8/common/modecont.h" #include "vp8/common/modecont.h"
void print_mode_contexts(VP8_COMMON *pc) { void print_mode_contexts(VP8_COMMON *pc) {
int j, i; int j, i;
...@@ -482,19 +483,8 @@ void print_mode_contexts(VP8_COMMON *pc) { ...@@ -482,19 +483,8 @@ void print_mode_contexts(VP8_COMMON *pc) {
} }
printf("\n"); 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_TESTING
#define MODE_COUNT_SAT 20 #define MODE_COUNT_SAT 20
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment