Resizing positions buffer array class. More...
#include <avir.h>
Public Member Functions | |
CRPosBuf & | getRPosBuf (const double k, const double o, const int FracCount) |
Returns the resizing positions buffer with the required stepping. | |
![]() | |
CStructArray (const CStructArray &Source) | |
Copies the specified array element-by-element. | |
CRPosBuf & | add () |
Creates a new object of type T with the default constructor, and adds this object to the array. | |
void | clear () |
Erases all items of this array. | |
int | getItemCount () const |
Returns the number of allocated items. | |
CStructArray & | operator= (const CStructArray &Source) |
Copies the specified array element-by-element. | |
CRPosBuf & | operator[] (const int Index) |
Returns writable reference to the specified element. | |
const CRPosBuf & | operator[] (const int Index) const |
Returns const reference to the specified element. | |
void | setItemCount (const int NewCount) |
Changes the number of allocated items. | |
Resizing positions buffer array class.
This class combines structure array of the CRPosBuf class objects with the function that locates or creates buffer with the required resizing stepping.
CRPosBuf & avir::CImageResizerFilterStep< fptype, fptypeatom >::CRPosBufArray::getRPosBuf | ( | const double | k, |
const double | o, | ||
const int | FracCount ) |
Returns the resizing positions buffer with the required stepping.
If no such buffer exists, it is created.
k | Resizing step. |
o | Resizing offset. |
FracCount | The number of fractional delay filters in a filter bank used together with this buffer. |