openMSX
Public Member Functions | List of all members
openmsx::Simple2xScaler< Pixel > Class Template Referencefinal

Scaler which assigns the color of the original pixel to all pixels in the 2x2 square. More...

#include <Simple2xScaler.hh>

Inheritance diagram for openmsx::Simple2xScaler< Pixel >:
Inheritance graph
[legend]
Collaboration diagram for openmsx::Simple2xScaler< Pixel >:
Collaboration graph
[legend]

Public Member Functions

 Simple2xScaler (const PixelOperations< Pixel > &pixelOps, RenderSettings &renderSettings)
 
- Public Member Functions inherited from openmsx::Scaler< Pixel >
virtual ~Scaler ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from openmsx::Scaler2< Pixel >
 Scaler2 (const PixelOperations< Pixel > &pixelOps)
 
void dispatchScale (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
 
virtual void scaleBlank1to1 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
 
virtual void scale1x1to3x2 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
 
virtual void scale1x1to3x1 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
 
virtual void scale1x1to2x1 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
 
virtual void scale2x1to3x2 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
 
virtual void scale2x1to3x1 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
 
virtual void scale1x1to1x1 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
 
virtual void scale4x1to3x2 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
 
virtual void scale4x1to3x1 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
 
virtual void scale2x1to1x2 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
 
virtual void scale2x1to1x1 (FrameSource &src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, ScalerOutput< Pixel > &dst, unsigned dstStartY, unsigned dstEndY)
 
- Protected Attributes inherited from openmsx::Scaler2< Pixel >
const PixelOperations< PixelpixelOps
 

Detailed Description

template<class Pixel>
class openmsx::Simple2xScaler< Pixel >

Scaler which assigns the color of the original pixel to all pixels in the 2x2 square.

Optionally it can draw darkended scanlines (scanline has the average color from the pixel above and below). It can also optionally perform a horizontal blur.

Definition at line 18 of file Simple2xScaler.hh.

Constructor & Destructor Documentation

◆ Simple2xScaler()

template<class Pixel >
openmsx::Simple2xScaler< Pixel >::Simple2xScaler ( const PixelOperations< Pixel > &  pixelOps,
RenderSettings renderSettings 
)

Definition at line 21 of file Simple2xScaler.cc.


The documentation for this class was generated from the following files: