Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/amd/display/include/
Dfixed31_32.h69 static const struct fixed31_32 dc_fixpt_half = { 0x80000000LL }; variable
467 const long long summand = dc_fixpt_half.value; in dc_fixpt_round()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/basics/
Dfixpt31_32.c158 (tmp >= (unsigned long long)dc_fixpt_half.value); in dc_fixpt_mul()
201 (tmp >= (unsigned long long)dc_fixpt_half.value); in dc_fixpt_sqr()
/Linux-v4.19/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c150 reference_white_level = dc_fixpt_half; in compute_hlg_oetf()
156 reference_white_level = dc_fixpt_pow(dc_fixpt_from_fraction(3, 1), dc_fixpt_half); in compute_hlg_oetf()
161 *out_y = dc_fixpt_mul(dc_fixpt_pow(in_x, dc_fixpt_half), reference_white_level); in compute_hlg_oetf()
184 if (dc_fixpt_lt(dc_fixpt_half, in_x)) in compute_hlg_eotf()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c537 dc_fixpt_half : dc_fixpt_zero; in calculate_viewport()
539 dc_fixpt_half : dc_fixpt_zero; in calculate_viewport()