Skip to content

Commit

Permalink
Colour: added srgb_encoded_p3d65_tx to core
Browse files Browse the repository at this point in the history
This was missing due to a typo in genColour.

Signed-off-by: John-Paul Smith <[email protected]>
  • Loading branch information
john-paulsmith committed Nov 4, 2024
1 parent 7999342 commit b5569a7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions include/ofx-native-v1.5_aces-v1.3_ocio-v2.3.h
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,17 @@ Any scene-referred colourspace with a log transfer function.
#define kOfxColourspaceSrgbEncodedAp1TxIsCore true
#define kOfxColourspaceSrgbEncodedAp1TxIsDisplay false

// srgb_encoded_p3d65_tx
// Convert ACES2065-1 to sRGB Encoded P3-D65 primaries, D65 white point
// CLFtransformID: urn:aswf:ocio:transformId:1.0:OCIO:Utility:AP0_to_sRGB_Encoded_P3-D65-Texture:1.0
#define kOfxColourspaceSrgbEncodedP3d65Tx "srgb_encoded_p3d65_tx"
#define kOfxColourspaceSrgbEncodedP3d65TxLabel "sRGB Encoded P3-D65 - Texture"
#define kOfxColourspaceSrgbEncodedP3d65TxEncoding "sdr-video"
#define kOfxColourspaceSrgbEncodedP3d65TxIsData false
#define kOfxColourspaceSrgbEncodedP3d65TxIsBasic false
#define kOfxColourspaceSrgbEncodedP3d65TxIsCore true
#define kOfxColourspaceSrgbEncodedP3d65TxIsDisplay false

// srgb_tx
// Convert ACES2065-1 to sRGB
// CLFtransformID: urn:aswf:ocio:transformId:1.0:OCIO:Utility:AP0_to_sRGB-Texture:1.0
Expand Down Expand Up @@ -752,17 +763,6 @@ Any scene-referred colourspace with a log transfer function.
#define kOfxColourspaceCameraRec709IsCore false
#define kOfxColourspaceCameraRec709IsDisplay false

// srgb_encoded_p3d65_tx
// Convert ACES2065-1 to sRGB Encoded P3-D65 primaries, D65 white point
// CLFtransformID: urn:aswf:ocio:transformId:1.0:OCIO:Utility:AP0_to_sRGB_Encoded_P3-D65-Texture:1.0
#define kOfxColourspaceSrgbEncodedP3d65Tx "srgb_encoded_p3d65_tx"
#define kOfxColourspaceSrgbEncodedP3d65TxLabel "sRGB Encoded P3-D65 - Texture"
#define kOfxColourspaceSrgbEncodedP3d65TxEncoding "sdr-video"
#define kOfxColourspaceSrgbEncodedP3d65TxIsData false
#define kOfxColourspaceSrgbEncodedP3d65TxIsBasic false
#define kOfxColourspaceSrgbEncodedP3d65TxIsCore false
#define kOfxColourspaceSrgbEncodedP3d65TxIsDisplay false

/** @brief Roles - standard names used for compatibility with common OCIO configs.
*/

Expand Down
2 changes: 1 addition & 1 deletion scripts/genColour
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ core_spaces = ['srgb_display', 'displayp3_display', 'rec1886_rec709_display',
'ACEScg', 'lin_p3d65', 'lin_rec2020',
'lin_rec709_srgb', 'g18_rec709_tx', 'g22_ap1_tx',
'g22_rec709_tx', 'g24_rec709_tx', 'srgb_encoded_ap1_tx',
'srg_encoded_p3d65_tx', 'srgb_tx', 'Raw',
'srgb_encoded_p3d65_tx', 'srgb_tx', 'Raw',
'rec1886_rec2020_display', 'rec2100_hlg_display', 'rec2100_pq_display',
'st2084_p3d65_display', 'p3d65_display']

Expand Down

0 comments on commit b5569a7

Please sign in to comment.