Home
last modified time | relevance | path

Searched refs:abs_coeff (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_color.c463 abs_coeff = clamp_val(abs_coeff, 0, CTM_COEFF_4_0 - 1); in ilk_csc_convert_ctm()
471 if (abs_coeff < CTM_COEFF_0_125) in ilk_csc_convert_ctm()
473 ILK_CSC_COEFF_FP(abs_coeff, 12); in ilk_csc_convert_ctm()
474 else if (abs_coeff < CTM_COEFF_0_25) in ilk_csc_convert_ctm()
476 ILK_CSC_COEFF_FP(abs_coeff, 11); in ilk_csc_convert_ctm()
477 else if (abs_coeff < CTM_COEFF_0_5) in ilk_csc_convert_ctm()
479 ILK_CSC_COEFF_FP(abs_coeff, 10); in ilk_csc_convert_ctm()
480 else if (abs_coeff < CTM_COEFF_1_0) in ilk_csc_convert_ctm()
482 else if (abs_coeff < CTM_COEFF_2_0) in ilk_csc_convert_ctm()
484 ILK_CSC_COEFF_FP(abs_coeff, 8); in ilk_csc_convert_ctm()
[all …]