openMSX
|
TODO. More...
#include <RGBTriplet3xScaler.hh>
Public Member Functions | |
RGBTriplet3xScaler (const PixelOperations< Pixel > &pixelOps, const RenderSettings &renderSettings) | |
Public Member Functions inherited from openmsx::Scaler3< Pixel > | |
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. More... | |
Public Member Functions inherited from openmsx::Scaler< Pixel > | |
virtual | ~Scaler ()=default |
virtual void | scaleImage (FrameSource &src, const RawFrame *superImpose, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)=0 |
Scales the image in the given area, which must consist of lines which are all equally wide. More... | |
Protected Member Functions | |
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. More... | |
void | scaleBlank1to3 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY) override |
void | scaleBlank2to3 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY) override |
void | scale2x1to9x3 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY) override |
void | scale2x2to9x3 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY) override |
void | scale1x1to3x3 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY) override |
void | scale1x2to3x3 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY) override |
void | scale4x1to9x3 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY) override |
void | scale4x2to9x3 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY) override |
void | scale2x1to3x3 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY) override |
void | scale2x2to3x3 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY) override |
void | scale8x1to9x3 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY) override |
void | scale8x2to9x3 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY) override |
void | scale4x1to3x3 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY) override |
void | scale4x2to3x3 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY) override |
Protected Member Functions inherited from openmsx::Scaler3< Pixel > | |
Scaler3 (const PixelOperations< Pixel > &pixelOps) | |
void | dispatchScale (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 | scaleBlank2to3 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, 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 | 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) |
virtual void | scale1x2to3x3 (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 | scale4x2to9x3 (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 | 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 | scale8x2to9x3 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY) |
virtual void | scale4x1to3x3 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, 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) |
Additional Inherited Members | |
Protected Attributes inherited from openmsx::Scaler3< Pixel > | |
const PixelOperations< Pixel > | pixelOps |
TODO.
Definition at line 17 of file RGBTriplet3xScaler.hh.
openmsx::RGBTriplet3xScaler< Pixel >::RGBTriplet3xScaler | ( | const PixelOperations< Pixel > & | pixelOps, |
const RenderSettings & | renderSettings | ||
) |
Definition at line 16 of file RGBTriplet3xScaler.cc.
|
overrideprotectedvirtual |
Reimplemented from openmsx::Scaler3< Pixel >.
Definition at line 195 of file RGBTriplet3xScaler.cc.
|
overrideprotectedvirtual |
Reimplemented from openmsx::Scaler3< Pixel >.
Definition at line 205 of file RGBTriplet3xScaler.cc.
|
overrideprotectedvirtual |
Reimplemented from openmsx::Scaler3< Pixel >.
Definition at line 235 of file RGBTriplet3xScaler.cc.
|
overrideprotectedvirtual |
Reimplemented from openmsx::Scaler3< Pixel >.
Definition at line 175 of file RGBTriplet3xScaler.cc.
|
overrideprotectedvirtual |
Reimplemented from openmsx::Scaler3< Pixel >.
Definition at line 245 of file RGBTriplet3xScaler.cc.
|
overrideprotectedvirtual |
Reimplemented from openmsx::Scaler3< Pixel >.
Definition at line 185 of file RGBTriplet3xScaler.cc.
|
overrideprotectedvirtual |
Reimplemented from openmsx::Scaler3< Pixel >.
Definition at line 275 of file RGBTriplet3xScaler.cc.
|
overrideprotectedvirtual |
Reimplemented from openmsx::Scaler3< Pixel >.
Definition at line 215 of file RGBTriplet3xScaler.cc.
|
overrideprotectedvirtual |
Reimplemented from openmsx::Scaler3< Pixel >.
Definition at line 285 of file RGBTriplet3xScaler.cc.
|
overrideprotectedvirtual |
Reimplemented from openmsx::Scaler3< Pixel >.
Definition at line 225 of file RGBTriplet3xScaler.cc.
|
overrideprotectedvirtual |
Reimplemented from openmsx::Scaler3< Pixel >.
Definition at line 255 of file RGBTriplet3xScaler.cc.
|
overrideprotectedvirtual |
Reimplemented from openmsx::Scaler3< Pixel >.
Definition at line 265 of file RGBTriplet3xScaler.cc.
|
overrideprotectedvirtual |
Reimplemented from openmsx::Scaler3< Pixel >.
Definition at line 318 of file RGBTriplet3xScaler.cc.
References openmsx::ScalerOutput< Pixel >::acquireLine(), enumerate(), openmsx::ScalerOutput< Pixel >::getHeight(), openmsx::FrameSource::getLineColor(), openmsx::FrameSource::getLineWidth(), and openmsx::ScalerOutput< Pixel >::releaseLine().
|
overrideprotectedvirtual |
Reimplemented from openmsx::Scaler3< Pixel >.
Definition at line 363 of file RGBTriplet3xScaler.cc.
References openmsx::ScalerOutput< Pixel >::acquireLine(), enumerate(), openmsx::FrameSource::getLineColor(), and openmsx::ScalerOutput< Pixel >::releaseLine().
|
overrideprotectedvirtual |
Scales the image in the given area, which must consist of lines which are all equally wide.
Scaling factor depends on the concrete scaler.
src | Source: the frame to be scaled. |
superImpose | The to-be-superimposed image (can be nullptr). |
srcStartY | Y-coordinate of the top source line (inclusive). |
srcEndY | Y-coordinate of the bottom source line (exclusive). |
srcWidth | The number of pixels per line for the given area. |
dst | Destination: image to store the scaled output in. |
dstStartY | Y-coordinate of the top destination line (inclusive). |
dstEndY | Y-coordinate of the bottom destination line (exclusive). |
Implements openmsx::Scaler< Pixel >.
Definition at line 405 of file RGBTriplet3xScaler.cc.
References openmsx::SuperImposedVideoFrame< Pixel >::getLineWidth().