Searched refs:output_tf (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_cm_common.c | 109 const struct dc_transfer_func *output_tf, in cm3_helper_translate_curve_to_hw_format() argument 122 if (output_tf == NULL || lut_params == NULL || output_tf->type == TF_TYPE_BYPASS) in cm3_helper_translate_curve_to_hw_format() 132 if (output_tf->tf == TRANSFER_FUNCTION_PQ || output_tf->tf == TRANSFER_FUNCTION_GAMMA22 || in cm3_helper_translate_curve_to_hw_format() 133 output_tf->tf == TRANSFER_FUNCTION_HLG) { in cm3_helper_translate_curve_to_hw_format() 179 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in cm3_helper_translate_curve_to_hw_format() 180 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in cm3_helper_translate_curve_to_hw_format() 181 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in cm3_helper_translate_curve_to_hw_format() 188 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in cm3_helper_translate_curve_to_hw_format() 189 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in cm3_helper_translate_curve_to_hw_format() 190 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in cm3_helper_translate_curve_to_hw_format() [all …]
|
D | dcn30_cm_common.h | 63 const struct dc_transfer_func *output_tf, 67 const struct dc_transfer_func *output_tf,
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_cm_common.c | 312 const struct dc_transfer_func *output_tf, in cm_helper_translate_curve_to_hw_format() argument 325 if (output_tf == NULL || lut_params == NULL || output_tf->type == TF_TYPE_BYPASS) in cm_helper_translate_curve_to_hw_format() 335 if (output_tf->tf == TRANSFER_FUNCTION_PQ || output_tf->tf == TRANSFER_FUNCTION_GAMMA22) { in cm_helper_translate_curve_to_hw_format() 382 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() 431 if (output_tf->tf == TRANSFER_FUNCTION_PQ) { in cm_helper_translate_curve_to_hw_format() [all …]
|
D | dcn10_cm_common.h | 109 const struct dc_transfer_func *output_tf, 113 const struct dc_transfer_func *output_tf,
|
/Linux-v5.10/drivers/gpu/drm/amd/display/modules/color/ |
D | color_gamma.h | 109 bool mod_color_calculate_regamma_params(struct dc_transfer_func *output_tf, 115 struct dc_transfer_func *output_tf, 121 bool calculate_user_regamma_coeff(struct dc_transfer_func *output_tf, 125 bool calculate_user_regamma_ramp(struct dc_transfer_func *output_tf,
|
D | color_gamma.c | 1676 bool calculate_user_regamma_coeff(struct dc_transfer_func *output_tf, in calculate_user_regamma_coeff() argument 1702 output_tf->tf_pts.red[i] = dc_fixpt_zero; in calculate_user_regamma_coeff() 1703 output_tf->tf_pts.green[i] = dc_fixpt_zero; in calculate_user_regamma_coeff() 1704 output_tf->tf_pts.blue[i] = dc_fixpt_zero; in calculate_user_regamma_coeff() 1709 output_tf->tf_pts.red[i] = translate_from_linear_space_ex( in calculate_user_regamma_coeff() 1711 output_tf->tf_pts.green[i] = translate_from_linear_space_ex( in calculate_user_regamma_coeff() 1713 output_tf->tf_pts.blue[i] = translate_from_linear_space_ex( in calculate_user_regamma_coeff() 1720 build_new_custom_resulted_curve(MAX_HW_POINTS, &output_tf->tf_pts); in calculate_user_regamma_coeff() 1721 output_tf->type = TF_TYPE_DISTRIBUTED_POINTS; in calculate_user_regamma_coeff() 1726 bool calculate_user_regamma_ramp(struct dc_transfer_func *output_tf, in calculate_user_regamma_ramp() argument [all …]
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 432 dce110_translate_regamma_to_hw_format(const struct dc_transfer_func *output_tf, in dce110_translate_regamma_to_hw_format() argument 448 if (output_tf == NULL || regamma_params == NULL || output_tf->type == TF_TYPE_BYPASS) in dce110_translate_regamma_to_hw_format() 457 if (output_tf->tf == TRANSFER_FUNCTION_PQ) { in dce110_translate_regamma_to_hw_format() 509 rgb_resulted[j].red = output_tf->tf_pts.red[i]; in dce110_translate_regamma_to_hw_format() 510 rgb_resulted[j].green = output_tf->tf_pts.green[i]; in dce110_translate_regamma_to_hw_format() 511 rgb_resulted[j].blue = output_tf->tf_pts.blue[i]; in dce110_translate_regamma_to_hw_format() 518 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index]; in dce110_translate_regamma_to_hw_format() 519 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index]; in dce110_translate_regamma_to_hw_format() 520 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index]; in dce110_translate_regamma_to_hw_format() 550 if (output_tf->tf == TRANSFER_FUNCTION_PQ) { in dce110_translate_regamma_to_hw_format()
|