1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-02-27 00:30:26 +00:00

Merge pull request #1077 from TomHarte/BroaderChroma

macOS: Use softer-edged luminance.
This commit is contained in:
Thomas Harte 2022-07-25 13:24:42 -04:00 committed by GitHub
commit af7c56d313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -744,7 +744,7 @@ using BufferingScanTarget = Outputs::Display::BufferingScanTarget;
// Generate the chrominance filter.
{
simd::float3 firCoefficients[8];
const auto chromaCoefficients = boxCoefficients(radiansPerPixel, 3.141592654f);
const auto chromaCoefficients = boxCoefficients(radiansPerPixel, 3.141592654f * 2.0f);
_chromaKernelSize = 15;
for(size_t c = 0; c < 8; ++c) {
// Bit of a fix here: if the pipeline is for composite then assume that chroma separation wasn't