openMSX
|
Polymorphic wrapper around another line scaler. More...
#include <LineScalers.hh>
Public Member Functions | |
PolyScale () | |
PolyScale (PixelOperations< Pixel > pixelOps) | |
void | operator() (const Pixel *in, Pixel *out, size_t outWidth) override |
Actually scale a line. More... | |
bool | isCopy () const override |
Is this scale operation actually a copy? This info can be used to (in a multi-step scale operation) immediately produce the output of the previous step in this step's output buffer, so effectively skipping this step. More... | |
Additional Inherited Members | |
![]() | |
~PolyLineScaler ()=default | |
Polymorphic wrapper around another line scaler.
This version directly contains (and thus constructs) the wrapped Line Scaler.
Definition at line 312 of file LineScalers.hh.
|
inline |
Definition at line 315 of file LineScalers.hh.
|
inlineexplicit |
Definition at line 319 of file LineScalers.hh.
|
inlineoverridevirtual |
Is this scale operation actually a copy? This info can be used to (in a multi-step scale operation) immediately produce the output of the previous step in this step's output buffer, so effectively skipping this step.
Implements openmsx::PolyLineScaler< Pixel >.
Definition at line 327 of file LineScalers.hh.
|
inlineoverridevirtual |
Actually scale a line.
in | Pointer to buffer containing input line. |
out | Pointer to buffer that should be filled with output. |
outWidth | The number of pixels that should be output. Note: The number of input pixels is not explicitly specified. This depends on the actual scaler, for example Scale_2on1 requires twice as many pixels in the input than the output. |
Implements openmsx::PolyLineScaler< Pixel >.
Definition at line 323 of file LineScalers.hh.