NVIDIA Performance Primitives (NPP)  Version 9.1
Functions

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

Functions

NppStatus nppsMul_16s (const Npp16s *pSrc1, const Npp16s *pSrc2, Npp16s *pDst, int nLength)
 16-bit signed short signal times signal, then clamp to saturated value. More...
 
NppStatus nppsMul_32f (const Npp32f *pSrc1, const Npp32f *pSrc2, Npp32f *pDst, int nLength)
 32-bit floating point signal times signal, then clamp to saturated value. More...
 
NppStatus nppsMul_64f (const Npp64f *pSrc1, const Npp64f *pSrc2, Npp64f *pDst, int nLength)
 64-bit floating point signal times signal, then clamp to saturated value. More...
 
NppStatus nppsMul_32fc (const Npp32fc *pSrc1, const Npp32fc *pSrc2, Npp32fc *pDst, int nLength)
 32-bit complex floating point signal times signal, then clamp to saturated value. More...
 
NppStatus nppsMul_64fc (const Npp64fc *pSrc1, const Npp64fc *pSrc2, Npp64fc *pDst, int nLength)
 64-bit complex floating point signal times signal, then clamp to saturated value. More...
 
NppStatus nppsMul_8u16u (const Npp8u *pSrc1, const Npp8u *pSrc2, Npp16u *pDst, int nLength)
 8-bit unsigned char signal times signal with 16-bit unsigned result, then clamp to saturated value. More...
 
NppStatus nppsMul_16s32f (const Npp16s *pSrc1, const Npp16s *pSrc2, Npp32f *pDst, int nLength)
 16-bit signed short signal times signal with 32-bit floating point result, then clamp to saturated value. More...
 
NppStatus nppsMul_32f32fc (const Npp32f *pSrc1, const Npp32fc *pSrc2, Npp32fc *pDst, int nLength)
 32-bit floating point signal times 32-bit complex floating point signal with complex 32-bit floating point result, then clamp to saturated value. More...
 
NppStatus nppsMul_8u_Sfs (const Npp8u *pSrc1, const Npp8u *pSrc2, Npp8u *pDst, int nLength, int nScaleFactor)
 8-bit unsigned char signal times signal, scale, then clamp to saturated value. More...
 
NppStatus nppsMul_16u_Sfs (const Npp16u *pSrc1, const Npp16u *pSrc2, Npp16u *pDst, int nLength, int nScaleFactor)
 16-bit unsigned short signal time signal, scale, then clamp to saturated value. More...
 
NppStatus nppsMul_16s_Sfs (const Npp16s *pSrc1, const Npp16s *pSrc2, Npp16s *pDst, int nLength, int nScaleFactor)
 16-bit signed short signal times signal, scale, then clamp to saturated value. More...
 
NppStatus nppsMul_32s_Sfs (const Npp32s *pSrc1, const Npp32s *pSrc2, Npp32s *pDst, int nLength, int nScaleFactor)
 32-bit signed integer signal times signal, scale, then clamp to saturated value. More...
 
NppStatus nppsMul_16sc_Sfs (const Npp16sc *pSrc1, const Npp16sc *pSrc2, Npp16sc *pDst, int nLength, int nScaleFactor)
 16-bit signed complex short signal times signal, scale, then clamp to saturated value. More...
 
NppStatus nppsMul_32sc_Sfs (const Npp32sc *pSrc1, const Npp32sc *pSrc2, Npp32sc *pDst, int nLength, int nScaleFactor)
 32-bit signed complex integer signal times signal, scale, then clamp to saturated value. More...
 
NppStatus nppsMul_16u16s_Sfs (const Npp16u *pSrc1, const Npp16s *pSrc2, Npp16s *pDst, int nLength, int nScaleFactor)
 16-bit unsigned short signal times 16-bit signed short signal, scale, then clamp to 16-bit signed saturated value. More...
 
NppStatus nppsMul_16s32s_Sfs (const Npp16s *pSrc1, const Npp16s *pSrc2, Npp32s *pDst, int nLength, int nScaleFactor)
 16-bit signed short signal times signal, scale, then clamp to 32-bit signed saturated value. More...
 
NppStatus nppsMul_32s32sc_Sfs (const Npp32s *pSrc1, const Npp32sc *pSrc2, Npp32sc *pDst, int nLength, int nScaleFactor)
 32-bit signed integer signal times 32-bit complex signed integer signal, scale, then clamp to 32-bit complex integer saturated value. More...
 
NppStatus nppsMul_Low_32s_Sfs (const Npp32s *pSrc1, const Npp32s *pSrc2, Npp32s *pDst, int nLength, int nScaleFactor)
 32-bit signed integer signal times signal, scale, then clamp to saturated value. More...
 
NppStatus nppsMul_16s_I (const Npp16s *pSrc, Npp16s *pSrcDst, int nLength)
 16-bit signed short in place signal times signal, then clamp to saturated value. More...
 
NppStatus nppsMul_32f_I (const Npp32f *pSrc, Npp32f *pSrcDst, int nLength)
 32-bit floating point in place signal times signal, then clamp to saturated value. More...
 
NppStatus nppsMul_64f_I (const Npp64f *pSrc, Npp64f *pSrcDst, int nLength)
 64-bit floating point in place signal times signal, then clamp to saturated value. More...
 
NppStatus nppsMul_32fc_I (const Npp32fc *pSrc, Npp32fc *pSrcDst, int nLength)
 32-bit complex floating point in place signal times signal, then clamp to saturated value. More...
 
NppStatus nppsMul_64fc_I (const Npp64fc *pSrc, Npp64fc *pSrcDst, int nLength)
 64-bit complex floating point in place signal times signal, then clamp to saturated value. More...
 
NppStatus nppsMul_32f32fc_I (const Npp32f *pSrc, Npp32fc *pSrcDst, int nLength)
 32-bit complex floating point in place signal times 32-bit floating point signal, then clamp to 32-bit complex floating point saturated value. More...
 
NppStatus nppsMul_8u_ISfs (const Npp8u *pSrc, Npp8u *pSrcDst, int nLength, int nScaleFactor)
 8-bit unsigned char in place signal times signal, with scaling, then clamp to saturated value. More...
 
NppStatus nppsMul_16u_ISfs (const Npp16u *pSrc, Npp16u *pSrcDst, int nLength, int nScaleFactor)
 16-bit unsigned short in place signal times signal, with scaling, then clamp to saturated value. More...
 
NppStatus nppsMul_16s_ISfs (const Npp16s *pSrc, Npp16s *pSrcDst, int nLength, int nScaleFactor)
 16-bit signed short in place signal times signal, with scaling, then clamp to saturated value. More...
 
NppStatus nppsMul_32s_ISfs (const Npp32s *pSrc, Npp32s *pSrcDst, int nLength, int nScaleFactor)
 32-bit signed integer in place signal times signal, with scaling, then clamp to saturated value. More...
 
NppStatus nppsMul_16sc_ISfs (const Npp16sc *pSrc, Npp16sc *pSrcDst, int nLength, int nScaleFactor)
 16-bit complex signed short in place signal times signal, with scaling, then clamp to saturated value. More...
 
NppStatus nppsMul_32sc_ISfs (const Npp32sc *pSrc, Npp32sc *pSrcDst, int nLength, int nScaleFactor)
 32-bit complex signed integer in place signal times signal, with scaling, then clamp to saturated value. More...
 
NppStatus nppsMul_32s32sc_ISfs (const Npp32s *pSrc, Npp32sc *pSrcDst, int nLength, int nScaleFactor)
 32-bit complex signed integer in place signal times 32-bit signed integer signal, with scaling, then clamp to saturated value. More...
 

Detailed Description

Sample by sample multiplication the samples of two signals.

Function Documentation

NppStatus nppsMul_16s ( const Npp16s *  pSrc1,
const Npp16s *  pSrc2,
Npp16s *  pDst,
int  nLength 
)

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

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMul_16s32f ( const Npp16s *  pSrc1,
const Npp16s *  pSrc2,
Npp32f *  pDst,
int  nLength 
)

16-bit signed short signal times signal with 32-bit floating point result, then clamp to saturated value.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMul_16s32s_Sfs ( const Npp16s *  pSrc1,
const Npp16s *  pSrc2,
Npp32s *  pDst,
int  nLength,
int  nScaleFactor 
)

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

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMul_16s_I ( const Npp16s *  pSrc,
Npp16s *  pSrcDst,
int  nLength 
)

16-bit signed short in place signal times signal, then clamp to saturated value.

Parameters
pSrcSource Signal Pointer.
pSrcDstIn-Place Signal Pointer. signal2 elements to be multiplied by signal1 elements
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMul_16s_ISfs ( const Npp16s *  pSrc,
Npp16s *  pSrcDst,
int  nLength,
int  nScaleFactor 
)

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

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

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

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

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

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

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

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMul_16u16s_Sfs ( const Npp16u *  pSrc1,
const Npp16s *  pSrc2,
Npp16s *  pDst,
int  nLength,
int  nScaleFactor 
)

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

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

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

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

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

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

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

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMul_32f32fc ( const Npp32f *  pSrc1,
const Npp32fc *  pSrc2,
Npp32fc *  pDst,
int  nLength 
)

32-bit floating point signal times 32-bit complex floating point signal with complex 32-bit floating point result, then clamp to saturated value.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMul_32f32fc_I ( const Npp32f *  pSrc,
Npp32fc *  pSrcDst,
int  nLength 
)

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

Parameters
pSrcSource Signal Pointer.
pSrcDstIn-Place Signal Pointer. signal2 elements to be multiplied by signal1 elements
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMul_32f_I ( const Npp32f *  pSrc,
Npp32f *  pSrcDst,
int  nLength 
)

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

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

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

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMul_32fc_I ( const Npp32fc *  pSrc,
Npp32fc *  pSrcDst,
int  nLength 
)

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

Parameters
pSrcSource Signal Pointer.
pSrcDstIn-Place Signal Pointer. signal2 elements to be multiplied by signal1 elements
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMul_32s32sc_ISfs ( const Npp32s *  pSrc,
Npp32sc *  pSrcDst,
int  nLength,
int  nScaleFactor 
)

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

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

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

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

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

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

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

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMul_32sc_ISfs ( const Npp32sc *  pSrc,
Npp32sc *  pSrcDst,
int  nLength,
int  nScaleFactor 
)

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

Parameters
pSrcSource Signal Pointer.
pSrcDstIn-Place Signal Pointer. signal2 elements to be multiplied by signal1 elements
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMul_32sc_Sfs ( const Npp32sc *  pSrc1,
const Npp32sc *  pSrc2,
Npp32sc *  pDst,
int  nLength,
int  nScaleFactor 
)

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

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

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

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMul_64f_I ( const Npp64f *  pSrc,
Npp64f *  pSrcDst,
int  nLength 
)

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

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

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

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMul_64fc_I ( const Npp64fc *  pSrc,
Npp64fc *  pSrcDst,
int  nLength 
)

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

Parameters
pSrcSource Signal Pointer.
pSrcDstIn-Place Signal Pointer. signal2 elements to be multiplied by signal1 elements
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMul_8u16u ( const Npp8u *  pSrc1,
const Npp8u *  pSrc2,
Npp16u *  pDst,
int  nLength 
)

8-bit unsigned char signal times signal with 16-bit unsigned result, then clamp to saturated value.

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer. signal2 elements to be multiplied by signal1 elements
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMul_8u_ISfs ( const Npp8u *  pSrc,
Npp8u *  pSrcDst,
int  nLength,
int  nScaleFactor 
)

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

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

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

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMul_Low_32s_Sfs ( const Npp32s *  pSrc1,
const Npp32s *  pSrc2,
Npp32s *  pDst,
int  nLength,
int  nScaleFactor 
)

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

Parameters
pSrc1Source Signal Pointer.
pSrc2Source Signal Pointer, signal2 elements to be multiplied by signal1 elements.
pDstDestination Signal Pointer.
nLengthSignal Length.
nScaleFactorInteger Result Scaling.
Returns
Signal Data Related Error Codes, Length Related Error Codes.

Copyright © 2009-2017 NVIDIA Corporation