mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
hdr: fix hlg2hdr green screen issue [1/1]
PD#SWPL-12079 Problem: hlg2hdr convert video green Solution: hlg2hdr mtx conver coef is wrong Verify: verify on sm1 Change-Id: I7d16bb35a4f5ec94da70c3d3c60daefa96743ac2 Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
This commit is contained in:
committed by
Luan Yuan
parent
16cb000f96
commit
466000cf33
@@ -2170,6 +2170,16 @@ void hdr_func(enum hdr_module_sel module_sel,
|
||||
hdr_mtx_param.mtx_out[i] = rgb2ycbcr_ncl2020[i];
|
||||
if (i < 9)
|
||||
hdr_mtx_param.mtx_gamut[i] = bypass_coeff[i];
|
||||
if (i < 3) {
|
||||
hdr_mtx_param.mtxi_pre_offset[i] =
|
||||
yuv2rgbpre[i];
|
||||
hdr_mtx_param.mtxi_pos_offset[i] =
|
||||
yuv2rgbpos[i];
|
||||
hdr_mtx_param.mtxo_pre_offset[i] =
|
||||
rgb2yuvpre[i];
|
||||
hdr_mtx_param.mtxo_pos_offset[i] =
|
||||
rgb2yuvpos[i];
|
||||
}
|
||||
}
|
||||
hdr_mtx_param.mtx_on = MTX_ON;
|
||||
hdr_mtx_param.p_sel = HLG_HDR;
|
||||
|
||||
Reference in New Issue
Block a user