Merge "sdm: add content type transition for detail enhancer"
diff --git a/sdm/libs/core/display_base.cpp b/sdm/libs/core/display_base.cpp
index e14268c..331a0cc 100644
--- a/sdm/libs/core/display_base.cpp
+++ b/sdm/libs/core/display_base.cpp
@@ -4067,6 +4067,19 @@
}
}
+ switch (de_tuning_cfg_data->params.content_type) {
+ case kDeContentTypeVideo:
+ de_data.content_type = kContentTypeVideo;
+ break;
+ case kDeContentTypeGraphics:
+ de_data.content_type = kContentTypeGraphics;
+ break;
+ case kDeContentTypeUnknown:
+ default:
+ de_data.content_type = kContentTypeUnknown;
+ break;
+ }
+
if (de_tuning_cfg_data->params.flags & kDeTuningFlagDeBlend) {
de_data.override_flags |= kOverrideDEBlend;
de_data.de_blend = de_tuning_cfg_data->params.de_blend;