Converts an image in packed format to a complex data image.
IppStatus ippiPackToCplxExtend_32s32sc_C1R(const Ipp32s* pSrc, IppiSize srcSize, int srcStep, Ipp32sc* pDst, int dstStep);
IppStatus ippiPackToCplxExtend_32f32fc_C1R(const Ipp32f* pSrc, IppiSize srcSize, int srcStep, Ipp32fc* pDst, int dstStep);
pSrc |
Pointer to the source image ROI. |
srcSize |
Size in pixels of the source image ROI. |
srcStep |
Distance in bytes between starts of consecutive lines in the source buffer. |
pDst |
Pointer to the destination image buffer. |
dstStep |
Distance in bytes between starts of consecutive lines in the destination image buffer. |
The function ippiPackToCplxExtend is declared in the ippi.h file. It operates with ROI (see Regions of Interest in Intel IPP).
This function converts the source image pSrc in RCPack2D format to complex data format and stores the results in pDst, which is a matrix with complete set of the Fourier coefficients. Note that if the pSrc in RCPack2D format is a real array of dimensions (NxM), then the pDst is a real array of dimensions (2xNxM). This should be taken into account when allocating memory for the function operation.
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error condition if pSrc or pDst pointer is NULL. |
ippStsStepErr |
Indicates an error condition if srcStep or dstStep value is zero or negative. |
ippStsSizeErr |
Indicates an error condition if srcSize has field with zero or negative value. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.