16 explicit Deflicker(std::span<std::unique_ptr<RawFrame>, 4> lastFrames);
25 [[nodiscard]]
unsigned getLineWidth(
unsigned line)
const override;
27 unsigned line, std::span<Pixel> helpBuf)
const override;
30 std::span<std::unique_ptr<RawFrame>, 4> lastFrames;
Deflicker(Deflicker &&)=default
Deflicker(const Deflicker &)=default
Deflicker & operator=(Deflicker &&)=default
std::span< const Pixel > getUnscaledLine(unsigned line, std::span< Pixel > helpBuf) const override
Get a specific line, with the 'native' line-width.
Deflicker & operator=(const Deflicker &)=default
unsigned getLineWidth(unsigned line) const override
Gets the number of display pixels on the given line.
Interface for getting lines from a video frame.
This file implemented 3 utility functions: