1#ifndef SCALE2XSCALER_HH
2#define SCALE2XSCALER_HH
12template<std::
unsigned_
integral Pixel>
19 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
22 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
26 void scaleLine_1on2(std::span<Pixel> dst0, std::span<Pixel> dst1,
27 std::span<const Pixel> src0, std::span<const Pixel> src1, std::span<const Pixel> src2);
28 void scaleLineHalf_1on2(std::span<Pixel> dst,
29 std::span<const Pixel> src0, std::span<const Pixel> src1, std::span<const Pixel> src2);
31 void scaleLine_1on1(std::span<Pixel> dst0, std::span<Pixel> dst1,
32 std::span<const Pixel> src0, std::span<const Pixel> src1, std::span<const Pixel> src2);
33 void scaleLineHalf_1on1(std::span<Pixel> dst,
34 std::span<const Pixel> src0, std::span<const Pixel> src1, std::span<const Pixel> src2);
Interface for getting lines from a video frame.
Runs the Scale2x scaler algorithm.
void scale1x1to2x2(FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, 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
Scale2xScaler(const PixelOperations< Pixel > &pixelOps)
Base class for 2x scalers.
const PixelOperations< Pixel > pixelOps
This file implemented 3 utility functions: