openMSX
video
DoubledFrame.hh
Go to the documentation of this file.
1
#ifndef DOUBLEDFRAME_HH
2
#define DOUBLEDFRAME_HH
3
4
#include "
FrameSource.hh
"
5
6
namespace
openmsx
{
7
12
class
DoubledFrame
final :
public
FrameSource
13
{
14
public
:
15
void
init
(
FrameSource
* field,
int
skip);
16
17
private
:
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
22
private
:
25
FrameSource
* field;
26
int
skip;
27
};
28
29
}
// namespace openmsx
30
31
#endif
FrameSource.hh
openmsx::DoubledFrame
Produces a video frame that has every line from the input frame twice plus a possibly repeated line a...
Definition
DoubledFrame.hh:13
openmsx::DoubledFrame::init
void init(FrameSource *field, int skip)
Definition
DoubledFrame.cc:7
openmsx::FrameSource
Interface for getting lines from a video frame.
Definition
FrameSource.hh:20
openmsx
This file implemented 3 utility functions:
Definition
Autofire.cc:11
Generated on Sun Dec 1 2024 22:13:42 for openMSX by
1.9.8