RCTInv_JPEG2K

Performs inverse reversible component transformation.

Syntax

Case 1: Operation on planar data

IppStatus ippiRCTInv_JPEG2K_32s_P3C3R(const Ipp32s* pSrc[3], int srcStep, Ipp32s* pDst, int dstStep, IppiSize roiSize);

Case 2: In-place operation on planar data

IppStatus ippiRCTInv_JPEG2K_32s_P3IR(Ipp32s* pSrcDst[3], int srcDstStep, IppiSize roiSize);

Parameters

pSrc

Pointer to the array of pointers to the ROIs in the planes of the source image.

srcStep

Distance in bytes between starts of consecutive lines in the source image.

pDst

Pointer to the destination image ROI.

dstStep

Distance in bytes between starts of consecutive lines in the destination image.

pSrcDst

Pointer to the array of pointers to ROIs in the planes of the source and destination image for the in-place operation.

dstSrcStep

Distance in bytes between starts of consecutive lines in the source and destination image buffer for the in-place operation.

roiSize

Size of the source and destination ROI in pixels.

Description

The function ippiRCTFwd_JPEG2K is declared in the ippj.h file. It operates with ROI (see Regions of Interest in Intel IPP).

This function performs inverse RCT of the image buffer pSrc after inverse wavelet transformation. The inverse RCT is applied to transformed image component samples Y0, Y1, Y2 and produces the corresponding samples I0, I1, I2 in accordance with the following formulas:

where the notation

designates the floor function, that is, the largest integer not exceeding x.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when any of the specified pointers is NULL.

ippStsSizeErr

Indicates an error condition if roiSize has a field with zero or negative value.

ippStsStepErr

Indicates an error condition if any of the specified buffer step values is zero or negative.

Submit feedback on this help topic

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