openMSX
DeinterlacedFrame.hh
Go to the documentation of this file.
1#ifndef DEINTERLACEDFRAME_HH
2#define DEINTERLACEDFRAME_HH
3
4#include "FrameSource.hh"
5#include <array>
6
7namespace openmsx {
8
13class DeinterlacedFrame final : public FrameSource
14{
15public:
16 explicit DeinterlacedFrame(const PixelFormat& format);
17 void init(FrameSource* evenField, FrameSource* oddField);
18
19private:
20 [[nodiscard]] unsigned getLineWidth(unsigned line) const override;
21 [[nodiscard]] const void* getLineInfo(
22 unsigned line, unsigned& width,
23 void* buf, unsigned bufWidth) const override;
24
25private:
29 std::array<FrameSource*, 2> fields;
30};
31
32} // namespace openmsx
33
34#endif // DEINTERLACEDFRAME_HH
Produces a deinterlaced video frame based on two other FrameSources (typically two RawFrames) contain...
void init(FrameSource *evenField, FrameSource *oddField)
DeinterlacedFrame(const PixelFormat &format)
Interface for getting lines from a video frame.
Definition: FrameSource.hh:20
void format(SectorAccessibleDisk &disk, MSXBootSectorType bootType)
Format the given disk (= a single partition).
This file implemented 3 utility functions:
Definition: Autofire.cc:9