Skip to content
Open
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
52 changes: 52 additions & 0 deletions arri/CSC.Arri.ACES_to_LogCv3-EI1000.ctl
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// <ACEStransformID>urn:ampas:aces:transformId:v2.0:CSC.Arri.ACES_to_LogC3-EI1000.a2.v1</ACEStransformID>
// <ACESuserName>ACES2065-1 to ARRI LogC3 EI1000</ACESuserName>

//
// ACES Color Space Conversion - ACES2065-1 to Arri LogC3 EI1000
//
// converts ACES2065-1 (AP0 w/ linear encoding) to
// Arri LogC3 EI1000
//

import "Lib.Academy.Utilities";
import "Lib.Academy.ColorSpaces";
import "Lib.Arri.LogC3";

const Chromaticities AP0 = // ACES Primaries from SMPTE ST2065-1
{
{0.73470, 0.26530},
{0.00000, 1.00000},
{0.00010, -0.07700},
{0.32168, 0.33767}};

const Chromaticities ARRI_ALEXA_WG_PRI =
{
{0.68400, 0.31300},
{0.22100, 0.84800},
{0.08610, -0.10200},
{0.31270, 0.32900}};

const float AP0_to_AWG3_MAT[3][3] = calculate_rgb_to_rgb_matrix(AP0,
ARRI_ALEXA_WG_PRI,
CONE_RESP_MAT_CAT02);

const float EI = 1000.0;

void main(input varying float rIn,
input varying float gIn,
input varying float bIn,
input varying float aIn,
output varying float rOut,
output varying float gOut,
output varying float bOut,
output varying float aOut)
{
float ACES[3] = {rIn, gIn, bIn};

float lin_AWG3[3] = mult_f3_f33(ACES, AP0_to_AWG3_MAT);

rOut = relativeExposureToNormalizedLogC3(lin_AWG3[0], EI);
gOut = relativeExposureToNormalizedLogC3(lin_AWG3[1], EI);
bOut = relativeExposureToNormalizedLogC3(lin_AWG3[2], EI);
aOut = aIn;
}
52 changes: 52 additions & 0 deletions arri/CSC.Arri.ACES_to_LogCv3-EI1280.ctl
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// <ACEStransformID>urn:ampas:aces:transformId:v2.0:CSC.Arri.ACES_to_LogC3-EI1280.a2.v1</ACEStransformID>
// <ACESuserName>ACES2065-1 to ARRI LogC3 EI1280</ACESuserName>

//
// ACES Color Space Conversion - ACES2065-1 to Arri LogC3 EI1280
//
// converts ACES2065-1 (AP0 w/ linear encoding) to
// Arri LogC3 EI1280
//

import "Lib.Academy.Utilities";
import "Lib.Academy.ColorSpaces";
import "Lib.Arri.LogC3";

const Chromaticities AP0 = // ACES Primaries from SMPTE ST2065-1
{
{0.73470, 0.26530},
{0.00000, 1.00000},
{0.00010, -0.07700},
{0.32168, 0.33767}};

const Chromaticities ARRI_ALEXA_WG_PRI =
{
{0.68400, 0.31300},
{0.22100, 0.84800},
{0.08610, -0.10200},
{0.31270, 0.32900}};

const float AP0_to_AWG3_MAT[3][3] = calculate_rgb_to_rgb_matrix(AP0,
ARRI_ALEXA_WG_PRI,
CONE_RESP_MAT_CAT02);

const float EI = 1280.0;

void main(input varying float rIn,
input varying float gIn,
input varying float bIn,
input varying float aIn,
output varying float rOut,
output varying float gOut,
output varying float bOut,
output varying float aOut)
{
float ACES[3] = {rIn, gIn, bIn};

float lin_AWG3[3] = mult_f3_f33(ACES, AP0_to_AWG3_MAT);

rOut = relativeExposureToNormalizedLogC3(lin_AWG3[0], EI);
gOut = relativeExposureToNormalizedLogC3(lin_AWG3[1], EI);
bOut = relativeExposureToNormalizedLogC3(lin_AWG3[2], EI);
aOut = aIn;
}
52 changes: 52 additions & 0 deletions arri/CSC.Arri.ACES_to_LogCv3-EI160.ctl
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// <ACEStransformID>urn:ampas:aces:transformId:v2.0:CSC.Arri.ACES_to_LogC3-EI160.a2.v1</ACEStransformID>
// <ACESuserName>ACES2065-1 to ARRI LogC3 EI160</ACESuserName>

//
// ACES Color Space Conversion - ACES2065-1 to Arri LogC3 EI160
//
// converts ACES2065-1 (AP0 w/ linear encoding) to
// Arri LogC3 EI160
//

import "Lib.Academy.Utilities";
import "Lib.Academy.ColorSpaces";
import "Lib.Arri.LogC3";

const Chromaticities AP0 = // ACES Primaries from SMPTE ST2065-1
{
{0.73470, 0.26530},
{0.00000, 1.00000},
{0.00010, -0.07700},
{0.32168, 0.33767}};

const Chromaticities ARRI_ALEXA_WG_PRI =
{
{0.68400, 0.31300},
{0.22100, 0.84800},
{0.08610, -0.10200},
{0.31270, 0.32900}};

const float AP0_to_AWG3_MAT[3][3] = calculate_rgb_to_rgb_matrix(AP0,
ARRI_ALEXA_WG_PRI,
CONE_RESP_MAT_CAT02);

const float EI = 160.0;

void main(input varying float rIn,
input varying float gIn,
input varying float bIn,
input varying float aIn,
output varying float rOut,
output varying float gOut,
output varying float bOut,
output varying float aOut)
{
float ACES[3] = {rIn, gIn, bIn};

float lin_AWG3[3] = mult_f3_f33(ACES, AP0_to_AWG3_MAT);

rOut = relativeExposureToNormalizedLogC3(lin_AWG3[0], EI);
gOut = relativeExposureToNormalizedLogC3(lin_AWG3[1], EI);
bOut = relativeExposureToNormalizedLogC3(lin_AWG3[2], EI);
aOut = aIn;
}
52 changes: 52 additions & 0 deletions arri/CSC.Arri.ACES_to_LogCv3-EI200.ctl
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// <ACEStransformID>urn:ampas:aces:transformId:v2.0:CSC.Arri.ACES_to_LogC3-EI200.a2.v1</ACEStransformID>
// <ACESuserName>ACES2065-1 to ARRI LogC3 EI200</ACESuserName>

//
// ACES Color Space Conversion - ACES2065-1 to Arri LogC3 EI200
//
// converts ACES2065-1 (AP0 w/ linear encoding) to
// Arri LogC3 EI200
//

import "Lib.Academy.Utilities";
import "Lib.Academy.ColorSpaces";
import "Lib.Arri.LogC3";

const Chromaticities AP0 = // ACES Primaries from SMPTE ST2065-1
{
{0.73470, 0.26530},
{0.00000, 1.00000},
{0.00010, -0.07700},
{0.32168, 0.33767}};

const Chromaticities ARRI_ALEXA_WG_PRI =
{
{0.68400, 0.31300},
{0.22100, 0.84800},
{0.08610, -0.10200},
{0.31270, 0.32900}};

const float AP0_to_AWG3_MAT[3][3] = calculate_rgb_to_rgb_matrix(AP0,
ARRI_ALEXA_WG_PRI,
CONE_RESP_MAT_CAT02);

const float EI = 200.0;

void main(input varying float rIn,
input varying float gIn,
input varying float bIn,
input varying float aIn,
output varying float rOut,
output varying float gOut,
output varying float bOut,
output varying float aOut)
{
float ACES[3] = {rIn, gIn, bIn};

float lin_AWG3[3] = mult_f3_f33(ACES, AP0_to_AWG3_MAT);

rOut = relativeExposureToNormalizedLogC3(lin_AWG3[0], EI);
gOut = relativeExposureToNormalizedLogC3(lin_AWG3[1], EI);
bOut = relativeExposureToNormalizedLogC3(lin_AWG3[2], EI);
aOut = aIn;
}
52 changes: 52 additions & 0 deletions arri/CSC.Arri.ACES_to_LogCv3-EI250.ctl
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// <ACEStransformID>urn:ampas:aces:transformId:v2.0:CSC.Arri.ACES_to_LogC3-EI250.a2.v1</ACEStransformID>
// <ACESuserName>ACES2065-1 to ARRI LogC3 EI250</ACESuserName>

//
// ACES Color Space Conversion - ACES2065-1 to Arri LogC3 EI250
//
// converts ACES2065-1 (AP0 w/ linear encoding) to
// Arri LogC3 EI250
//

import "Lib.Academy.Utilities";
import "Lib.Academy.ColorSpaces";
import "Lib.Arri.LogC3";

const Chromaticities AP0 = // ACES Primaries from SMPTE ST2065-1
{
{0.73470, 0.26530},
{0.00000, 1.00000},
{0.00010, -0.07700},
{0.32168, 0.33767}};

const Chromaticities ARRI_ALEXA_WG_PRI =
{
{0.68400, 0.31300},
{0.22100, 0.84800},
{0.08610, -0.10200},
{0.31270, 0.32900}};

const float AP0_to_AWG3_MAT[3][3] = calculate_rgb_to_rgb_matrix(AP0,
ARRI_ALEXA_WG_PRI,
CONE_RESP_MAT_CAT02);

const float EI = 250.0;

void main(input varying float rIn,
input varying float gIn,
input varying float bIn,
input varying float aIn,
output varying float rOut,
output varying float gOut,
output varying float bOut,
output varying float aOut)
{
float ACES[3] = {rIn, gIn, bIn};

float lin_AWG3[3] = mult_f3_f33(ACES, AP0_to_AWG3_MAT);

rOut = relativeExposureToNormalizedLogC3(lin_AWG3[0], EI);
gOut = relativeExposureToNormalizedLogC3(lin_AWG3[1], EI);
bOut = relativeExposureToNormalizedLogC3(lin_AWG3[2], EI);
aOut = aIn;
}
52 changes: 52 additions & 0 deletions arri/CSC.Arri.ACES_to_LogCv3-EI320.ctl
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// <ACEStransformID>urn:ampas:aces:transformId:v2.0:CSC.Arri.ACES_to_LogC3-EI320.a2.v1</ACEStransformID>
// <ACESuserName>ACES2065-1 to ARRI LogC3 EI320</ACESuserName>

//
// ACES Color Space Conversion - ACES2065-1 to Arri LogC3 EI320
//
// converts ACES2065-1 (AP0 w/ linear encoding) to
// Arri LogC3 EI320
//

import "Lib.Academy.Utilities";
import "Lib.Academy.ColorSpaces";
import "Lib.Arri.LogC3";

const Chromaticities AP0 = // ACES Primaries from SMPTE ST2065-1
{
{0.73470, 0.26530},
{0.00000, 1.00000},
{0.00010, -0.07700},
{0.32168, 0.33767}};

const Chromaticities ARRI_ALEXA_WG_PRI =
{
{0.68400, 0.31300},
{0.22100, 0.84800},
{0.08610, -0.10200},
{0.31270, 0.32900}};

const float AP0_to_AWG3_MAT[3][3] = calculate_rgb_to_rgb_matrix(AP0,
ARRI_ALEXA_WG_PRI,
CONE_RESP_MAT_CAT02);

const float EI = 320.0;

void main(input varying float rIn,
input varying float gIn,
input varying float bIn,
input varying float aIn,
output varying float rOut,
output varying float gOut,
output varying float bOut,
output varying float aOut)
{
float ACES[3] = {rIn, gIn, bIn};

float lin_AWG3[3] = mult_f3_f33(ACES, AP0_to_AWG3_MAT);

rOut = relativeExposureToNormalizedLogC3(lin_AWG3[0], EI);
gOut = relativeExposureToNormalizedLogC3(lin_AWG3[1], EI);
bOut = relativeExposureToNormalizedLogC3(lin_AWG3[2], EI);
aOut = aIn;
}
52 changes: 52 additions & 0 deletions arri/CSC.Arri.ACES_to_LogCv3-EI400.ctl
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// <ACEStransformID>urn:ampas:aces:transformId:v2.0:CSC.Arri.ACES_to_LogC3-EI400.a2.v1</ACEStransformID>
// <ACESuserName>ACES2065-1 to ARRI LogC3 EI400</ACESuserName>

//
// ACES Color Space Conversion - ACES2065-1 to Arri LogC3 EI400
//
// converts ACES2065-1 (AP0 w/ linear encoding) to
// Arri LogC3 EI400
//

import "Lib.Academy.Utilities";
import "Lib.Academy.ColorSpaces";
import "Lib.Arri.LogC3";

const Chromaticities AP0 = // ACES Primaries from SMPTE ST2065-1
{
{0.73470, 0.26530},
{0.00000, 1.00000},
{0.00010, -0.07700},
{0.32168, 0.33767}};

const Chromaticities ARRI_ALEXA_WG_PRI =
{
{0.68400, 0.31300},
{0.22100, 0.84800},
{0.08610, -0.10200},
{0.31270, 0.32900}};

const float AP0_to_AWG3_MAT[3][3] = calculate_rgb_to_rgb_matrix(AP0,
ARRI_ALEXA_WG_PRI,
CONE_RESP_MAT_CAT02);

const float EI = 400.0;

void main(input varying float rIn,
input varying float gIn,
input varying float bIn,
input varying float aIn,
output varying float rOut,
output varying float gOut,
output varying float bOut,
output varying float aOut)
{
float ACES[3] = {rIn, gIn, bIn};

float lin_AWG3[3] = mult_f3_f33(ACES, AP0_to_AWG3_MAT);

rOut = relativeExposureToNormalizedLogC3(lin_AWG3[0], EI);
gOut = relativeExposureToNormalizedLogC3(lin_AWG3[1], EI);
bOut = relativeExposureToNormalizedLogC3(lin_AWG3[2], EI);
aOut = aIn;
}
Loading