21 #ifndef GRAPHICS_SCALER_HQ_H 22 #define GRAPHICS_SCALER_HQ_H 24 #include "graphics/scalerplugin.h" 27 struct hqx_parameters;
37 virtual void scaleIntern(
const uint8 *srcPtr, uint32 srcPitch,
38 uint8 *dstPtr, uint32 dstPitch,
int width,
int height,
int x,
int y)
override;
41 inline void HQ2x16(
const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch,
int width,
int height);
42 inline void HQ3x16(
const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch,
int width,
int height);
43 inline void HQ2x32(
const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch,
int width,
int height);
44 inline void HQ3x32(
const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch,
int width,
int height);
48 hqx_parameters *_hqx_params;
virtual void scaleIntern(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height, int x, int y) override
uint increaseFactor() override
uint decreaseFactor() override
Definition: scalerplugin.h:28