CplxExtendToPack

Converts a complex data image to an image in packed format.

Syntax

IppStatus ippiCplxExtendToPack_<mod>(const Ipp<srcDatatype>* pSrc, int srcStep, IppiSize srcSize, Ipp<dstDatatype>* pDst, int dstStep);

Supported values for mod:

16sc16s_C1R

32sc32s_C1R

32fc32f_C1R

16sc16s_C3R

32sc32s_C3R

32fc32f_C3R

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

The function ippiCplxExtendToPack 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 complex data format to RCPack2D format and stores the results in pDst, which is a real array of dimensions (NxM). The pSrc is a matrix with complete set of the Fourier coefficients.

Return Values

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.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.