Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c1388 struct dc_transfer_func_distributed_points *tf_pts) in apply_lut_1d() argument
1412 regamma_y = &tf_pts->red[i]; in apply_lut_1d()
1414 regamma_y = &tf_pts->green[i]; in apply_lut_1d()
1416 regamma_y = &tf_pts->blue[i]; in apply_lut_1d()
1530 struct dc_transfer_func_distributed_points *tf_pts) in calculate_interpolated_hardware_curve() argument
1551 tf_pts->red[i] = calculate_mapped_value( in calculate_interpolated_hardware_curve()
1553 tf_pts->green[i] = calculate_mapped_value( in calculate_interpolated_hardware_curve()
1555 tf_pts->blue[i] = calculate_mapped_value( in calculate_interpolated_hardware_curve()
1587 struct dc_transfer_func_distributed_points *tf_pts) in interpolate_user_regamma() argument
1608 tf_pts->red[i] = dc_fixpt_zero; in interpolate_user_regamma()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.c382 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in cm_helper_translate_curve_to_hw_format()
383 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in cm_helper_translate_curve_to_hw_format()
384 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm_helper_translate_curve_to_hw_format()
391 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in cm_helper_translate_curve_to_hw_format()
392 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in cm_helper_translate_curve_to_hw_format()
393 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in cm_helper_translate_curve_to_hw_format()
558 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in cm_helper_translate_curve_to_degamma_hw_format()
559 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in cm_helper_translate_curve_to_degamma_hw_format()
560 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm_helper_translate_curve_to_degamma_hw_format()
567 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in cm_helper_translate_curve_to_degamma_hw_format()
[all …]
Ddcn10_hw_sequencer.c1832 DC_LOG_GAMMA("R\t%d\t%llu", i, tf->tf_pts.red[i].value); in log_tf()
1833 DC_LOG_ALL_TF_CHANNELS("G\t%d\t%llu", i, tf->tf_pts.green[i].value); in log_tf()
1834 DC_LOG_ALL_TF_CHANNELS("B\t%d\t%llu", i, tf->tf_pts.blue[i].value); in log_tf()
1838 DC_LOG_ALL_GAMMA("R\t%d\t%llu", i, tf->tf_pts.red[i].value); in log_tf()
1839 DC_LOG_ALL_TF_CHANNELS("G\t%d\t%llu", i, tf->tf_pts.green[i].value); in log_tf()
1840 DC_LOG_ALL_TF_CHANNELS("B\t%d\t%llu", i, tf->tf_pts.blue[i].value); in log_tf()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_cm_common.c181 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in cm3_helper_translate_curve_to_hw_format()
182 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in cm3_helper_translate_curve_to_hw_format()
183 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm3_helper_translate_curve_to_hw_format()
190 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in cm3_helper_translate_curve_to_hw_format()
191 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in cm3_helper_translate_curve_to_hw_format()
192 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in cm3_helper_translate_curve_to_hw_format()
358 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in cm3_helper_translate_curve_to_degamma_hw_format()
359 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in cm3_helper_translate_curve_to_degamma_hw_format()
360 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm3_helper_translate_curve_to_degamma_hw_format()
367 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in cm3_helper_translate_curve_to_degamma_hw_format()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c516 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in dce110_translate_regamma_to_hw_format()
517 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in dce110_translate_regamma_to_hw_format()
518 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in dce110_translate_regamma_to_hw_format()
525 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in dce110_translate_regamma_to_hw_format()
526 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in dce110_translate_regamma_to_hw_format()
527 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in dce110_translate_regamma_to_hw_format()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc.h1058 struct dc_transfer_func_distributed_points tf_pts; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc.c2734 memcpy(&surface->in_transfer_func->tf_pts, in copy_surface_update_to_plane()
2735 &srf_update->in_transfer_func->tf_pts, in copy_surface_update_to_plane()
2797 memcpy(&stream->out_transfer_func->tf_pts, in copy_stream_update_to_stream()
2798 &update->out_transfer_func->tf_pts, in copy_stream_update_to_stream()