NVIDIA Performance Primitives (NPP)  Version 9.1
Functions

Sample by sample division of the samples of two signals. More...

Functions

NppStatus nppsDiv_8u_Sfs (const Npp8u *pSrc1, const Npp8u *pSrc2, Npp8u *pDst, int nLength, int nScaleFactor)
 8-bit unsigned char signal divide signal, scale, then clamp to saturated value. More...
 
NppStatus nppsDiv_16u_Sfs (const Npp16u *pSrc1, const Npp16u *pSrc2, Npp16u *pDst, int nLength, int nScaleFactor)
 16-bit unsigned short signal divide signal, scale, then clamp to saturated value. More...
 
NppStatus nppsDiv_16s_Sfs (const Npp16s *pSrc1, const Npp16s *pSrc2, Npp16s *pDst, int nLength, int nScaleFactor)
 16-bit signed short signal divide signal, scale, then clamp to saturated value. More...
 
NppStatus nppsDiv_32s_Sfs (const Npp32s *pSrc1, const Npp32s *pSrc2, Npp32s *pDst, int nLength, int nScaleFactor)
 32-bit signed integer signal divide signal, scale, then clamp to saturated value. More...
 
NppStatus nppsDiv_16sc_Sfs (const Npp16sc *pSrc1, const Npp16sc *pSrc2, Npp16sc *pDst, int nLength, int nScaleFactor)
 16-bit signed complex short signal divide signal, scale, then clamp to saturated value. More...
 
NppStatus nppsDiv_32s16s_Sfs (const Npp16s *pSrc1, const Npp32s *pSrc2, Npp16s *pDst, int nLength, int nScaleFactor)
 32-bit signed integer signal divided by 16-bit signed short signal, scale, then clamp to 16-bit signed short saturated value. More...
 
NppStatus nppsDiv_32f (const Npp32f *pSrc1, const Npp32f *pSrc2, Npp32f *pDst, int nLength)
 32-bit floating point signal divide signal, then clamp to saturated value. More...
 
NppStatus nppsDiv_64f (const Npp64f *pSrc1, const Npp64f *pSrc2, Npp64f *pDst, int nLength)
 64-bit floating point signal divide signal, then clamp to saturated value. More...
 
NppStatus nppsDiv_32fc (const Npp32fc *pSrc1, const Npp32fc *pSrc2, Npp32fc *pDst, int nLength)
 32-bit complex floating point signal divide signal, then clamp to saturated value. More...
 
NppStatus nppsDiv_64fc (const Npp64fc *pSrc1, const Npp64fc *pSrc2, Npp64fc *pDst, int nLength)
 64-bit complex floating point signal divide signal, then clamp to saturated value. More...
 
NppStatus nppsDiv_8u_ISfs (const Npp8u *pSrc, Npp8u *pSrcDst, int nLength, int nScaleFactor)
 8-bit unsigned char in place signal divide signal, with scaling, then clamp to saturated value. More...
 
NppStatus nppsDiv_16u_ISfs (const Npp16u *pSrc, Npp16u *pSrcDst, int nLength, int nScaleFactor)
 16-bit unsigned short in place signal divide signal, with scaling, then clamp to saturated value. More...
 
NppStatus nppsDiv_16s_ISfs (const Npp16s *pSrc, Npp16s *pSrcDst, int nLength, int nScaleFactor)
 16-bit signed short in place signal divide signal, with scaling, then clamp to saturated value. More...
 
NppStatus nppsDiv_16sc_ISfs (const Npp16sc *pSrc, Npp16sc *pSrcDst, int nLength, int nScaleFactor)
 16-bit complex signed short in place signal divide signal, with scaling, then clamp to saturated value. More...
 
NppStatus nppsDiv_32s_ISfs (const Npp32s *pSrc, Npp32s *pSrcDst, int nLength, int nScaleFactor)
 32-bit signed integer in place signal divide signal, with scaling, then clamp to saturated value. More...
 
NppStatus nppsDiv_32f_I (const Npp32f *pSrc, Npp32f *pSrcDst, int nLength)
 32-bit floating point in place signal divide signal, then clamp to saturated value. More...
 
NppStatus nppsDiv_64f_I (const Npp64f *pSrc, Npp64f *pSrcDst, int nLength)
 64-bit floating point in place signal divide signal, then clamp to saturated value. More...
 
NppStatus nppsDiv_32fc_I (const Npp32fc *pSrc, Npp32fc *pSrcDst, int nLength)
 32-bit complex floating point in place signal divide signal, then clamp to saturated value. More...
 
NppStatus nppsDiv_64fc_I (const Npp64fc *pSrc, Npp64fc *pSrcDst, int nLength)
 64-bit complex floating point in place signal divide signal, then clamp to saturated value. More...
 

Detailed Description

Sample by sample division of the samples of two signals.

Function Documentation

NppStatus nppsDiv_16s_ISfs ( const Npp16s *  pSrc,
Npp16s *  pSrcDst,
int  nLength,
int  nScaleFactor 
)

16-bit signed short in place signal divide signal, with scaling, then clamp to saturated value.

Parameters
pSrcSource Signal Pointer.
pSrcDstIn-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend elements
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDiv_16s_Sfs ( const Npp16s *  pSrc1,
const Npp16s *  pSrc2,
Npp16s *  pDst,
int  nLength,
int  nScaleFactor 
)

16-bit signed short signal divide signal, scale, then clamp to saturated value.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer, signal1 divisor elements to be divided into signal2 dividend elements.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDiv_16sc_ISfs ( const Npp16sc *  pSrc,
Npp16sc *  pSrcDst,
int  nLength,
int  nScaleFactor 
)

16-bit complex signed short in place signal divide signal, with scaling, then clamp to saturated value.

Parameters
pSrcSource Signal Pointer.
pSrcDstIn-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend elements
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDiv_16sc_Sfs ( const Npp16sc *  pSrc1,
const Npp16sc *  pSrc2,
Npp16sc *  pDst,
int  nLength,
int  nScaleFactor 
)

16-bit signed complex short signal divide signal, scale, then clamp to saturated value.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer, signal1 divisor elements to be divided into signal2 dividend elements.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDiv_16u_ISfs ( const Npp16u *  pSrc,
Npp16u *  pSrcDst,
int  nLength,
int  nScaleFactor 
)

16-bit unsigned short in place signal divide signal, with scaling, then clamp to saturated value.

Parameters
pSrcSource Signal Pointer.
pSrcDstIn-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend elements
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDiv_16u_Sfs ( const Npp16u *  pSrc1,
const Npp16u *  pSrc2,
Npp16u *  pDst,
int  nLength,
int  nScaleFactor 
)

16-bit unsigned short signal divide signal, scale, then clamp to saturated value.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer, signal1 divisor elements to be divided into signal2 dividend elements.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDiv_32f ( const Npp32f *  pSrc1,
const Npp32f *  pSrc2,
Npp32f *  pDst,
int  nLength 
)

32-bit floating point signal divide signal, then clamp to saturated value.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer, signal1 divisor elements to be divided into signal2 dividend elements.
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDiv_32f_I ( const Npp32f *  pSrc,
Npp32f *  pSrcDst,
int  nLength 
)

32-bit floating point in place signal divide signal, then clamp to saturated value.

Parameters
pSrcSource Signal Pointer.
pSrcDstIn-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend elements
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDiv_32fc ( const Npp32fc *  pSrc1,
const Npp32fc *  pSrc2,
Npp32fc *  pDst,
int  nLength 
)

32-bit complex floating point signal divide signal, then clamp to saturated value.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer, signal1 divisor elements to be divided into signal2 dividend elements.
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDiv_32fc_I ( const Npp32fc *  pSrc,
Npp32fc *  pSrcDst,
int  nLength 
)

32-bit complex floating point in place signal divide signal, then clamp to saturated value.

Parameters
pSrcSource Signal Pointer.
pSrcDstIn-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend elements
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDiv_32s16s_Sfs ( const Npp16s *  pSrc1,
const Npp32s *  pSrc2,
Npp16s *  pDst,
int  nLength,
int  nScaleFactor 
)

32-bit signed integer signal divided by 16-bit signed short signal, scale, then clamp to 16-bit signed short saturated value.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer, signal1 divisor elements to be divided into signal2 dividend elements.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDiv_32s_ISfs ( const Npp32s *  pSrc,
Npp32s *  pSrcDst,
int  nLength,
int  nScaleFactor 
)

32-bit signed integer in place signal divide signal, with scaling, then clamp to saturated value.

Parameters
pSrcSource Signal Pointer.
pSrcDstIn-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend elements
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDiv_32s_Sfs ( const Npp32s *  pSrc1,
const Npp32s *  pSrc2,
Npp32s *  pDst,
int  nLength,
int  nScaleFactor 
)

32-bit signed integer signal divide signal, scale, then clamp to saturated value.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer, signal1 divisor elements to be divided into signal2 dividend elements.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDiv_64f ( const Npp64f *  pSrc1,
const Npp64f *  pSrc2,
Npp64f *  pDst,
int  nLength 
)

64-bit floating point signal divide signal, then clamp to saturated value.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer, signal1 divisor elements to be divided into signal2 dividend elements.
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDiv_64f_I ( const Npp64f *  pSrc,
Npp64f *  pSrcDst,
int  nLength 
)

64-bit floating point in place signal divide signal, then clamp to saturated value.

Parameters
pSrcSource Signal Pointer.
pSrcDstIn-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend elements
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDiv_64fc ( const Npp64fc *  pSrc1,
const Npp64fc *  pSrc2,
Npp64fc *  pDst,
int  nLength 
)

64-bit complex floating point signal divide signal, then clamp to saturated value.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer, signal1 divisor elements to be divided into signal2 dividend elements.
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDiv_64fc_I ( const Npp64fc *  pSrc,
Npp64fc *  pSrcDst,
int  nLength 
)

64-bit complex floating point in place signal divide signal, then clamp to saturated value.

Parameters
pSrcSource Signal Pointer.
pSrcDstIn-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend elements
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDiv_8u_ISfs ( const Npp8u *  pSrc,
Npp8u *  pSrcDst,
int  nLength,
int  nScaleFactor 
)

8-bit unsigned char in place signal divide signal, with scaling, then clamp to saturated value.

Parameters
pSrcSource Signal Pointer.
pSrcDstIn-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend elements
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsDiv_8u_Sfs ( const Npp8u *  pSrc1,
const Npp8u *  pSrc2,
Npp8u *  pDst,
int  nLength,
int  nScaleFactor 
)

8-bit unsigned char signal divide signal, scale, then clamp to saturated value.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer, signal1 divisor elements to be divided into signal2 dividend elements.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.

Copyright © 2009-2017 NVIDIA Corporation