Remove ENABLE_KF_TPL flag
The functionality has been subsumed by a speed feature.
Change-Id: I631f5d134eed445422982de4ffcc3b52391763b5
diff --git a/av1/encoder/encoder.h b/av1/encoder/encoder.h
index 0b6b358..e93d2fd 100644
--- a/av1/encoder/encoder.h
+++ b/av1/encoder/encoder.h
@@ -2816,7 +2816,6 @@
#define MAX_GFUBOOST_FACTOR 10.0
#define MIN_GFUBOOST_FACTOR 4.0
-#define ENABLE_KF_TPL 1
#define MAX_PYR_LEVEL_FROMTOP_DELTAQ 0
static INLINE int is_frame_kf_and_tpl_eligible(AV1_COMP *const cpi) {
@@ -2831,12 +2830,8 @@
}
static INLINE int is_frame_tpl_eligible(AV1_COMP *const cpi) {
-#if ENABLE_KF_TPL
return is_frame_kf_and_tpl_eligible(cpi) ||
is_frame_arf_and_tpl_eligible(&cpi->gf_group);
-#else
- return is_frame_arf_and_tpl_eligible(&cpi->gf_group);
-#endif // ENABLE_KF_TPL
}
// Get update type of the current frame.