BWTFwd_SmallBlock

Performs the forward BWT transform for small data block.

Syntax

IppStatus ippsBWTFwd_SmallBlock_8u(const Ipp8u* pSrc, Ipp8u* pDst, int len, int* pIndex, Ipp8u* pBWTBuff);

Parameters

pSrc

Pointer to the source vector.

pDst

Pointer to the destination vector.

len

Number of elements in the source and destination vectors.

pIndex

Pointer to the index of first position for the forward BWT transform.

pBWTBuff

Pointer to the additional buffer.

Description

The function ippsBWTFwd_SmallBlock is declared in the ippdc.h file. This function performs the forward BWT transform od small block of data, that the number of elements must be in the range (0, 32768]. The function processes len elements starting from pIndex element of the source vector pSrc and stores result in the vector pDst. The function uses the external buffer pBWTBuff. The size of this buffer must be computed by calling the function ippsBWTGetSize_SmalBlock beforehand.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

ippStsSizeErr

Indicates an error if len is less than or equal to 0, or is greater than 32768.

Submit feedback on this help topic

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