20unsigned DoubledFrame::getLineWidth(
unsigned line)
const
22 int t = narrow<int>(line) - skip;
26const void* DoubledFrame::getLineInfo(
27 unsigned line,
unsigned& width,
void* buf,
unsigned bufWidth)
const
DoubledFrame(const PixelFormat &format)
void init(FrameSource *field, int skip)
Interface for getting lines from a video frame.
virtual unsigned getLineWidth(unsigned line) const =0
Gets the number of display pixels on the given line.
void setHeight(unsigned height_)
virtual const void * getLineInfo(unsigned line, unsigned &lineWidth, void *buf, unsigned bufWidth) const =0
Abstract implementation of getLinePtr().
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.
constexpr vecN< N, T > max(const vecN< N, T > &x, const vecN< N, T > &y)
void format(SectorAccessibleDisk &disk, MSXBootSectorType bootType)
Format the given disk (= a single partition).
This file implemented 3 utility functions: