AVIR
High-quality pro image resizing library
 
Loading...
Searching...
No Matches
avir::CImageResizerVarsBase Class Reference

Image resizing variables (base class). More...

#include <avir.h>

Inheritance diagram for avir::CImageResizerVarsBase:
avir::CImageResizerVars

Public Attributes

int BufLen [2]
 Intermediate buffers' lengths in fptype elements.
 
int BufOffs [2]
 Offsets into the intermediate buffers, used to provide prefix elements required during processing so that no "out of range" access happens. This offset is a multiple of ElCount if pixels are stored in interleaved form.
 
int elalign
 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.
 
int ElCount
 The number of fptype elements used to store 1 pixel.
 
int ElCountIO
 The number of source and destination image's elements used to store 1 pixel.
 
int fpalign
 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).
 
int fppack
 The number of atomic types stored in a single fptype element.
 
double InGammaMult
 Input gamma multiplier, used to convert input data to [0; 1] range. 0.0, if no gamma is in use.
 
bool IsResize2
 Use optimized doResize2() function.
 
double k
 Resizing step coefficient, updated to reflect the actually used coefficient during resizing.
 
double o
 Starting pixel offset inside the source image, updated to reflect the actually used offset during resizing.
 
double OutGammaMult
 Output gamma multiplier, used to convert data to [0; 255/65535] range. 0.0, if no gamma is in use.
 
int packmode
 0, if interleaved packing; 1, if de-interleaved.
 
int ResizeStep
 Index of the resizing step in the latest filtering steps array.
 

Detailed Description

Image resizing variables (base class).

This is an utility "catch all" base class, which defines various variables used during image resizing.