Enable screen content decision in single pass
The function screen_content_tools_determination
is now used in single pass also.
Change-Id: If92aa91e8b7e7dbf1b7f9f292e9314e79122d255
diff --git a/av1/encoder/encoder.c b/av1/encoder/encoder.c
index 93eefca..5bf61d1 100644
--- a/av1/encoder/encoder.c
+++ b/av1/encoder/encoder.c
@@ -5301,8 +5301,6 @@
// This function modifies "cm->features.allow_screen_content_tools",
// "cm->features.allow_intrabc" and "cpi->is_screen_content_type".
static void determine_sc_tools_with_encoding(AV1_COMP *cpi, const int q_orig) {
- if (!is_stat_consumption_stage_twopass(cpi)) return;
-
AV1_COMMON *const cm = &cpi->common;
// Variables to help determine if we should allow screen content tools.
int projected_size_pass[3] = { 0 };