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

Based on further play: one box filter to separate luma/chroma, another to filter chroma, plus a FIR sharpen on luma.

This commit is contained in:
Thomas Harte 2020-09-08 16:35:05 -04:00
parent 0e44d6d214
commit c49fcb9ec9

View File

@ -667,12 +667,11 @@ using BufferingScanTarget = Outputs::Display::BufferingScanTarget;
// //
// The low cut off ['Hz' but per line, not per second] is somewhat arbitrary. // The low cut off ['Hz' but per line, not per second] is somewhat arbitrary.
if(!isSVideoOutput) { if(!isSVideoOutput) {
// SignalProcessing::FIRFilter sharpenFilter(15, float(_lineBufferPixelsPerLine), 80.0f, colourCyclesPerLine * 0.5f); SignalProcessing::FIRFilter sharpenFilter(15, float(_lineBufferPixelsPerLine), 40.0f, colourCyclesPerLine);
// const auto sharpen = sharpenFilter.get_coefficients(); const auto sharpen = sharpenFilter.get_coefficients();
// for(size_t c = 0; c < 8; ++c) { for(size_t c = 0; c < 8; ++c) {
// firCoefficients[c].x = firCoefficients[c].y; firCoefficients[c].x = sharpen[c];
// firCoefficients[c].x = sharpen[c]; }
// }
} }
} }