ScummVM API documentation
HQScaler Class Reference
Inheritance diagram for HQScaler:
Scaler

Public Member Functions

 HQScaler (const Graphics::PixelFormat &format)
 
uint increaseFactor () override
 
uint decreaseFactor () override
 
- Public Member Functions inherited from Scaler
 Scaler (const Graphics::PixelFormat &format)
 
void scale (const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height, int x, int y)
 
virtual uint getFactor () const
 
virtual uint setFactor (uint factor)
 
virtual void setSource (const byte *src, uint pitch, int width, int height, int padding)
 
virtual void enableSource (bool enable)
 

Protected Member Functions

virtual void scaleIntern (const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height, int x, int y) override
 
void initLUT (Graphics::PixelFormat format)
 
void HQ2x16 (const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height)
 
void HQ3x16 (const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height)
 
void HQ2x32 (const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height)
 
void HQ3x32 (const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height)
 

Protected Attributes

uint32 * _RGBtoYUV
 
- Protected Attributes inherited from Scaler
uint _factor
 
Graphics::PixelFormat _format
 

Member Function Documentation

◆ increaseFactor()

uint HQScaler::increaseFactor ( )
overridevirtual

Increase the factor of scaling.

Returns
The new factor

Implements Scaler.

◆ decreaseFactor()

uint HQScaler::decreaseFactor ( )
overridevirtual

Decrease the factor of scaling.

Returns
The new factor

Implements Scaler.

◆ scaleIntern()

virtual void HQScaler::scaleIntern ( const uint8 *  srcPtr,
uint32  srcPitch,
uint8 *  dstPtr,
uint32  dstPitch,
int  width,
int  height,
int  x,
int  y 
)
overrideprotectedvirtual
See also
scale

Implements Scaler.


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