openMSX
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
8namespace openmsx {
9
14class DeinterlacedFrame final : public FrameSource
15{
16public:
17 void init(FrameSource* evenField, FrameSource* oddField);
18
19private:
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
24private:
28 std::array<FrameSource*, 2> fields;
29};
30
31} // namespace openmsx
32
33#endif // DEINTERLACEDFRAME_HH
Produces a deinterlaced video frame based on two other FrameSources (typically two RawFrames) contain...
void init(FrameSource *evenField, FrameSource *oddField)
Interface for getting lines from a video frame.
This file implemented 3 utility functions:
Definition Autofire.cc:11