List of all members.
Classes |
struct | Contributor |
struct | SampleWeight |
Public Member Functions |
| ResampleHelper (uint32 iOldSize, uint32 iNewSize, EResampleFilter iFilter) |
| Construtor.
|
uint32 | GetContributorCount (uint32 iNewIndex) const |
| Get the number of contributor for an index.
|
uint32 | GetOldIndex (uint32 iNewIndex, uint32 iContributor) const |
| Get the old index.
|
double | GetWeight (uint32 iNewIndex, uint32 iContributor) const |
| Get the weight from new index and contributor.
|
Constructor & Destructor Documentation
eLynx::Math::ResampleHelper::ResampleHelper |
( |
uint32 |
iOldSize, |
|
|
uint32 |
iNewSize, |
|
|
EResampleFilter |
iFilter |
|
) |
| |
Construtor.
- Parameters:
-
iOldSize | The size of the samples to be resampled (the old size). |
iNewSize | The requested new size of samples. |
iFilter | The resample filter to use. |
Member Function Documentation
uint32 eLynx::Math::ResampleHelper::GetContributorCount |
( |
uint32 |
iNewIndex ) |
const |
Get the number of contributor for an index.
- Parameters:
-
iNewIndex | The new index in range [0, newSize[ |
- Returns:
- the number of contributor.
uint32 eLynx::Math::ResampleHelper::GetOldIndex |
( |
uint32 |
iNewIndex, |
|
|
uint32 |
iContributor |
|
) |
| const |
Get the old index.
- Parameters:
-
iNewIndex | The new index in range [0, newSize[ |
iContributor | the contributor index. |
- Returns:
- the old index.
double eLynx::Math::ResampleHelper::GetWeight |
( |
uint32 |
iNewIndex, |
|
|
uint32 |
iContributor |
|
) |
| const |
Get the weight from new index and contributor.
- Parameters:
-
iNewIndex | The new index in range [0, newSize[ |
iContributor | the contributor index. |
- Returns:
- The weight to be applied.
The documentation for this class was generated from the following file: