Skip to content

Commit

Permalink
Remove accidental commit of xbrz.
Browse files Browse the repository at this point in the history
  • Loading branch information
bearoso committed Oct 25, 2024
1 parent 8a33829 commit 20768ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions filter/xbrz.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,9 @@ void blendPixel(const Kernel_3x3& ker,
#undef i
}


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);
yLast = std::min(yLast, srcHeight);
Expand Down Expand Up @@ -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)
{
static_assert(SCALE_FACTOR_MAX == 6, "");
Expand Down

0 comments on commit 20768ed

Please sign in to comment.