Skip to content
Snippets Groups Projects
Commit 9ae0a7ec authored by Leandro Ribeiro's avatar Leandro Ribeiro Committed by Pekka Paalanen
Browse files

color: accept max_fall and max_cll even for tf different from PQ


The CM&HDR protocol extension spec relaxed the requirements for the
max_fall and max_cll setters. Now we accept such values even when the
transfer function is not PQ.

This also fixes an issue in which we'd not accept target_luminance
for transfer function different from PQ, which was not on the spec.

INCONSISTENT_SET is not being used in any other errors, so remove that
from enum weston_color_profile_param_builder_error.

Signed-off-by: default avatarLeandro Ribeiro <leandro.ribeiro@collabora.com>
parent 1082ef32
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment