3#include <Foundation/Containers/HybridArray.h>
4#include <Foundation/SimdMath/SimdFloat.h>
5#include <Texture/TextureDLL.h>
66 plUInt32 GetNumWeights()
const;
69 plSimdFloat GetWeight(plUInt32 uiDstSampleIndex, plUInt32 uiWeightIndex)
const;
72 inline plInt32 GetFirstSourceSampleIndex(plUInt32 uiDstSampleIndex)
const;
81 plUInt32 m_uiNumWeights;
82 plUInt32 m_uiDstSamplesReduced;
85#include <Texture/Image/Implementation/ImageFilter_inl.h>
This class encapsulates an array and it's size. It is recommended to use this class instead of plain ...
Definition ArrayPtr.h:37
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition HybridArray.h:12
Box filter.
Definition ImageFilter.h:26
Represents a function used for filtering an image.
Definition ImageFilter.h:9
virtual plSimdFloat SamplePoint(const plSimdFloat &x) const =0
Samples the filter function at a single point. Note that the distribution isn't necessarily normalize...
Kaiser-windowed sinc filter.
Definition ImageFilter.h:44
Triangle filter.
Definition ImageFilter.h:35
Pre-computes the required filter weights for rescaling a sequence of image samples.
Definition ImageFilter.h:60