20 fields[0] = evenField;
24unsigned DeinterlacedFrame::getLineWidth(
unsigned line)
const
26 return fields[line & 1]->getLineWidth(line >> 1);
29const void* DeinterlacedFrame::getLineInfo(
30 unsigned line,
unsigned& width,
void* buf,
unsigned bufWidth)
const
32 return fields[line & 1]->getLineInfo(line >> 1, width, buf, bufWidth);
void init(FrameSource *evenField, FrameSource *oddField)
DeinterlacedFrame(const PixelFormat &format)
Interface for getting lines from a video frame.
void setHeight(unsigned height_)
void init(FieldType fieldType_)
(Re)initialize an existing FrameSource.
unsigned getHeight() const
Gets the number of lines in this frame.
@ FIELD_NONINTERLACED
Interlacing is off for this frame.
void format(SectorAccessibleDisk &disk, MSXBootSectorType bootType)
Format the given disk (= a single partition).
This file implemented 3 utility functions: