Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c1385 struct dc_transfer_func_distributed_points *tf_pts) in apply_lut_1d() argument
1409 regamma_y = &tf_pts->red[i]; in apply_lut_1d()
1411 regamma_y = &tf_pts->green[i]; in apply_lut_1d()
1413 regamma_y = &tf_pts->blue[i]; in apply_lut_1d()
1527 struct dc_transfer_func_distributed_points *tf_pts) in calculate_interpolated_hardware_curve() argument
1548 tf_pts->red[i] = calculate_mapped_value( in calculate_interpolated_hardware_curve()
1550 tf_pts->green[i] = calculate_mapped_value( in calculate_interpolated_hardware_curve()
1552 tf_pts->blue[i] = calculate_mapped_value( in calculate_interpolated_hardware_curve()
1584 struct dc_transfer_func_distributed_points *tf_pts) in interpolate_user_regamma() argument
1605 tf_pts->red[i] = dc_fixpt_zero; in interpolate_user_regamma()
[all …]
/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 …]
/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.c1731 DC_LOG_GAMMA("R\t%d\t%llu", i, tf->tf_pts.red[i].value); in log_tf()
1732 DC_LOG_ALL_TF_CHANNELS("G\t%d\t%llu", i, tf->tf_pts.green[i].value); in log_tf()
1733 DC_LOG_ALL_TF_CHANNELS("B\t%d\t%llu", i, tf->tf_pts.blue[i].value); in log_tf()
1737 DC_LOG_ALL_GAMMA("R\t%d\t%llu", i, tf->tf_pts.red[i].value); in log_tf()
1738 DC_LOG_ALL_TF_CHANNELS("G\t%d\t%llu", i, tf->tf_pts.green[i].value); in log_tf()
1739 DC_LOG_ALL_TF_CHANNELS("B\t%d\t%llu", i, tf->tf_pts.blue[i].value); in log_tf()
/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c515 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in dce110_translate_regamma_to_hw_format()
516 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in dce110_translate_regamma_to_hw_format()
517 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in dce110_translate_regamma_to_hw_format()
524 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in dce110_translate_regamma_to_hw_format()
525 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in dce110_translate_regamma_to_hw_format()
526 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in dce110_translate_regamma_to_hw_format()
/drivers/gpu/drm/amd/display/dc/
Ddc.h820 struct dc_transfer_func_distributed_points tf_pts; member
/drivers/gpu/drm/amd/display/dc/core/
Ddc.c2404 memcpy(&surface->in_transfer_func->tf_pts, in copy_surface_update_to_plane()
2405 &srf_update->in_transfer_func->tf_pts, in copy_surface_update_to_plane()
2467 memcpy(&stream->out_transfer_func->tf_pts, in copy_stream_update_to_stream()
2468 &update->out_transfer_func->tf_pts, in copy_stream_update_to_stream()