11template<std::
unsigned_
integral Pixel>
class Scaler2 :
public Scaler<Pixel>
15 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
22 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
25 FrameSource& src,
unsigned srcStartY,
unsigned srcEndY,
28 FrameSource& src,
unsigned srcStartY,
unsigned srcEndY,
31 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
34 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
37 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
40 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
43 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
46 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
49 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
52 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
55 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
58 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
61 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
64 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
Interface for getting lines from a video frame.
A video frame as output by the VDP scanline conversion unit, before any postprocessing filters are ap...
Base class for 2x scalers.
virtual void scale1x1to1x1(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scale1x1to2x2(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scale1x1to3x1(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
void dispatchScale(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scale4x1to3x1(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scaleBlank1to2(FrameSource &src, unsigned srcStartY, unsigned srcEndY, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scale1x1to3x2(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
const PixelOperations< Pixel > pixelOps
virtual void scale2x1to3x2(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scale1x1to2x1(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scaleBlank1to1(FrameSource &src, unsigned srcStartY, unsigned srcEndY, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
Scaler2(const PixelOperations< Pixel > &pixelOps)
virtual void scale4x1to3x2(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
void scaleImage(FrameSource &src, const RawFrame *superImpose, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY) override
Scales the image in the given area, which must consist of lines which are all equally wide.
virtual void scale1x1to1x2(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scale2x1to3x1(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scale2x1to1x2(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scale2x1to1x1(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
Abstract base class for scalers.
This file implemented 3 utility functions: