vpp: fix p212 osd sdr2hdr luma too dark compile [1/1]

PD#SWPL-1707

Problem:
{NTS}Manual,HDR-001-TC2 Failed step 8/12/16/20 VID
and GFX doesn't match

Solution:
add osd hdr2sdr convert table for 400nit on p212

Verify:
verify on p212

Change-Id: I16637652b6d07ba81b25f46c2684ff7ae3e1c68c
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
This commit is contained in:
MingLiang Dong
2018-11-23 01:28:11 -05:00
committed by Dongjin Kim
parent 70f3e6d013
commit bd1d538535

View File

@@ -1593,7 +1593,7 @@ static unsigned int osd_oetf_41_2084_mapping_100[OSD_OETF_LUT_SIZE] = {
523
};
static const uint osd_eotf_33_709_mapping_290[EOTF_LUT_SIZE] = {
static unsigned int osd_eotf_33_709_mapping_290[EOTF_LUT_SIZE] = {
0, 8, 37, 90, 169, 276, 412, 579,
776, 1006, 1268, 1564, 1894, 2258, 2658, 3094,
3566, 4075, 4621, 5204, 5826, 6486, 7185, 7923,
@@ -1602,7 +1602,7 @@ static const uint osd_eotf_33_709_mapping_290[EOTF_LUT_SIZE] = {
};
/* osd oetf lut: 2084 from baozheng */
static const uint osd_oetf_41_2084_mapping_290[OSD_OETF_LUT_SIZE] = {
static unsigned int osd_oetf_41_2084_mapping_290[OSD_OETF_LUT_SIZE] = {
0, 141, 178, 203, 221, 236, 249, 260,
270, 325, 360, 386, 406, 423, 438, 451,
462, 473, 482, 491, 499, 507, 514, 520,