PackToCplxExtend
Converts an image in packed format to a complex data image.
Syntax
IppStatus ippiPackToCplxExtend_32f32fc_C1R(const Ipp32f*
pSrc
, IppiSize
srcSize
, int
srcStep
, Ipp32fc*
pDst
, int
dstStep
);
Include Files
ippi.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
Parameters
- 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.
Description
This function 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 (N
xM
), then the pDst
is a real array of dimensions (2xNxM
). This should be taken into account when allocating memory for the function operation.Return Values
- ippStsNoErr
- Indicates no error. Any other value indicates an error or a warning.
- ippStsNullPtrErr
- Indicates an error condition ifpSrcorpDstpointer isNULL.
- ippStsStepErr
- Indicates an error condition ifsrcStepordstStepvalue is zero or negative.
- ippStsSizeErr
- Indicates an error condition ifsrcSizehas field with zero or negative value.