AVIR
High-quality pro image resizing library
 
Loading...
Searching...
No Matches
avir::CImageResizerFilterStep< fptype, fptypeatom >::CRPosBuf Class Reference

Resizing positions buffer class. More...

#include <avir.h>

Inheritance diagram for avir::CImageResizerFilterStep< fptype, fptypeatom >::CRPosBuf:
avir::CBuffer< CResizePos >

Public Attributes

int FracCount
 The number of fractional delay filters in a filter bank used together with this buffer.
 
double k
 Resizing step.
 
double o
 Resizing offset.
 

Additional Inherited Members

- Public Member Functions inherited from avir::CBuffer< CResizePos >
 CBuffer (const CBuffer &Source)
 Completely copies the specified buffer.
 
 CBuffer (const int aCapacity, const int aAlignment=0)
 Creates the buffer with the specified capacity.
 
void alloc (const int aCapacity, const int aAlignment=0)
 Allocates memory so that the specified number of elements can be stored in this buffer object.
 
void forceCapacity (const int NewCapacity)
 "Forces" this buffer to have an arbitary capacity.
 
void free ()
 Deallocates any previously allocated buffer.
 
int getCapacity () const
 Returns the capacity of this element buffer.
 
void increaseCapacity (const int NewCapacity, const bool DoDataCopy=true)
 Reallocates this buffer to a larger size.
 
 operator CResizePos * () const
 Returns pointer to the first buffer element.
 
CBufferoperator= (const CBuffer &Source)
 Completely copies the specified buffer.
 
void truncateCapacity (const int NewCapacity)
 "Truncates" (reduces) capacity of this buffer, without reallocating it.
 
void updateCapacity (const int ReqCapacity)
 Increases capacity so that the specified number of elements can be stored.
 

Detailed Description

template<typename fptype, typename fptypeatom>
class avir::CImageResizerFilterStep< fptype, fptypeatom >::CRPosBuf

Resizing positions buffer class.

This class combines buffer together with variables that define resizing stepping.