![]() |
Plasma Engine
2.0
|
Pre-computes the required filter weights for rescaling a sequence of image samples. More...
#include <ImageFilter.h>
Public Member Functions | |
plImageFilterWeights (const plImageFilter &filter, plUInt32 uiSrcSamples, plUInt32 uiDstSamples) | |
Pre-compute the weights for the given filter for scaling between the given number of samples. | |
plUInt32 | GetNumWeights () const |
Returns the number of weights. | |
plSimdFloat | GetWeight (plUInt32 uiDstSampleIndex, plUInt32 uiWeightIndex) const |
Returns the weight used for the source sample GetFirstSourceSampleIndex(dstSampleIndex) + weightIndex. | |
plInt32 | GetFirstSourceSampleIndex (plUInt32 uiDstSampleIndex) const |
Returns the index of the first source sample that needs to be weighted to evaluate the destination sample. | |
plArrayPtr< const float > | ViewWeights () const |
Pre-computes the required filter weights for rescaling a sequence of image samples.