Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/
H A Ddce110_hwseq.c444 struct pwl_result_data *rgb_plus_1; in dce110_translate_regamma_to_hw_format() local
583 rgb_plus_1 = rgb_resulted + 1; in dce110_translate_regamma_to_hw_format()
588 if (dc_fixpt_lt(rgb_plus_1->red, rgb->red)) in dce110_translate_regamma_to_hw_format()
589 rgb_plus_1->red = rgb->red; in dce110_translate_regamma_to_hw_format()
590 if (dc_fixpt_lt(rgb_plus_1->green, rgb->green)) in dce110_translate_regamma_to_hw_format()
591 rgb_plus_1->green = rgb->green; in dce110_translate_regamma_to_hw_format()
592 if (dc_fixpt_lt(rgb_plus_1->blue, rgb->blue)) in dce110_translate_regamma_to_hw_format()
593 rgb_plus_1->blue = rgb->blue; in dce110_translate_regamma_to_hw_format()
595 rgb->delta_red = dc_fixpt_sub(rgb_plus_1->red, rgb->red); in dce110_translate_regamma_to_hw_format()
596 rgb->delta_green = dc_fixpt_sub(rgb_plus_1->green, rgb->green); in dce110_translate_regamma_to_hw_format()
[all …]