DCT8x8Inv_2x2, DCT8x8Inv_4x4

Perform an inverse DCT on a top left quadrant of size 2x2 or 4x4 in the 2D buffer of size 8x8.

Syntax

IppStatus ippiDCT8x8Inv_2x2_16s_C1(const Ipp16s* pSrc, Ipp16s* pDst);

IppStatus ippiDCT8x8Inv_4x4_16s_C1(const Ipp16s* pSrc, Ipp16s* pDst);

IppStatus ippiDCT8x8Inv_2x2_16s_C1I(Ipp16s* pSrcDst);

IppStatus ippiDCT8x8Inv_4x4_16s_C1I(Ipp16s* pSrcDst);

Parameters

pSrc

Pointer to the source image.

pDst

Pointer to the destination buffer.

pSrcDst

Pointer to the source and destination buffer for in-place operations.

Description

The functions ippiDCT8x8Inv_2x2 and ippiDCT8x8Inv_4x4 are declared in the ippi.h file. These functions compute the inverse discrete cosine transform of non-zero elements in the top left quadrant of size 2x2 or 4x4 in the 2D buffer of 8x8 size. No prerequisites are needed to use this transform function.

Caution iconCaution

Source data for 16s flavors must be the result of the forward discrete cosine transform of data from the range [-256, 255], they cannot be arbitrary data from the range [-32768, 32767].

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error.

ippStsNullPtrErr

Indicates an error condition if one of the specified pointers is NULL.

Submit feedback on this help topic

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