mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-27 00:30:26 +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:
parent
0e44d6d214
commit
c49fcb9ec9
@ -667,12 +667,11 @@ using BufferingScanTarget = Outputs::Display::BufferingScanTarget;
|
||||
//
|
||||
// The low cut off ['Hz' but per line, not per second] is somewhat arbitrary.
|
||||
if(!isSVideoOutput) {
|
||||
// SignalProcessing::FIRFilter sharpenFilter(15, float(_lineBufferPixelsPerLine), 80.0f, colourCyclesPerLine * 0.5f);
|
||||
// const auto sharpen = sharpenFilter.get_coefficients();
|
||||
// for(size_t c = 0; c < 8; ++c) {
|
||||
// firCoefficients[c].x = firCoefficients[c].y;
|
||||
// firCoefficients[c].x = sharpen[c];
|
||||
// }
|
||||
SignalProcessing::FIRFilter sharpenFilter(15, float(_lineBufferPixelsPerLine), 40.0f, colourCyclesPerLine);
|
||||
const auto sharpen = sharpenFilter.get_coefficients();
|
||||
for(size_t c = 0; c < 8; ++c) {
|
||||
firCoefficients[c].x = sharpen[c];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user