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 void init(FrameSource* evenField, FrameSource* oddField);
17
18private:
19 [[nodiscard]] unsigned getLineWidth(unsigned line) const override;
20 [[nodiscard]] const void* getLineInfo(
21 unsigned line, unsigned& width,
22 void* buf, unsigned bufWidth) 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