Developer Reference for Intel® Integrated Performance Primitives
Performs the forward MTF transform.
IppStatus ippsMTFFwd_8u(const Ipp8u* pSrc, Ipp8u* pDst, int len, IppMTFState_8u* pMTFState);
ippdc.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
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. |
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.
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. |