openMSX
DoubledFrame.hh
Go to the documentation of this file.
1#ifndef DOUBLEDFRAME_HH
2#define DOUBLEDFRAME_HH
3
4#include "FrameSource.hh"
5
6namespace openmsx {
7
12class DoubledFrame final : public FrameSource
13{
14public:
15 void init(FrameSource* field, int skip);
16
17private:
18 [[nodiscard]] unsigned getLineWidth(unsigned line) const override;
19 [[nodiscard]] std::span<const Pixel> getUnscaledLine(
20 unsigned line, std::span<Pixel> helpBuf) const override;
21
22private:
25 FrameSource* field;
26 int skip;
27};
28
29} // namespace openmsx
30
31#endif
Produces a video frame that has every line from the input frame twice plus a possibly repeated line a...
void init(FrameSource *field, int skip)
Interface for getting lines from a video frame.
This file implemented 3 utility functions:
Definition Autofire.cc:11