This function computes the forward Discrete Cosine Transform (DCT) of the input HIGCOMPLEXOBJ data.
Declaration:
|
Copy Code
|
AT_ERRCOUNT ACCUAPI IG_FIP_dct_forward(
HIGCOMPLEXOBJ hIGComplexObj,
LPHIGCOMPLEXOBJ lphIGComplexObjOut
);
|
Arguments:
Name |
Type |
Description |
hIGComplexObj |
HIGCOMPLEXOBJ |
HIGCOMPLEXOBJ handle of data to be processed. |
lphIGComplexObjOut |
LPHIGCOMPLEXOBJ |
HIGCOMPLEXOBJ handle of result data. |
Return Value:
Returns the number of ImageGear errors that occurred during this function call.
Supported Raster Image Formats:
All pixel formats supported by HIGCOMPLEXOBJ object. See IG_FIP_co_obj_create.
Sample:
FreqIP
Example:
|
Copy Code
|
HIGCOMPLEXOBJ hIGComplexObj; /* HIGCOMPLEXOBJ handle of input data */
HIGCOMPLEXOBJ hIGComplexObjOut; /* HIGCOMPLEXOBJ handle of result data */
...
IG_FIP_DCT_forward(hIGComplexObj, &hIGComplexObjOut);
...
|