1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-03 11:30:02 +00:00

Use softer-edged luminance.

This commit is contained in:
Thomas Harte 2022-07-25 13:24:08 -04:00
parent 88a22fdbf8
commit 3e4044c7a0

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