Performs a tile-oriented inverse wavelet transform with irreversible filter.
IppStatus ippiWTInv_D97_JPEG2K_16s_C1R(const Ipp16s* pSrc[4], int srcStep[4], Ipp16s* pDst, int dstStep, const IppiRect* pTileRect, Ipp8u* pBuffer);
IppStatus ippiWTInv_D97_JPEG2K_32s_C1R(const Ipp32s* pSrc[4], int srcStep[4], Ipp32s* pDst, int dstStep, const IppiRect* pTileRect, Ipp8u* pBuffer);
IppStatus ippiWTInv_D97_JPEG2K_16s_C1IR(Ipp16s* pSrcDstTile, int srcDstStep, const IppiRect* pTileRect, Ipp8u* pBuffer);
IppStatus ippiWTInv_D97_JPEG2K_32s_C1IR(Ipp32s* pSrcDstTile, int srcDstStep, const IppiRect* pTileRect, Ipp8u* pBuffer);
pSrc |
An array of pointers to the source subbands (in the order LxLy, LxHy, HxLy, HxHy). |
srcStep |
Array of distances in bytes between starts of consecutive lines in the the source subbands. |
pDst |
Pointer to the destination image. |
dstStep |
Distance in bytes between starts of consecutive lines in the the destination image. |
pSrcDstTile |
Pointer to the source and destination image for in-place operation. |
srcDstStep |
Distance in bytes between starts of consecutive lines in the source and destination image for in-place operation. |
pTileRect |
Pointer to the tile rectangle structure. |
pBuffer |
Pointer to the buffer. |
The function ippiWTInv_D97_JPEG2K is declared in the ippj.h file. This function performs an inverse discrete wavelet transformation using a subband reconstruction in accordance with [ISO15444], Annex F, Discrete Wavelet Transformation of Tile-Components. The function performs one-level reconstruction of the tile of the destination image pDst from the set of four two-dimensional subbands pSrc labelled as LxLy, LxHy, HxLy, HxHy. The subband LxLy is a downsampled version of the initial tile to which horizontal and vertical low-pass filters were applied. The subband LxHy is a downsampled version of the initial tile to which a horizontal low-pass and vertical high-pass filters were applied. The subband HxLy is a downsampled version of the initial tile to which horizontal high-pass and vertical low-pass filters were applied. The subband HxHy is a downsampled version of the initial tile to which horizontal and vertical high-pass filters were applied. The function uses the 9-7 irreversible filter.
For not-in-place flavors, the source subbands are placed separately in the array pDst. For in-place flavors, the source subbands are placed in the pSrcDstTile (see Figure “Subband Positions for in-place Operations”).
The size of the required external buffer should be determined by calling the ippiWTGetBufSize_D97_JPEG2K function prior to using the wavelet transform function.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error condition if any of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error condition if the width or height of ROI has zero or negative value. |
ippStsStepErr |
Indicates an error condition if any of the specified step values is zero or negative. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.