1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-08-08 14:25:05 +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

View File

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