hdr: fix sm1 hdr color abnormal [1/1]
authorMingLiang Dong <mingliang.dong@amlogic.com>
Wed, 8 May 2019 12:32:31 +0000 (20:32 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Thu, 9 May 2019 08:49:09 +0000 (01:49 -0700)
commit41143ad0936d15dac33d2c6c9acc09c314a11a5d
tree95594645cb42739c2e19d8ac2abd8e9c5a80c679
parentbb4b97eadc6552c849d618038b1ad6892e22f317
hdr: fix sm1 hdr color abnormal [1/1]

PD#SWPL-7932

Problem:
sm1 play hdr video, color abnormal

Solution:
cgain coef1 set according to bitdepth

Verify:
verify on sm1

Change-Id: Ibef6e127dde57d47f9b9ec7a4233ee10fe8539d5
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
drivers/amlogic/media/enhancement/amvecm/set_hdr2_v0.c