iwsDCT
Syntax
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
);
Parameters
- 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. IfNULL, default parameters are used.
Auxiliary Arguments
Argument | Default Value | Description |
---|---|---|
algoMode | ippAlgHintNone | Accuracy mode. |
Description
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 |
Return Values
- ippStsDataTypeErr
- ThedataTypevalue is illegal.
- ippStsNoMemErr
- Memory allocation failed.
- ippStsNullPtrErr
- At least one of the pointers (exceptpTile) isNULL.
- ippStsNoErr
- No errors.