Remove accidental commit of xbrz.

This commit is contained in:
BearOso 2024-10-25 18:58:49 -05:00
parent 8a33829bce
commit 20768ed8b2
1 changed files with 2 additions and 2 deletions

View File

@ -459,8 +459,9 @@ void blendPixel(const Kernel_3x3& ker,
#undef i #undef i
} }
template <class Scaler, class ColorDistance> //scaler policy: see "Scaler2x" reference implementation template <class Scaler, class ColorDistance> //scaler policy: see "Scaler2x" reference implementation
alwaysinline void scaleImage(const uint32_t* src, uint32_t* trg, int srcWidth, int srcHeight, const xbrz::ScalerCfg& cfg, int yFirst, int yLast) void scaleImage(const uint32_t* src, uint32_t* trg, int srcWidth, int srcHeight, const xbrz::ScalerCfg& cfg, int yFirst, int yLast)
{ {
yFirst = std::max(yFirst, 0); yFirst = std::max(yFirst, 0);
yLast = std::min(yLast, srcHeight); yLast = std::min(yLast, srcHeight);
@ -1068,7 +1069,6 @@ struct ColorGradientARGB
}; };
} }
__attribute__((target_clones("default", "avx2")))
void xbrz::scale(size_t factor, const uint32_t* src, uint32_t* trg, int srcWidth, int srcHeight, ColorFormat colFmt, const xbrz::ScalerCfg& cfg, int yFirst, int yLast) void xbrz::scale(size_t factor, const uint32_t* src, uint32_t* trg, int srcWidth, int srcHeight, ColorFormat colFmt, const xbrz::ScalerCfg& cfg, int yFirst, int yLast)
{ {
static_assert(SCALE_FACTOR_MAX == 6, ""); static_assert(SCALE_FACTOR_MAX == 6, "");