1#ifndef SIMPLE3XSCALER_HH
2#define SIMPLE3XSCALER_HH
12template<std::
unsigned_
integral Pixel>
class PolyLineScaler;
14template<std::
unsigned_
integral Pixel>
class Blur_1on3
18 inline void setBlur(
unsigned blur_) { blur = blur_; }
19 void operator()(std::span<const Pixel> in, std::span<Pixel> out);
27 void blur_SSE(
const Pixel* in_,
Pixel* out_,
size_t srcWidth);
31template<std::
unsigned_
integral Pixel>
41 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
44 FrameSource& src,
unsigned srcStartY,
unsigned srcEndY,
47 FrameSource& src,
unsigned srcStartY,
unsigned srcEndY,
50 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
53 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
56 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
59 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
62 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
65 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
68 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
71 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
74 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
77 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
80 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
83 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
87 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
91 unsigned srcStartY,
unsigned srcEndY,
unsigned srcWidth,
void operator()(std::span< const Pixel > in, std::span< Pixel > out)
void setBlur(unsigned blur_)
Blur_1on3(const PixelOperations< Pixel > &pixelOps)
Interface for getting lines from a video frame.
Helper class to perform 'pixel x scalar' calculations.
A video frame as output by the VDP scanline conversion unit, before any postprocessing filters are ap...
Class containing all settings for renderers.
Base class for 3x scalers.
Helper class to draw scanlines.
Simple3xScaler(const PixelOperations< Pixel > &pixelOps, const RenderSettings &settings)
~Simple3xScaler() override
constexpr mat4 scale(const vec3 &xyz)
This file implemented 3 utility functions: