Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colour: added srgb_encoded_p3d65_tx to core #175

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading