13template<std::
unsigned_
integral Pixel>
19 FrameSource& src,
unsigned srcStartY,
unsigned srcEndY,
22 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
25 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
30 std::span<const Pixel> srcLine0, std::span<const Pixel> srcLine1,
31 std::span<const Pixel> srcLine2, std::span<const Pixel> srcLine3,
32 std::span<Pixel> dstUpper, std::span<Pixel> dstLower);
34 std::span<const Pixel> srcLine0, std::span<const Pixel> srcLine1,
35 std::span<const Pixel> srcLine2, std::span<const Pixel> srcLine3,
36 std::span<Pixel> dstUpper, std::span<Pixel> dstLower);
Interface for getting lines from a video frame.
2xSaI algorithm: edge-detection which produces a rounded look.
SaI2xScaler(const PixelOperations< Pixel > &pixelOps)
void scale1x1to2x2(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY) override
void scaleBlank1to2(FrameSource &src, unsigned srcStartY, unsigned srcEndY, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY) override
void scale1x1to1x2(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY) override
Base class for 2x scalers.
This file implemented 3 utility functions: