|
|
|
|
@ -141,15 +141,15 @@ void TestColorspaces::testColorPipeline_data() |
|
|
|
|
QTest::addRow("sRGB -> rec.2020 relative colorimetric") |
|
|
|
|
<< ColorDescription(NamedColorimetry::BT709, TransferFunction(TransferFunction::gamma22), TransferFunction::defaultReferenceLuminanceFor(TransferFunction::gamma22), 0, std::nullopt, std::nullopt) |
|
|
|
|
<< ColorDescription(NamedColorimetry::BT2020, TransferFunction(TransferFunction::PerceptualQuantizer), 500, 0, std::nullopt, std::nullopt) |
|
|
|
|
<< QVector3D(0.044, 0.044, 0.044) |
|
|
|
|
<< QVector3D(0.517, 0.517, 0.517) |
|
|
|
|
<< QVector3D(0.677, 0.677, 0.677) |
|
|
|
|
<< QVector3D(0.06729, 0.06729, 0.06729) |
|
|
|
|
<< QVector3D(0.51667, 0.51667, 0.51667) |
|
|
|
|
<< QVector3D(0.67658, 0.67658, 0.67658) |
|
|
|
|
<< RenderingIntent::RelativeColorimetric; |
|
|
|
|
QTest::addRow("sRGB -> scRGB relative colorimetric") |
|
|
|
|
<< ColorDescription(NamedColorimetry::BT709, TransferFunction(TransferFunction::gamma22), TransferFunction::defaultReferenceLuminanceFor(TransferFunction::gamma22), 0, std::nullopt, std::nullopt) |
|
|
|
|
<< ColorDescription(NamedColorimetry::BT709, TransferFunction(TransferFunction::linear, 0, 80), 80, 0, std::nullopt, std::nullopt) |
|
|
|
|
<< QVector3D(0.0001, 0.0001, 0.0001) |
|
|
|
|
<< QVector3D(0.2177376408240310, 0.2177376408240310, 0.2177376408240310) |
|
|
|
|
<< QVector3D(0.00025, 0.00025, 0.00025) |
|
|
|
|
<< QVector3D(0.217833, 0.217833, 0.217833) |
|
|
|
|
<< QVector3D(1, 1, 1) |
|
|
|
|
<< RenderingIntent::RelativeColorimetric; |
|
|
|
|
} |
|
|
|
|
|