openMSX
video
DeinterlacedFrame.hh
Go to the documentation of this file.
1
#ifndef DEINTERLACEDFRAME_HH
2
#define DEINTERLACEDFRAME_HH
3
4
#include "
FrameSource.hh
"
5
6
#include <array>
7
8
namespace
openmsx
{
9
14
class
DeinterlacedFrame
final :
public
FrameSource
15
{
16
public
:
17
void
init
(
FrameSource
* evenField,
FrameSource
* oddField);
18
19
private
:
20
[[nodiscard]]
unsigned
getLineWidth(
unsigned
line)
const override
;
21
[[nodiscard]] std::span<const Pixel> getUnscaledLine(
22
unsigned
line, std::span<Pixel> helpBuf)
const override
;
23
24
private
:
28
std::array<FrameSource*, 2> fields;
29
};
30
31
}
// namespace openmsx
32
33
#endif
// DEINTERLACEDFRAME_HH
FrameSource.hh
openmsx::DeinterlacedFrame
Produces a deinterlaced video frame based on two other FrameSources (typically two RawFrames) contain...
Definition
DeinterlacedFrame.hh:15
openmsx::DeinterlacedFrame::init
void init(FrameSource *evenField, FrameSource *oddField)
Definition
DeinterlacedFrame.cc:6
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 Sat Dec 21 2024 14:13:52 for openMSX by
1.9.8