hdr: config cgain bypass when osd sdr2hdr process [1/1]

PD#SWPL-23499

Problem:
osd sdr2hdr process cause osd color contour

Solution:
1. root cause is cgain curve is not smooth
2. bypass cgain

Verify:
verify on G12A

Change-Id: I81480244c8b13f942ae99b45238d947f874120fe
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
This commit is contained in:
MingLiang Dong
2020-04-02 11:26:56 +08:00
committed by Chris
parent 1ac334bb76
commit ea7a2e66eb

View File

@@ -2428,7 +2428,7 @@ enum hdr_process_sel hdr_func(enum hdr_module_sel module_sel,
hdr_lut_param.eotf_lut[i] = eo_y_lut_sdr[i];
if (i < HDR2_CGAIN_LUT_SIZE)
hdr_lut_param.cgain_lut[i] =
cgain_lut0[i] - 1;
cgain_lut_bypass[i] - 1;
}
hdr_lut_param.bitdepth = bit_depth;
hdr_lut_param.lut_on = LUT_ON;