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]] const void* getLineInfo(
20 unsigned line, unsigned& width,
21 void* buf, unsigned bufWidth) const override;
22
23private:
26 FrameSource* field;
27 int skip;
28};
29
30} // namespace openmsx
31
32#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:9