NVIDIA Performance Primitives (NPP)  Version 9.1
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
pSrcSource Signal Pointer.
nValueConstant value to be divided by each vector element
pDstDestination Signal Pointer.
nLengthSignal 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
pSrcDstIn-Place Signal Pointer.
nValueConstant value to be divided by each vector element
nLengthSignal 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
pSrcSource Signal Pointer.
nValueConstant value to be divided by each vector element
pDstDestination Signal Pointer.
nLengthSignal 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
pSrcDstIn-Place Signal Pointer.
nValueConstant value to be divided by each vector element
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.

Copyright © 2009-2017 NVIDIA Corporation