Intel® Integrated Performance Primitives Developer Guide and Reference

ID 790148
Date 11/07/2023
Public

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

Document Table of Contents

MTFFwd

Performs the forward MTF transform.

Syntax

IppStatus ippsMTFFwd_8u(const Ipp8u* pSrc, Ipp8u* pDst, int len, IppMTFState_8u* pMTFState);

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 buffer.

pDst

Pointer to the destination buffer.

len

Number of elements in the source and destination buffers.

pMTFState

Pointer to the MTF structure.

Description

This function performs the forward MTF transform of len elements of the data in the source buffer pSrc and stores result in the buffer pDst. The parameters of the MTF transform are specified in the MTF structure pMTFState that must be initialized by ippsMTFInit 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.