Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_color.c193 u32 abs_coeff = clamp_val(CTM_COEFF_ABS(user_coeff), 0, in ctm_mult_by_limited() local
201 result[i] = mul_u32_u32(limited_coeff, abs_coeff) >> 30; in ctm_mult_by_limited()
463 u64 abs_coeff = ((1ULL << 63) - 1) & input[i]; in ilk_csc_convert_ctm() local
469 abs_coeff = clamp_val(abs_coeff, 0, CTM_COEFF_4_0 - 1); in ilk_csc_convert_ctm()
477 if (abs_coeff < CTM_COEFF_0_125) in ilk_csc_convert_ctm()
479 ILK_CSC_COEFF_FP(abs_coeff, 12); in ilk_csc_convert_ctm()
480 else if (abs_coeff < CTM_COEFF_0_25) in ilk_csc_convert_ctm()
482 ILK_CSC_COEFF_FP(abs_coeff, 11); in ilk_csc_convert_ctm()
483 else if (abs_coeff < CTM_COEFF_0_5) in ilk_csc_convert_ctm()
485 ILK_CSC_COEFF_FP(abs_coeff, 10); in ilk_csc_convert_ctm()
[all …]