Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_color.c187 u32 abs_coeff = clamp_val(CTM_COEFF_ABS(user_coeff), 0, in ctm_mult_by_limited() local
195 result[i] = mul_u32_u32(limited_coeff, abs_coeff) >> 30; in ctm_mult_by_limited()
457 u64 abs_coeff = ((1ULL << 63) - 1) & input[i]; in ilk_csc_convert_ctm() local
463 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()
[all …]