Skip to content

Commit

Permalink
Reverted coeffs to Darby's.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Mar 11, 2024
1 parent 44dcd66 commit 9245ef0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/tlCore/Image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ namespace tl
const std::array<math::Vector4f, static_cast<size_t>(YUVCoefficients::Count)> data =
{
math::Vector4f(1.79274, 2.1124, 0.213242, 0.532913),
// Is Darby's BT2020 right? These are the coeffs I got:
math::Vector4f(1.8556, 2.14101, 0.2124, 0.6301), // gemini
//math::Vector4f(1.67867, 2.14177, 0.187332, 0.650421) // darby
math::Vector4f(1.67867, 2.14177, 0.187332, 0.650421),
};
return data[static_cast<size_t>(value)];
}
Expand Down

0 comments on commit 9245ef0

Please sign in to comment.