Not

Computes the bitwise NOT of the vector elements.

Syntax

IppStatus ippsNot_8u(const Ipp8u* pSrc, Ipp8u* pDst, int len);

IppStatus ippsNot_16u(const Ipp16u* pSrc, Ipp16u* pDst, int len);

IppStatus ippsNot_32u(const Ipp32u* pSrc, Ipp32u* pDst, int len);

IppStatus ippsNot_8u_I(Ipp8u* pSrcDst, int len);

IppStatus ippsNot_16u_I(Ipp16u* pSrcDst, int len);

IppStatus ippsNot_32u_I(Ipp32u* pSrcDst, int len);

Parameters

pSrc

Pointer to the source vector.

pDst

Pointer to the destination vector.

pSrcDst

Pointer to the source and destination vector for the in-place operation.

len

Number of elements in the vector.

Description

The function ippsNot is declared in the ipps.h file. This function computes the bitwise NOT of the corresponding elements of the vectors pSrc, and stores the result in the vector pDst.

The in-place flavors of ippsNot compute the bitwise NOT of the corresponding elements of the vector pSrcDst and store the result in the vector pSrcDst.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pSrc, pDst, or pSrcDst pointer is NULL.

ippStsSizeErr

Indicates an error when len is less than or equal to 0.

Submit feedback on this help topic

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