ICTInv_JPEG2K

Performs inverse irreversible component transformation.

Syntax

Case 1: Operation on planar data

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

Case 2: In-place operation on planar data

IppStatus ippiICTInv_JPEG2K_<mod>(Ipp<datatype>* pSrcDst[3], int srcDstStep, IppiSize roiSize);

Supported values for mod:

16s_P3IR 32s_P3IR 32f_P3IR

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 ippiICTFwd_JPEG2K is declared in the ippj.h file. It operates with ROI (see Regions of Interest in Intel IPP).

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

I0= Y0 + 1.402*Y2

I1= Y0 - 0.34413*Y1 - 0.71414*Y2

I2 = Y0 + 1.772*Y1

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.