Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/display/
Dintel_color.c169 u32 abs_coeff = clamp_val(CTM_COEFF_ABS(user_coeff), 0, in ctm_mult_by_limited() local
177 result[i] = mul_u32_u32(limited_coeff, abs_coeff) >> 30; in ctm_mult_by_limited()
281 u64 abs_coeff = ((1ULL << 63) - 1) & input[i]; in ilk_csc_convert_ctm() local
287 abs_coeff = clamp_val(abs_coeff, 0, CTM_COEFF_4_0 - 1); in ilk_csc_convert_ctm()
295 if (abs_coeff < CTM_COEFF_0_125) in ilk_csc_convert_ctm()
297 ILK_CSC_COEFF_FP(abs_coeff, 12); in ilk_csc_convert_ctm()
298 else if (abs_coeff < CTM_COEFF_0_25) in ilk_csc_convert_ctm()
300 ILK_CSC_COEFF_FP(abs_coeff, 11); in ilk_csc_convert_ctm()
301 else if (abs_coeff < CTM_COEFF_0_5) in ilk_csc_convert_ctm()
303 ILK_CSC_COEFF_FP(abs_coeff, 10); in ilk_csc_convert_ctm()
[all …]