Computes the forward discrete cosine transform (DCT) of a signal.
IppStatus ippsDCTFwd_G722_16s(const Ipp16s* pSrc, Ipp16s* pDst);
IppStatus ippsDCTFwd_G7221_16s (const Ipp16s* pSrc, Ipp16s* pDst, int len);
pSrc |
Pointer to the source vector. |
pDst |
Pointer to the destination vector. |
len |
Number of elements on the source and destination vectors, possible values: 320, 640. |
The functions ippsDCTFwdare declared in ippsc.h file. The function ippsDCTFWD_G722 computes the forward discrete cosine transform (DCT) of the fixed length [320]. The function ippsDCTFWD_G7221 computes the forward DCT of the length len. The calculation is performed according to the following formula:
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointer is NULL. |
ippStsSizeErr |
Indicates an error when the len has an illegal value. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.