Skip to content

Commit 10adaf3

Browse files
committed
Add DISPLAY - CIE-XYZ-D65_to_DisplayP3-HDR builtin transform.
References AcademySoftwareFoundation/OpenColorIO-Config-ACES#130 Signed-off-by: Thomas Mansencal <[email protected]>
1 parent 9bc5b8e commit 10adaf3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/OpenColorIO/transforms/builtins/Displays.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,12 @@ void RegisterAll(BuiltinTransformRegistryImpl & registry) noexcept
358358
registry.addBuiltin("DISPLAY - CIE-XYZ-D65_to_DisplayP3",
359359
"Convert CIE XYZ (D65 white) to Apple Display P3",
360360
CIE_XYZ_D65_to_DisplayP3_Functor);
361+
362+
// NOTE: This builtin is defined to be able to partition SDR and HDR view transforms under two separate
363+
// displays rather than a single one.
364+
registry.addBuiltin("DISPLAY - CIE-XYZ-D65_to_DisplayP3-HDR",
365+
"Convert CIE XYZ (D65 white) to Apple Display P3 (HDR)",
366+
CIE_XYZ_D65_to_DisplayP3_Functor);
361367
}
362368

363369
{

0 commit comments

Comments
 (0)