17 #ifndef XBRZ_HEADER_3847894708239054
18 #define XBRZ_HEADER_3847894708239054
62 void scale(
size_t factor,
63 const uint32_t*
src, uint32_t* trg,
int srcWidth,
int srcHeight,
66 int yFirst = 0,
int yLast = std::numeric_limits<int>::max());
69 uint32_t* trg,
int trgWidth,
int trgHeight);
72 uint32_t* trg,
int trgWidth,
int trgHeight);
76 bool equalColorTest(uint32_t col1, uint32_t col2,
ColorFormat colFmt,
double luminanceWeight,
double equalColorTolerance);
void scale(size_t factor, const uint32_t *src, uint32_t *trg, int srcWidth, int srcHeight, ColorFormat colFmt, const ScalerCfg &cfg=ScalerCfg(), int yFirst=0, int yLast=std::numeric_limits< int >::max())
bool equalColorTest(uint32_t col1, uint32_t col2, ColorFormat colFmt, double luminanceWeight, double equalColorTolerance)
void nearestNeighborScale(const uint32_t *src, int srcWidth, int srcHeight, uint32_t *trg, int trgWidth, int trgHeight)
const int SCALE_FACTOR_MAX
void bilinearScale(const uint32_t *src, int srcWidth, int srcHeight, uint32_t *trg, int trgWidth, int trgHeight)
rect src
Non-transparent portion of the surface to compose.