Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *IDCT(TMtxVec *Vec, int VecIndex, int Index, int Len); | The inverse discrete cosine transform (DCT). |
| 2 | TVec *IDCT(TVec *Vec); | The inverse discrete cosine transform (DCT). |
| 3 | TVec *IDCT(); | Calculate the inverse DCT in-pllace. |
Overload 1: TMtxVec *IDCT(TMtxVec *Vec, int VecIndex, int Index, int Len);
The inverse discrete cosine transform (DCT).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | VecIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
Calculate the inverse discrete cosine transform (DCT) from Vec elements [VecIndex]..[VecIndex+Len-1] and store the results in the calling object elements [Index]..[Index+Len-1]. The Len parameter must be the power of two. Size and TVec::Complex properties of the calling vector must be set explicitly. An exception is raised if TVec::ConditionCheck is True and array borders are overrun.
Overload 2: TVec *IDCT(TVec *Vec);
The inverse discrete cosine transform (DCT).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TVec * |
Calculates the inverse discrete cosine transform (DCT) of a Vec and writes the results in the calling vector. If Vec TVec::Length is a power of 2, the function uses an efficient algorithm that is significantly faster than the direct computation of DCT. For other values of Vec length, this function uses the direct formulas given below; however, the symmetry of cosine function is taken into account, which allows to perform about half of the multiplication operations in the formulas. In the following definition of inverse DCT, N=Vec.Length and V is the calling vector:
Overload 3: TVec *IDCT();
Calculate the inverse DCT in-pllace.
The length of the calling vector is adjusted automatically.