HDK
|
#include <TIL_PixelFilter.h>
Public Member Functions | |
TIL_PixelFilterMinMax () | |
template<int NSRCCOMPONENTS, typename T , int NDSTCOMPONENTS, bool INTERLEAVED> | |
void | filterPlane (const TIL_AdaptiveImage &src, PXL_RasterWrapper< T, NDSTCOMPONENTS, INTERLEAVED, false > dest, int planei) const |
void | combineSample (int ncomponents, exint nexisting_samples, float *existing, exint nnew_samples, const float *new_sample) const override |
bool | ownedBySingleton () const override |
Public Member Functions inherited from TIL_PixelFilterT< TIL_PixelFilterMinMax< IS_MAX > > | |
~TIL_PixelFilterT () override | |
void | filterPlaneVirtual (const TIL_AdaptiveImage &src, TIL_Raster &dest, int planei, int plane_src_components) const override |
Public Member Functions inherited from TIL_PixelFilter | |
virtual | ~TIL_PixelFilter () |
SYS_FORCE_INLINE bool | needsSquares () const |
SYS_FORCE_INLINE bool | needsWeights () const |
SYS_FORCE_INLINE bool | vetsSamples () const |
Static Public Attributes | |
static TIL_PixelFilterMinMax < IS_MAX > | theInstance |
Additional Inherited Members | |
Public Types inherited from TIL_PixelFilterT< TIL_PixelFilterMinMax< IS_MAX > > | |
typedef TIL_PixelFilterMinMax < IS_MAX > | SubclassType |
Protected Member Functions inherited from TIL_PixelFilterT< TIL_PixelFilterMinMax< IS_MAX > > | |
TIL_PixelFilterT (bool needs_squares=false, bool vets_samples=false, bool needs_weights=false) | |
Protected Member Functions inherited from TIL_PixelFilter | |
TIL_PixelFilter () | |
TIL_PixelFilter (bool needs_squares, bool vets_samples, bool needs_weights) | |
Definition at line 211 of file TIL_PixelFilter.h.
|
inline |
Definition at line 215 of file TIL_PixelFilter.h.
|
inlineoverridevirtual |
When vetsSamples() returns true, this should be called so that the pixel filter can decide how to combine samples, instead of just summing. NOTE: nnew_samples is 1 when adding a new sample, but may be more than 1 when combining pixels into higher levels of the TIL_AdaptiveImage.
Reimplemented from TIL_PixelFilter.
Definition at line 225 of file TIL_PixelFilter.h.
void TIL_PixelFilterMinMax< IS_MAX >::filterPlane | ( | const TIL_AdaptiveImage & | src, |
PXL_RasterWrapper< T, NDSTCOMPONENTS, INTERLEAVED, false > | dest, | ||
int | planei | ||
) | const |
|
inlineoverridevirtual |
Returns false iff TIL_AdaptiveImage needs to create/delete it. true means that it's owned globally, so will be deleted when the process exits.
Reimplemented from TIL_PixelFilter.
Definition at line 263 of file TIL_PixelFilter.h.
|
static |
Definition at line 268 of file TIL_PixelFilter.h.