Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference

ID 790148
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

BWTFwd

Performs the forward BWT transform.

Syntax

IppStatus ippsBWTFwd_8u(const Ipp8u* pSrc, Ipp8u* pDst, int len, int* pIndex, Ipp8u* pBWTFwdBuff);

Include Files

ippdc.h

Domain Dependencies

Headers: ippcore.h, ippvm.h, ipps.h

Libraries: ippcore.lib, ippvm.lib, ipps.lib

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.

pBWTFwdBuff

Pointer to the additional buffer.

Description

This function performs the forward BWT transform of len elements starting from pIndex element of the source vector pSrc and stores result in the vector pDst. The function uses the external buffer pBWTFwdBuff. The size of this buffer must be computed by calling the function ippsBWTFwdGetSize beforehand.

Code example  shows how to use the function ippsBWTFwd_8u.

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.