Commit 7ac01f8f authored by Hui Su's avatar Hui Su

intrabc: remove unused counters

The "use_intrabc" flag is signaled with CDF. No need to keep a counter
for it.

Change-Id: Ia62ef8f264aa5ce2f6fceddc0b2a7d2032c73044
parent e8204e33
......@@ -481,7 +481,6 @@ typedef struct FRAME_COUNTS {
unsigned int compound_index[COMP_INDEX_CONTEXTS][2];
#endif // CONFIG_JNT_COMP
#if CONFIG_INTRABC
unsigned int intrabc[2];
nmv_context_counts dv;
#endif
#if CONFIG_LGT_FROM_PRED
......
......@@ -1298,15 +1298,6 @@ static void update_stats(const AV1_COMMON *const cm, ThreadData *td, int mi_row,
}
}
}
#if CONFIG_INTRABC
} else {
if (av1_allow_intrabc(bsize, cm)) {
FRAME_COUNTS *const counts = td->counts;
++counts->intrabc[mbmi->use_intrabc];
} else {
assert(!mbmi->use_intrabc);
}
#endif
}
}
......
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