Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference

ID 790148
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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:

32fc32f_C1R

32fc32f_C3R

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 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.