38 #ifndef XBRZ_HEADER_3847894708239054
39 #define XBRZ_HEADER_3847894708239054
43 #include <boost/cstdint.hpp>
78 void scale(
size_t factor,
80 const ScalerCfg& cfg = ScalerCfg(),
81 int yFirst = 0,
int yLast = std::numeric_limits<int>::max());
84 uint32_t* trg,
int trgWidth,
int trgHeight);
92 uint32_t* trg,
int trgWidth,
int trgHeight,
int trgPitch,
105 uint32_t* trg,
int trgWidth,
int trgHeight)
108 trg, trgWidth, trgHeight, trgWidth *
sizeof(
uint32_t),
void scale(size_t factor, const uint32_t *src, uint32_t *trg, int srcWidth, int srcHeight, const ScalerCfg &cfg=ScalerCfg(), int yFirst=0, int yLast=std::numeric_limits< int >::max())
bool equalColor(uint32_t col1, uint32_t col2, double luminanceWeight, double equalColorTolerance)
void nearestNeighborScale(const uint32_t *src, int srcWidth, int srcHeight, uint32_t *trg, int trgWidth, int trgHeight)