amvecm: fix LC super white/black pattern issue [1/2]
authorXihai Zhu <xihai.zhu@amlogic.com>
Thu, 1 Aug 2019 07:33:13 +0000 (03:33 -0400)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 16 Aug 2019 15:09:12 +0000 (08:09 -0700)
commitdad601e7cff91dc80500b9fd0b3868ae0e83cfc6
tree35e50aee5b0c8d798f88d8d3c10eb9a21ed3e9b9
parentd2cbe18aa30f83e9a96686bb2c75792cf4c88413
amvecm: fix LC super white/black pattern issue [1/2]

PD#SWPL-12142

Problem:
signal level of 107% block of super white/black pattern
diff via enable/disable LC

Solution:
it is special limit range pattern but some pixels
value > 235, use full range matrix to avoid clipping,
this is per VLSI'e suggestion

Verify:
tl1

Change-Id: I82d26105a2404218b0c575a578874f88ae75d6c9
Signed-off-by: Xihai Zhu <xihai.zhu@amlogic.com>
drivers/amlogic/media/enhancement/amvecm/amvecm.c
drivers/amlogic/media/enhancement/amvecm/local_contrast.c
drivers/amlogic/media/enhancement/amvecm/local_contrast.h