Searched refs:tf_pts (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/amd/display/modules/color/ |
D | color_gamma.c | 1287 struct dc_transfer_func_distributed_points *tf_pts) in apply_lut_1d() argument 1309 regamma_y = &tf_pts->red[i]; in apply_lut_1d() 1311 regamma_y = &tf_pts->green[i]; in apply_lut_1d() 1313 regamma_y = &tf_pts->blue[i]; in apply_lut_1d() 1416 struct dc_transfer_func_distributed_points *tf_pts) in calculate_interpolated_hardware_curve() argument 1437 tf_pts->red[i] = calculate_mapped_value( in calculate_interpolated_hardware_curve() 1439 tf_pts->green[i] = calculate_mapped_value( in calculate_interpolated_hardware_curve() 1441 tf_pts->blue[i] = calculate_mapped_value( in calculate_interpolated_hardware_curve() 1473 struct dc_transfer_func_distributed_points *tf_pts) in interpolate_user_regamma() argument 1493 tf_pts->red[i] = dc_fixpt_zero; in interpolate_user_regamma() [all …]
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_cm_common.c | 383 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in cm_helper_translate_curve_to_hw_format() 384 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in cm_helper_translate_curve_to_hw_format() 385 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm_helper_translate_curve_to_hw_format() 392 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in cm_helper_translate_curve_to_hw_format() 393 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in cm_helper_translate_curve_to_hw_format() 394 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in cm_helper_translate_curve_to_hw_format() 549 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in cm_helper_translate_curve_to_degamma_hw_format() 550 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in cm_helper_translate_curve_to_degamma_hw_format() 551 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm_helper_translate_curve_to_degamma_hw_format() 558 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in cm_helper_translate_curve_to_degamma_hw_format() [all …]
|
D | dcn10_hw_sequencer.c | 1455 DC_LOG_GAMMA("R\t%d\t%llu\n", i, tf->tf_pts.red[i].value); in log_tf() 1456 DC_LOG_ALL_TF_CHANNELS("G\t%d\t%llu\n", i, tf->tf_pts.green[i].value); in log_tf() 1457 DC_LOG_ALL_TF_CHANNELS("B\t%d\t%llu\n", i, tf->tf_pts.blue[i].value); in log_tf() 1461 DC_LOG_ALL_GAMMA("R\t%d\t%llu\n", i, tf->tf_pts.red[i].value); in log_tf() 1462 DC_LOG_ALL_TF_CHANNELS("G\t%d\t%llu\n", i, tf->tf_pts.green[i].value); in log_tf() 1463 DC_LOG_ALL_TF_CHANNELS("B\t%d\t%llu\n", i, tf->tf_pts.blue[i].value); in log_tf()
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 504 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in dce110_translate_regamma_to_hw_format() 505 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in dce110_translate_regamma_to_hw_format() 506 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in dce110_translate_regamma_to_hw_format() 513 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in dce110_translate_regamma_to_hw_format() 514 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in dce110_translate_regamma_to_hw_format() 515 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in dce110_translate_regamma_to_hw_format()
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/core/ |
D | dc.c | 1739 memcpy(&surface->in_transfer_func->tf_pts, in copy_surface_update_to_plane() 1740 &srf_update->in_transfer_func->tf_pts, in copy_surface_update_to_plane() 1794 memcpy(&stream->out_transfer_func->tf_pts, in copy_stream_update_to_stream() 1795 &update->out_transfer_func->tf_pts, in copy_stream_update_to_stream()
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/ |
D | dc.h | 636 struct dc_transfer_func_distributed_points tf_pts; member
|