From f7154c6f4cd705536c952104c4460b3c4a159493 Mon Sep 17 00:00:00 2001 From: Prabhanjan Kandula Date: Fri, 6 Jan 2012 17:02:02 +0530 Subject: [PATCH] hardware/qcom/display: set the default sharpening settings set the default sharpening settings for overlay pipes i.e, sharpening is enabled and sharpening strength to zero. CRs-fixed: 328472 (cherry picked from commit ba5235a66a4424746a6d785f83333b3543dc2dd1) Change-Id: I6e18321e96f74df99ca6c4b63d06bc831f9e81ae --- liboverlay/overlayLib.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/liboverlay/overlayLib.cpp b/liboverlay/overlayLib.cpp index 5578371..c742856 100755 --- a/liboverlay/overlayLib.cpp +++ b/liboverlay/overlayLib.cpp @@ -1191,6 +1191,10 @@ bool OverlayControlChannel::setOverlayInformation(const overlay_buffer_info& inf else mOVInfo.flags &= MDP_SECURE_OVERLAY_SESSION; + //set the default sharpening settings + mOVInfo.flags |= MDP_SHARPENING; + mOVInfo.dpp.sharp_strength = 0; + return true; }