Home
last modified time | relevance | path

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

/openbsd/sys/dev/pci/drm/amd/display/dc/dcn10/
H A Ddcn10_cm_common.c333 hw_points = 0; in cm_helper_translate_curve_to_hw_format()
383 if (j == hw_points - 1) in cm_helper_translate_curve_to_hw_format()
403 rgb_resulted[hw_points].red = rgb_resulted[hw_points - 1].red; in cm_helper_translate_curve_to_hw_format()
404 rgb_resulted[hw_points].green = rgb_resulted[hw_points - 1].green; in cm_helper_translate_curve_to_hw_format()
405 rgb_resulted[hw_points].blue = rgb_resulted[hw_points - 1].blue; in cm_helper_translate_curve_to_hw_format()
543 hw_points = 0; in cm_helper_translate_curve_to_degamma_hw_format()
572 if (j == hw_points - 1) in cm_helper_translate_curve_to_degamma_hw_format()
589 rgb_resulted[hw_points].red = rgb_resulted[hw_points - 1].red; in cm_helper_translate_curve_to_degamma_hw_format()
590 rgb_resulted[hw_points].green = rgb_resulted[hw_points - 1].green; in cm_helper_translate_curve_to_degamma_hw_format()
591 rgb_resulted[hw_points].blue = rgb_resulted[hw_points - 1].blue; in cm_helper_translate_curve_to_degamma_hw_format()
[all …]
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn30/
H A Ddcn30_cm_common.c128 hw_points = 0; in cm3_helper_translate_curve_to_hw_format()
179 if (j == hw_points - 1) in cm3_helper_translate_curve_to_hw_format()
196 rgb_resulted[hw_points].red = rgb_resulted[hw_points - 1].red; in cm3_helper_translate_curve_to_hw_format()
197 rgb_resulted[hw_points].green = rgb_resulted[hw_points - 1].green; in cm3_helper_translate_curve_to_hw_format()
198 rgb_resulted[hw_points].blue = rgb_resulted[hw_points - 1].blue; in cm3_helper_translate_curve_to_hw_format()
273 while (i != hw_points + 1) { in cm3_helper_translate_curve_to_hw_format()
274 if (i >= hw_points - 1) { in cm3_helper_translate_curve_to_hw_format()
303 hw_points, fixpoint); in cm3_helper_translate_curve_to_hw_format()
329 hw_points = 0; in cm3_helper_translate_curve_to_degamma_hw_format()
358 if (j == hw_points - 1) in cm3_helper_translate_curve_to_degamma_hw_format()
[all …]
/openbsd/sys/dev/pci/drm/amd/display/dc/dce110/
H A Ddce110_hw_sequencer.c455 hw_points = 0; in dce110_translate_regamma_to_hw_format()
499 hw_points += (1 << seg_distr[k]); in dce110_translate_regamma_to_hw_format()
509 if (j == hw_points - 1) in dce110_translate_regamma_to_hw_format()
520 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in dce110_translate_regamma_to_hw_format()
522 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in dce110_translate_regamma_to_hw_format()
539 y_r = rgb_resulted[hw_points - 1].red; in dce110_translate_regamma_to_hw_format()
540 y_g = rgb_resulted[hw_points - 1].green; in dce110_translate_regamma_to_hw_format()
541 y_b = rgb_resulted[hw_points - 1].blue; in dce110_translate_regamma_to_hw_format()
563 regamma_params->hw_points_num = hw_points; in dce110_translate_regamma_to_hw_format()
583 while (i != hw_points + 1) { in dce110_translate_regamma_to_hw_format()
[all …]