NVIDIA Performance Primitives (NPP)  Version 9.1
Functions

Natural logarithm of each sample of a signal. More...

Functions

NppStatus nppsLn_32f (const Npp32f *pSrc, Npp32f *pDst, int nLength)
 32-bit floating point signal natural logarithm. More...
 
NppStatus nppsLn_64f (const Npp64f *pSrc, Npp64f *pDst, int nLength)
 64-bit floating point signal natural logarithm. More...
 
NppStatus nppsLn_64f32f (const Npp64f *pSrc, Npp32f *pDst, int nLength)
 64-bit floating point signal natural logarithm with 32-bit floating point result. More...
 
NppStatus nppsLn_32f_I (Npp32f *pSrcDst, int nLength)
 32-bit floating point signal natural logarithm. More...
 
NppStatus nppsLn_64f_I (Npp64f *pSrcDst, int nLength)
 64-bit floating point signal natural logarithm. More...
 
NppStatus nppsLn_16s_Sfs (const Npp16s *pSrc, Npp16s *pDst, int nLength, int nScaleFactor)
 16-bit signed short signal natural logarithm, scale, then clamp to saturated value. More...
 
NppStatus nppsLn_32s_Sfs (const Npp32s *pSrc, Npp32s *pDst, int nLength, int nScaleFactor)
 32-bit signed integer signal natural logarithm, scale, then clamp to saturated value. More...
 
NppStatus nppsLn_32s16s_Sfs (const Npp32s *pSrc, Npp16s *pDst, int nLength, int nScaleFactor)
 32-bit signed integer signal natural logarithm, scale, then clamp to 16-bit signed short saturated value. More...
 
NppStatus nppsLn_16s_ISfs (Npp16s *pSrcDst, int nLength, int nScaleFactor)
 16-bit signed short signal natural logarithm, scale, then clamp to saturated value. More...
 
NppStatus nppsLn_32s_ISfs (Npp32s *pSrcDst, int nLength, int nScaleFactor)
 32-bit signed integer signal natural logarithm, scale, then clamp to saturated value. More...
 

Detailed Description

Natural logarithm of each sample of a signal.

Function Documentation

NppStatus nppsLn_16s_ISfs ( Npp16s *  pSrcDst,
int  nLength,
int  nScaleFactor 
)

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

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsLn_16s_Sfs ( const Npp16s *  pSrc,
Npp16s *  pDst,
int  nLength,
int  nScaleFactor 
)

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

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsLn_32f ( const Npp32f *  pSrc,
Npp32f *  pDst,
int  nLength 
)

32-bit floating point signal natural logarithm.

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsLn_32f_I ( Npp32f *  pSrcDst,
int  nLength 
)

32-bit floating point signal natural logarithm.

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsLn_32s16s_Sfs ( const Npp32s *  pSrc,
Npp16s *  pDst,
int  nLength,
int  nScaleFactor 
)

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

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsLn_32s_ISfs ( Npp32s *  pSrcDst,
int  nLength,
int  nScaleFactor 
)

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

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsLn_32s_Sfs ( const Npp32s *  pSrc,
Npp32s *  pDst,
int  nLength,
int  nScaleFactor 
)

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

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsLn_64f ( const Npp64f *  pSrc,
Npp64f *  pDst,
int  nLength 
)

64-bit floating point signal natural logarithm.

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsLn_64f32f ( const Npp64f *  pSrc,
Npp32f *  pDst,
int  nLength 
)

64-bit floating point signal natural logarithm with 32-bit floating point result.

Parameters
pSrcSource Signal Pointer.
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsLn_64f_I ( Npp64f *  pSrcDst,
int  nLength 
)

64-bit floating point signal natural logarithm.

Parameters
pSrcDstIn-Place Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.

Copyright © 2009-2017 NVIDIA Corporation