Skip to content

Commit

Permalink
Remove neutral patchs in tonescale unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Remi Achard <reac@dneg.com>
  • Loading branch information
Remi Achard committed Sep 9, 2024
1 parent 0a2a576 commit ecae16b
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions tests/cpu/ops/fixedfunction/FixedFunctionOpCPU_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ OCIO_ADD_TEST(FixedFunctionOpCPU, aces_rgb_to_jmh_20)

OCIO_ADD_TEST(FixedFunctionOpCPU, aces_tonescale_compress_20)
{
const unsigned num_samples = 35;
const unsigned num_samples = 27;

float input_32f[num_samples*4] = {
// ACEScg primaries and secondaries scaled by 4
Expand Down Expand Up @@ -657,16 +657,6 @@ OCIO_ADD_TEST(FixedFunctionOpCPU, aces_tonescale_compress_20)
75.117736816f, 40.952045441f, 90.752044678f, 1.0f,
49.311210632f, 33.812240601f, 348.832092285f, 1.0f,
47.441757202f, 22.915655136f, 218.454376221f, 1.0f,
93.610260010f, 0.439610571f, 108.271926880f, 1.0f,
77.237663269f, 0.131636351f, 33.296318054f, 1.0f,
61.655914307f, 0.041985143f, 291.004058838f, 1.0f,
47.493667603f, 0.048908804f, 297.386047363f, 1.0f,
33.264842987f, 0.283808023f, 234.276382446f, 1.0f,
21.467216492f, 0.409062684f, 255.025634766f, 1.0f,
// Spectrally non-selective 18 % reflecting diffuser
44.938602448f, 0.000004705f, 299.357757568f, 1.0f,
// Perfect reflecting diffuser
98.969635010f, 0.000083445f, 5.640549183f, 1.0f,
};

float input2_32f[num_samples * 4];
Expand Down Expand Up @@ -703,16 +693,6 @@ OCIO_ADD_TEST(FixedFunctionOpCPU, aces_tonescale_compress_20)
75.830871582f, 39.872474670f, 90.752044678f, 1.0f,
45.823116302f, 34.652069092f, 348.832092285f, 1.0f,
43.597240448f, 23.079078674f, 218.454376221f, 1.0f,
96.212783813f, 0.322624743f, 108.271926880f, 1.0f,
78.222122192f, 0.094044082f, 33.296318054f, 1.0f,
60.364795685f, 0.031291425f, 291.004058838f, 1.0f,
43.659111023f, 0.038717352f, 297.386047363f, 1.0f,
26.623359680f, 0.269155562f, 234.276382446f, 1.0f,
12.961384773f, 0.366550505f, 255.025634766f, 1.0f,
// Spectrally non-selective 18 % reflecting diffuser
40.609165192f, 0.000000000f, 299.357757568f, 1.0f,
// Perfect reflecting diffuser
101.899215698f, 0.000068110f, 5.640549183f, 1.0f,
};

OCIO::FixedFunctionOpData::Params params = {1000.f};
Expand Down

0 comments on commit ecae16b

Please sign in to comment.