NVIDIA Performance Primitives (NPP)  Version 9.1
Functions

Bitwise AND of a constant and each sample of a signal. More...

Functions

NppStatus nppsAndC_8u (const Npp8u *pSrc, Npp8u nValue, Npp8u *pDst, int nLength)
 8-bit unsigned char signal and with constant. More...
 
NppStatus nppsAndC_16u (const Npp16u *pSrc, Npp16u nValue, Npp16u *pDst, int nLength)
 16-bit unsigned short signal and with constant. More...
 
NppStatus nppsAndC_32u (const Npp32u *pSrc, Npp32u nValue, Npp32u *pDst, int nLength)
 32-bit unsigned integer signal and with constant. More...
 
NppStatus nppsAndC_8u_I (Npp8u nValue, Npp8u *pSrcDst, int nLength)
 8-bit unsigned char in place signal and with constant. More...
 
NppStatus nppsAndC_16u_I (Npp16u nValue, Npp16u *pSrcDst, int nLength)
 16-bit unsigned short in place signal and with constant. More...
 
NppStatus nppsAndC_32u_I (Npp32u nValue, Npp32u *pSrcDst, int nLength)
 32-bit unsigned signed integer in place signal and with constant. More...
 

Detailed Description

Bitwise AND of a constant and each sample of a signal.

Function Documentation

NppStatus nppsAndC_16u ( const Npp16u pSrc,
Npp16u  nValue,
Npp16u pDst,
int  nLength 
)

16-bit unsigned short signal and with constant.

Parameters
pSrcSource Signal Pointer.
nValueConstant value to be anded with each vector element
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsAndC_16u_I ( Npp16u  nValue,
Npp16u pSrcDst,
int  nLength 
)

16-bit unsigned short in place signal and with constant.

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value to be anded with each vector element
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsAndC_32u ( const Npp32u pSrc,
Npp32u  nValue,
Npp32u pDst,
int  nLength 
)

32-bit unsigned integer signal and with constant.

Parameters
pSrcSource Signal Pointer.
nValueConstant value to be anded with each vector element
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsAndC_32u_I ( Npp32u  nValue,
Npp32u pSrcDst,
int  nLength 
)

32-bit unsigned signed integer in place signal and with constant.

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value to be anded with each vector element
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsAndC_8u ( const Npp8u pSrc,
Npp8u  nValue,
Npp8u pDst,
int  nLength 
)

8-bit unsigned char signal and with constant.

Parameters
pSrcSource Signal Pointer.
nValueConstant value to be anded with each vector element
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsAndC_8u_I ( Npp8u  nValue,
Npp8u pSrcDst,
int  nLength 
)

8-bit unsigned char in place signal and with constant.

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value to be anded with each vector element
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.

Copyright © 2009-2017 NVIDIA Corporation