Add alternative mbtree analysis models
Add an analysis model based on counts, and another
based on reduction in cost for inter vs. intra for
every block tested.
Also includes some refactoring and fixes.
One major fix is to anchor the Tplstats on display
frame indices rather than on gf_group coded frame
indices.
Change-Id: Ic90a69a4c455b3faee1896f312e4f57fce702182
diff --git a/av1/encoder/rd.h b/av1/encoder/rd.h
index 78f0052..2d73095 100644
--- a/av1/encoder/rd.h
+++ b/av1/encoder/rd.h
@@ -291,6 +291,7 @@
int RDMULT;
double r0;
+ double mc_saved_base, mc_count_base;
} RD_OPT;
static INLINE void av1_init_rd_stats(RD_STATS *rd_stats) {