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

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

Functions

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

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

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

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

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

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

Copyright © 2009-2022 NVIDIA CORPORATION AND AFFILIATES