NVIDIA 2D Image And Signal Performance Primitives (NPP)  Version 11.4.0.*
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions

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

Functions

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

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 
)
NppStatus nppsAndC_16u_Ctx ( const Npp16u pSrc,
Npp16u  nValue,
Npp16u pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

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.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsAndC_16u_I ( Npp16u  nValue,
Npp16u pSrcDst,
int  nLength 
)
NppStatus nppsAndC_16u_I_Ctx ( Npp16u  nValue,
Npp16u pSrcDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

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.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsAndC_32u ( const Npp32u pSrc,
Npp32u  nValue,
Npp32u pDst,
int  nLength 
)
NppStatus nppsAndC_32u_Ctx ( const Npp32u pSrc,
Npp32u  nValue,
Npp32u pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

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.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsAndC_32u_I ( Npp32u  nValue,
Npp32u pSrcDst,
int  nLength 
)
NppStatus nppsAndC_32u_I_Ctx ( Npp32u  nValue,
Npp32u pSrcDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

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.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsAndC_8u ( const Npp8u pSrc,
Npp8u  nValue,
Npp8u pDst,
int  nLength 
)
NppStatus nppsAndC_8u_Ctx ( const Npp8u pSrc,
Npp8u  nValue,
Npp8u pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

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.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsAndC_8u_I ( Npp8u  nValue,
Npp8u pSrcDst,
int  nLength 
)
NppStatus nppsAndC_8u_I_Ctx ( Npp8u  nValue,
Npp8u pSrcDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

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.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.

Copyright © 2009-2020 NVIDIA Corporation