15 fields[0] = evenField;
19unsigned DeinterlacedFrame::getLineWidth(
unsigned line)
const
21 return fields[line & 1]->getLineWidth(line >> 1);
24std::span<const FrameSource::Pixel> DeinterlacedFrame::getUnscaledLine(
25 unsigned line, std::span<Pixel> helpBuf)
const
27 return fields[line & 1]->getUnscaledLine(line >> 1, helpBuf);
void init(FrameSource *evenField, FrameSource *oddField)
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.
@ NONINTERLACED
Interlacing is off for this frame.
This file implemented 3 utility functions: