Home
last modified time | relevance | path

Searched refs:max_content (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c863 struct fixed31_32 max_content, in hermite_spline_eetf() argument
884 if (dc_fixpt_eq(max_content, dc_fixpt_zero)) { in hermite_spline_eetf()
890 compute_pq(dc_fixpt_div(min_display, max_content), &min_lum_pq); in hermite_spline_eetf()
891 compute_pq(dc_fixpt_div(max_display, max_content), &max_lum_pq); in hermite_spline_eetf()
939 *out_x = dc_fixpt_div(*out_x, dc_fixpt_div(max_display, max_content)); in hermite_spline_eetf()
956 struct fixed31_32 max_content; in build_freesync_hdr() local
966 if (fs_params->max_content == 0 || in build_freesync_hdr()
972 max_content = dc_fixpt_from_int(fs_params->max_content); in build_freesync_hdr()
981 if (fs_params->max_content > fs_params->max_display) in build_freesync_hdr()
984 max_content = max_display; in build_freesync_hdr()
[all …]
Dcolor_gamma.h82 unsigned int max_content; // luminance in nits member