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

Sums up the natural logarithm of each sample of a signal. More...

Functions

NppStatus nppsSumLnGetBufferSize_32f_Ctx (int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Device scratch buffer size (in bytes) for 32f SumLn. More...
 
NppStatus nppsSumLnGetBufferSize_32f (int nLength, int *hpBufferSize)
 
NppStatus nppsSumLn_32f_Ctx (const Npp32f *pSrc, int nLength, Npp32f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 32-bit floating point signal sum natural logarithm. More...
 
NppStatus nppsSumLn_32f (const Npp32f *pSrc, int nLength, Npp32f *pDst, Npp8u *pDeviceBuffer)
 
NppStatus nppsSumLnGetBufferSize_64f_Ctx (int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Device scratch buffer size (in bytes) for 64f SumLn. More...
 
NppStatus nppsSumLnGetBufferSize_64f (int nLength, int *hpBufferSize)
 
NppStatus nppsSumLn_64f_Ctx (const Npp64f *pSrc, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 64-bit floating point signal sum natural logarithm. More...
 
NppStatus nppsSumLn_64f (const Npp64f *pSrc, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer)
 
NppStatus nppsSumLnGetBufferSize_32f64f_Ctx (int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Device scratch buffer size (in bytes) for 32f64f SumLn. More...
 
NppStatus nppsSumLnGetBufferSize_32f64f (int nLength, int *hpBufferSize)
 
NppStatus nppsSumLn_32f64f_Ctx (const Npp32f *pSrc, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 32-bit flaoting point input, 64-bit floating point output signal sum natural logarithm. More...
 
NppStatus nppsSumLn_32f64f (const Npp32f *pSrc, int nLength, Npp64f *pDst, Npp8u *pDeviceBuffer)
 
NppStatus nppsSumLnGetBufferSize_16s32f_Ctx (int nLength, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Device scratch buffer size (in bytes) for 16s32f SumLn. More...
 
NppStatus nppsSumLnGetBufferSize_16s32f (int nLength, int *hpBufferSize)
 
NppStatus nppsSumLn_16s32f_Ctx (const Npp16s *pSrc, int nLength, Npp32f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 16-bit signed short integer input, 32-bit floating point output signal sum natural logarithm. More...
 
NppStatus nppsSumLn_16s32f (const Npp16s *pSrc, int nLength, Npp32f *pDst, Npp8u *pDeviceBuffer)
 

Detailed Description

Sums up the natural logarithm of each sample of a signal.

Function Documentation

NppStatus nppsSumLn_16s32f ( const Npp16s pSrc,
int  nLength,
Npp32f pDst,
Npp8u pDeviceBuffer 
)
NppStatus nppsSumLn_16s32f_Ctx ( const Npp16s pSrc,
int  nLength,
Npp32f pDst,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

16-bit signed short integer input, 32-bit floating point output signal sum natural logarithm.

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pDstPointer to the output result.
pDeviceBufferPointer to the required device memory allocation.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSumLn_32f ( const Npp32f pSrc,
int  nLength,
Npp32f pDst,
Npp8u pDeviceBuffer 
)
NppStatus nppsSumLn_32f64f ( const Npp32f pSrc,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer 
)
NppStatus nppsSumLn_32f64f_Ctx ( const Npp32f pSrc,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

32-bit flaoting point input, 64-bit floating point output signal sum natural logarithm.

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pDstPointer to the output result.
pDeviceBufferPointer to the required device memory allocation.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSumLn_32f_Ctx ( const Npp32f pSrc,
int  nLength,
Npp32f pDst,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

32-bit floating point signal sum natural logarithm.

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pDstPointer to the output result.
pDeviceBufferPointer to the required device memory allocation.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSumLn_64f ( const Npp64f pSrc,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer 
)
NppStatus nppsSumLn_64f_Ctx ( const Npp64f pSrc,
int  nLength,
Npp64f pDst,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

64-bit floating point signal sum natural logarithm.

Parameters
pSrcSource Signal Pointer.
nLengthSignal Length.
pDstPointer to the output result.
pDeviceBufferPointer to the required device memory allocation.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsSumLnGetBufferSize_16s32f ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsSumLnGetBufferSize_16s32f_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Device scratch buffer size (in bytes) for 16s32f SumLn.

This primitive provides the correct buffer size for nppsSumLn_16s32f.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
NPP_SUCCESS
NppStatus nppsSumLnGetBufferSize_32f ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsSumLnGetBufferSize_32f64f ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsSumLnGetBufferSize_32f64f_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Device scratch buffer size (in bytes) for 32f64f SumLn.

This primitive provides the correct buffer size for nppsSumLn_32f64f.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
NPP_SUCCESS
NppStatus nppsSumLnGetBufferSize_32f_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Device scratch buffer size (in bytes) for 32f SumLn.

This primitive provides the correct buffer size for nppsSumLn_32f.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
NPP_SUCCESS
NppStatus nppsSumLnGetBufferSize_64f ( int  nLength,
int *  hpBufferSize 
)
NppStatus nppsSumLnGetBufferSize_64f_Ctx ( int  nLength,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Device scratch buffer size (in bytes) for 64f SumLn.

This primitive provides the correct buffer size for nppsSumLn_64f.

Parameters
nLengthSignal Length.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
NPP_SUCCESS

Copyright © 2009-2022 NVIDIA CORPORATION AND AFFILIATES