mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
hdr: fix hdr too dark [1/1]
PD#SWPL-12292 Problem: hdr video is too dark Solution: correct hdr adps shift Verify: verify on TM2 Change-Id: Iabd91d7b5910384c7de34596c3804b07b6eaf203 Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
This commit is contained in:
@@ -1576,9 +1576,9 @@ void set_hdr_matrix(
|
||||
/*shift0 is for x coordinate*/
|
||||
/*shift1 is for scale multiple*/
|
||||
if (hdr_mtx_param->p_sel == HDR_SDR) {
|
||||
adpscl_shift[0] = adp_scal_x_shift - 1;
|
||||
adpscl_shift[0] = adp_scal_x_shift;
|
||||
adpscl_shift[1] = OO_NOR -
|
||||
_log2((1 << OO_NOR) / oo_y_lut_hdr_sdr[148] - 1);
|
||||
_log2((1 << OO_NOR) / oo_y_lut_hdr_sdr[148]);
|
||||
} else if (hdr_mtx_param->p_sel == HDR_HLG) {
|
||||
adpscl_shift[0] = adp_scal_x_shift;
|
||||
adpscl_shift[1] = OO_NOR -
|
||||
|
||||
Reference in New Issue
Block a user