NVIDIA Performance Primitives (NPP)  Version 10.0
Functions

Divides a constant by each sample of a signal. More...

Functions

NppStatus  nppsDivCRev_16u_I (Npp16u nValue, Npp16u *pSrcDst, int nLength)
  16-bit unsigned short in place constant divided by signal, then clamp to saturated value. More...
 
NppStatus  nppsDivCRev_16u (const Npp16u *pSrc, Npp16u nValue, Npp16u *pDst, int nLength)
  16-bit unsigned short signal divided by constant, then clamp to saturated value. More...
 
NppStatus  nppsDivCRev_32f_I (Npp32f nValue, Npp32f *pSrcDst, int nLength)
  32-bit floating point in place constant divided by signal. More...
 
NppStatus  nppsDivCRev_32f (const Npp32f *pSrc, Npp32f nValue, Npp32f *pDst, int nLength)
  32-bit floating point constant divided by signal. More...
 

Detailed Description

Divides a constant by each sample of a signal.

Function Documentation

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

16-bit unsigned short signal divided by constant, then clamp to saturated value.

Parameters
pSrc Source Signal Pointer.
nValue Constant value to be divided by each vector element
pDst Destination Signal Pointer.
nLength Signal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDivCRev_16u_I ( Npp16u  nValue,
Npp16u pSrcDst,
int  nLength 
)

16-bit unsigned short in place constant divided by signal, then clamp to saturated value.

Parameters
pSrcDst In-Place Signal Pointer.
nValue Constant value to be divided by each vector element
nLength Signal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDivCRev_32f ( const Npp32f pSrc,
Npp32f  nValue,
Npp32f pDst,
int  nLength 
)

32-bit floating point constant divided by signal.

Parameters
pSrc Source Signal Pointer.
nValue Constant value to be divided by each vector element
pDst Destination Signal Pointer.
nLength Signal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDivCRev_32f_I ( Npp32f  nValue,
Npp32f pSrcDst,
int  nLength 
)

32-bit floating point in place constant divided by signal.

Parameters
pSrcDst In-Place Signal Pointer.
nValue Constant value to be divided by each vector element
nLength Signal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.