Integration Wrappers for Intel® Integrated Performance Primitives Developer Guide and Reference 2019
typedef struct _IwsDCTParams
{
IppHintAlgorithm algoMode;
} IwsDCTParams;static IW_INLINE void iwsDCT_SetDefaultParams(
IwsDCTParams *pParams
)IW_DECL(IppStatus) iwsDCT(
const IwsVector *pSrcVector,
IwsVector *pDstVector,
IwTransDirection direction,
const IwsDCTParams *pAuxParams
);pSrcVector |
Pointer to the source vector. |
pDstVector |
Pointer to the destination vector. |
direction |
Transform direction. |
addVal |
Offset value for scaling. |
pAuxParams |
Pointer to the auxiliary parameters structure. If NULL, default parameters are used. |
| Argument | Default Value | Description |
|---|---|---|
algoMode |
ippAlgHintNone |
Accuracy mode. |
This function applies discrete cosine transform (DCT) to the source vector.
This function supports the following features:
| Feature | Support |
|---|---|
| In-place mode | Yes |
| 64-bit sizes | No |
| Manual tiling | Yes |
| IwsTile simple tiling | No |
| IwsTile pipeline tiling | No |
ippStsDataTypeErr |
The dataType value is illegal. |
ippStsNoMemErr |
Memory allocation failed. |
ippStsNullPtrErr |
At least one of the pointers (except pTile) is NULL. |
ippStsNoErr |
No errors. |