AVIR
High-quality pro image resizing library
 
Loading...
Searching...
No Matches
avir::fpclass_def_dil< afptype, afptypesimd, adith > Class Template Reference

Floating-point processing definition and abstraction class for de-interleaved processing. More...

#include <avir_dil.h>

Public Types

typedef adith CDitherer
 Ditherer class to use during processing.
 
typedef CImageResizerFilterStepDIL< fptype, afptypesimd > CFilterStep
 Filtering step class to use during processing.
 
typedef afptype fptype
 Floating-point type to use during processing.
 
typedef afptype fptypeatom
 Atomic type "fptype" consists of.
 

Static Public Attributes

static const int elalign = sizeof( afptypesimd ) / sizeof( afptype )
 Length alignment of arrays of elements. This applies to filters and intermediate buffers: this constant forces filters and scanlines to have a length which is a multiple of this value, for more efficient SIMD implementation.
 
static const int fpalign = sizeof( afptypesimd )
 Suggested alignment size in bytes. This is not a required alignment, because image resizing algorithm cannot be made to have a strictly aligned data access in all cases (e.g. de-interleaved interpolation cannot perform aligned accesses).
 
static const int fppack = 1
 The number of atomic types stored in a single "fptype" element.
 
static const int packmode = 1
 0 if interleaved packing, 1 if de-interleaved.
 

Detailed Description

template<class afptype, class afptypesimd, class adith = CImageResizerDithererDefDIL< afptype, afptypesimd >>
class avir::fpclass_def_dil< afptype, afptypesimd, adith >

Floating-point processing definition and abstraction class for de-interleaved processing.

This class defines several constants and typedefs that point to classes that should be used by the image resizing algorithm. This implementation points to de-interleaved processing classes.

Template Parameters
afptypeFloating point type to use for storing intermediate data and variables. SIMD types should not be used.
afptypesimdSIMD type used to perform processing.
adithDitherer class to use during processing.