11template<std::
unsigned_
integral Pixel>
class Scaler3 :
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 3x scalers.
virtual void scale2x2to9x3(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scale1x1to3x3(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.
const PixelOperations< Pixel > pixelOps
virtual void scale4x2to9x3(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scaleBlank1to3(FrameSource &src, unsigned srcStartY, unsigned srcEndY, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scale4x2to3x3(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scale2x1to9x3(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scale1x2to3x3(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
Scaler3(const PixelOperations< Pixel > &pixelOps)
virtual void scale4x1to3x3(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scale2x1to3x3(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scale4x1to9x3(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scale2x2to3x3(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scale8x1to9x3(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scaleBlank2to3(FrameSource &src, unsigned srcStartY, unsigned srcEndY, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
virtual void scale8x2to9x3(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)
Abstract base class for scalers.
This file implemented 3 utility functions: