@@ -241,6 +241,10 @@ proportional to an SDR video signal. Examples: Rec.709/Rec.1886 video, sRGB.
241241``hdr-video `` -- A display-referred encoding where the numeric representation is
242242proportional to an HDR video signal. Examples: Rec.2100/PQ or Rec.2100/HLG.
243243
244+ ``edr-video `` -- A display-referred encoding where the numeric representation is
245+ proportional to an SDR video signal but allows extended range values intended
246+ for use on extended or high-dynamic range displays. Example: Display P3 HDR.
247+
244248``data `` -- A non-color channel. Note that typically such a color space would
245249also have the isdata attribute set to true. Examples: alpha, normals, Z-depth.
246250
@@ -398,6 +402,46 @@ compatibility.
398402
399403 aliases : [shortName, obsoleteName]
400404
405+ ``interop_id ``
406+ --------------
407+
408+ Optional.
409+
410+ OCIO supports the Color Interop ID developed by the Color Interop Forum. This allows
411+ config authors to set an ID on the color spaces in a config to unambiguously identify them
412+ as conforming to the recommendations of the ASWF Color Interop Forum. These IDs may then be
413+ used in file formats including OpenEXR and OpenUSD.
414+
415+ Note that if a color space has an ``interop_id ``, that same string must appear as an alias or
416+ as the name of a color space in the config. Unlike color space names or aliases, more than
417+ one color space may use the same interop ID string. This is because sometimes a config may
418+ have multiple color spaces that correspond to a given external standard. In this situation,
419+ only one of those color spaces will have the alias and that will be the one that is used by
420+ default, for example when an application loads an OpenEXR file that uses that interop ID.
421+
422+ The interop ID is not an arbitrary string, it must adhere to the rules and structure
423+ defined by the Color Interop Forum. For example, only certain characters are allowed, and
424+ color spaces not published in a Color Interop Forum recommendation must include a namespace
425+ prefix.
426+
427+ Although config authors may use a variety of names for a given color space, based on the
428+ needs and conventions of their studio, the intent is that everyone will use the same interop
429+ IDs and that this will allow better tagging in file formats than the local color space names
430+ that are only meaningful within the context of a specific config.
431+
432+ Developers should note that these IDs are for use internally in file formats but the color
433+ space's name attribute is still what should be used in a UI.
434+
435+ The interop ID may be used in configs of version 2.0 or higher.
436+
437+ .. code-block :: yaml
438+
439+ - !<ColorSpace>
440+ name : ACEScg
441+ aliases : [ACES - ACEScg, lin_ap1, lin_ap1_scene]
442+ interop_id : lin_ap1_scene
443+ [...]
444+
401445
402446 ``allocation `` and ``allocationvars ``
403447-------------------------------------
@@ -468,6 +512,46 @@ It's common to use literal ``|`` block syntax to preserve all newlines:
468512 This is one line.
469513 This is the second.
470514
515+ ``interchange ``
516+ ---------------
517+
518+ Optional.
519+
520+ The interchange attributes are provided to allow better interop between OCIO and other
521+ color management standards.
522+
523+ The ``amf_transform_ids `` is a newline-separated list of transform IDs intended for use
524+ with the ACES Metadata File (AMF). Please note that this should include both the forward
525+ and inverse IDs (if available). For display color spaces, this should include the ACES
526+ Output Transform IDs used with that display. Note that the same attribute for the
527+ View Transforms and Looks sections of the config should be populated as well.
528+
529+ .. code-block :: yaml
530+
531+ - !<ColorSpace>
532+ name : ACEScct
533+ [...]
534+ interchange :
535+ amf_transform_ids : |
536+ urn:ampas:aces:transformId:v2.0:CSC.Academy.ACES_to_ACEScct.a2.v1
537+ urn:ampas:aces:transformId:v2.0:CSC.Academy.ACEScct_to_ACES.a2.v1
538+
539+ The ``icc_profile_name `` is intended to identify an ICC profile to be used in connection
540+ with a given color space in the config. For example, some applications may want to embed
541+ an ICC profile when writing image files to indicate the color space. The profile should
542+ be located somewhere on the config's search path. Developers may use the resolveFileLocation
543+ function on the Context class to resolve the full path to the file.
544+
545+ .. code-block :: yaml
546+
547+ - !<ColorSpace>
548+ name : sRGB - Display
549+ [...]
550+ interchange :
551+ icc_profile_name : srgb_profile.icc
552+
553+ The interchange attributes may be used in configs of version 2.5 or higher.
554+
471555
472556.. _config-display-colorspaces :
473557
0 commit comments