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

Multiplies each sample of a signal by a constant value. More...

Functions

NppStatus  nppsMulC_8u_ISfs_Ctx (Npp8u nValue, Npp8u *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
  8-bit unsigned char in place signal times constant, scale, then clamp to saturated value More...
 
NppStatus  nppsMulC_8u_ISfs (Npp8u nValue, Npp8u *pSrcDst, int nLength, int nScaleFactor)
 
NppStatus  nppsMulC_8u_Sfs_Ctx (const Npp8u *pSrc, Npp8u nValue, Npp8u *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
  8-bit unsigned char signal times constant, scale, then clamp to saturated value. More...
 
NppStatus  nppsMulC_8u_Sfs (const Npp8u *pSrc, Npp8u nValue, Npp8u *pDst, int nLength, int nScaleFactor)
 
NppStatus  nppsMulC_16u_ISfs_Ctx (Npp16u nValue, Npp16u *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
  16-bit unsigned short in place signal times constant, scale, then clamp to saturated value. More...
 
NppStatus  nppsMulC_16u_ISfs (Npp16u nValue, Npp16u *pSrcDst, int nLength, int nScaleFactor)
 
NppStatus  nppsMulC_16u_Sfs_Ctx (const Npp16u *pSrc, Npp16u nValue, Npp16u *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
  16-bit unsigned short signal times constant, scale, then clamp to saturated value. More...
 
NppStatus  nppsMulC_16u_Sfs (const Npp16u *pSrc, Npp16u nValue, Npp16u *pDst, int nLength, int nScaleFactor)
 
NppStatus  nppsMulC_16s_ISfs_Ctx (Npp16s nValue, Npp16s *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
  16-bit signed short in place signal times constant, scale, then clamp to saturated value. More...
 
NppStatus  nppsMulC_16s_ISfs (Npp16s nValue, Npp16s *pSrcDst, int nLength, int nScaleFactor)
 
NppStatus  nppsMulC_16s_Sfs_Ctx (const Npp16s *pSrc, Npp16s nValue, Npp16s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
  16-bit signed short signal times constant, scale, then clamp to saturated value. More...
 
NppStatus  nppsMulC_16s_Sfs (const Npp16s *pSrc, Npp16s nValue, Npp16s *pDst, int nLength, int nScaleFactor)
 
NppStatus  nppsMulC_16sc_ISfs_Ctx (Npp16sc nValue, Npp16sc *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
  16-bit integer complex number (16 bit real, 16 bit imaginary)signal times constant, scale, then clamp to saturated value. More...
 
NppStatus  nppsMulC_16sc_ISfs (Npp16sc nValue, Npp16sc *pSrcDst, int nLength, int nScaleFactor)
 
NppStatus  nppsMulC_16sc_Sfs_Ctx (const Npp16sc *pSrc, Npp16sc nValue, Npp16sc *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
  16-bit integer complex number (16 bit real, 16 bit imaginary)signal times constant, scale, then clamp to saturated value. More...
 
NppStatus  nppsMulC_16sc_Sfs (const Npp16sc *pSrc, Npp16sc nValue, Npp16sc *pDst, int nLength, int nScaleFactor)
 
NppStatus  nppsMulC_32s_ISfs_Ctx (Npp32s nValue, Npp32s *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
  32-bit signed integer in place signal times constant and scale. More...
 
NppStatus  nppsMulC_32s_ISfs (Npp32s nValue, Npp32s *pSrcDst, int nLength, int nScaleFactor)
 
NppStatus  nppsMulC_32s_Sfs_Ctx (const Npp32s *pSrc, Npp32s nValue, Npp32s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
  32-bit signed integer signal times constant and scale. More...
 
NppStatus  nppsMulC_32s_Sfs (const Npp32s *pSrc, Npp32s nValue, Npp32s *pDst, int nLength, int nScaleFactor)
 
NppStatus  nppsMulC_32sc_ISfs_Ctx (Npp32sc nValue, Npp32sc *pSrcDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
  32-bit integer complex number (32 bit real, 32 bit imaginary) in place signal times constant and scale. More...
 
NppStatus  nppsMulC_32sc_ISfs (Npp32sc nValue, Npp32sc *pSrcDst, int nLength, int nScaleFactor)
 
NppStatus  nppsMulC_32sc_Sfs_Ctx (const Npp32sc *pSrc, Npp32sc nValue, Npp32sc *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
  32-bit integer complex number (32 bit real, 32 bit imaginary) signal times constant and scale. More...
 
NppStatus  nppsMulC_32sc_Sfs (const Npp32sc *pSrc, Npp32sc nValue, Npp32sc *pDst, int nLength, int nScaleFactor)
 
NppStatus  nppsMulC_32f_I_Ctx (Npp32f nValue, Npp32f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
  32-bit floating point in place signal times constant. More...
 
NppStatus  nppsMulC_32f_I (Npp32f nValue, Npp32f *pSrcDst, int nLength)
 
NppStatus  nppsMulC_32f_Ctx (const Npp32f *pSrc, Npp32f nValue, Npp32f *pDst, int nLength, NppStreamContext nppStreamCtx)
  32-bit floating point signal times constant. More...
 
NppStatus  nppsMulC_32f (const Npp32f *pSrc, Npp32f nValue, Npp32f *pDst, int nLength)
 
NppStatus  nppsMulC_Low_32f16s_Ctx (const Npp32f *pSrc, Npp32f nValue, Npp16s *pDst, int nLength, NppStreamContext nppStreamCtx)
  32-bit floating point signal times constant with output converted to 16-bit signed integer. More...
 
NppStatus  nppsMulC_Low_32f16s (const Npp32f *pSrc, Npp32f nValue, Npp16s *pDst, int nLength)
 
NppStatus  nppsMulC_32f16s_Sfs_Ctx (const Npp32f *pSrc, Npp32f nValue, Npp16s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
  32-bit floating point signal times constant with output converted to 16-bit signed integer with scaling and saturation of output result. More...
 
NppStatus  nppsMulC_32f16s_Sfs (const Npp32f *pSrc, Npp32f nValue, Npp16s *pDst, int nLength, int nScaleFactor)
 
NppStatus  nppsMulC_32fc_I_Ctx (Npp32fc nValue, Npp32fc *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
  32-bit floating point complex number (32 bit real, 32 bit imaginary) in place signal times constant. More...
 
NppStatus  nppsMulC_32fc_I (Npp32fc nValue, Npp32fc *pSrcDst, int nLength)
 
NppStatus  nppsMulC_32fc_Ctx (const Npp32fc *pSrc, Npp32fc nValue, Npp32fc *pDst, int nLength, NppStreamContext nppStreamCtx)
  32-bit floating point complex number (32 bit real, 32 bit imaginary) signal times constant. More...
 
NppStatus  nppsMulC_32fc (const Npp32fc *pSrc, Npp32fc nValue, Npp32fc *pDst, int nLength)
 
NppStatus  nppsMulC_64f_I_Ctx (Npp64f nValue, Npp64f *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
  64-bit floating point, in place signal times constant. More...
 
NppStatus  nppsMulC_64f_I (Npp64f nValue, Npp64f *pSrcDst, int nLength)
 
NppStatus  nppsMulC_64f_Ctx (const Npp64f *pSrc, Npp64f nValue, Npp64f *pDst, int nLength, NppStreamContext nppStreamCtx)
  64-bit floating point signal times constant. More...
 
NppStatus  nppsMulC_64f (const Npp64f *pSrc, Npp64f nValue, Npp64f *pDst, int nLength)
 
NppStatus  nppsMulC_64f64s_ISfs_Ctx (Npp64f nValue, Npp64s *pDst, int nLength, int nScaleFactor, NppStreamContext nppStreamCtx)
  64-bit floating point signal times constant with in place conversion to 64-bit signed integer and with scaling and saturation of output result. More...
 
NppStatus  nppsMulC_64f64s_ISfs (Npp64f nValue, Npp64s *pDst, int nLength, int nScaleFactor)
 
NppStatus  nppsMulC_64fc_I_Ctx (Npp64fc nValue, Npp64fc *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
  64-bit floating point complex number (64 bit real, 64 bit imaginary) in place signal times constant. More...
 
NppStatus  nppsMulC_64fc_I (Npp64fc nValue, Npp64fc *pSrcDst, int nLength)
 
NppStatus  nppsMulC_64fc_Ctx (const Npp64fc *pSrc, Npp64fc nValue, Npp64fc *pDst, int nLength, NppStreamContext nppStreamCtx)
  64-bit floating point complex number (64 bit real, 64 bit imaginary) signal times constant. More...
 
NppStatus  nppsMulC_64fc (const Npp64fc *pSrc, Npp64fc nValue, Npp64fc *pDst, int nLength)
 

Detailed Description

Multiplies each sample of a signal by a constant value.

Function Documentation

NppStatus nppsMulC_16s_ISfs ( Npp16s  nValue,
Npp16s pSrcDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsMulC_16s_ISfs_Ctx ( Npp16s  nValue,
Npp16s pSrcDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

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

Parameters
pSrcDst In-Place Signal Pointer.
nValue Constant value to be multiplied by each vector element
nLength Signal Length.
nScaleFactor Integer Result Scaling.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_16s_Sfs ( const Npp16s pSrc,
Npp16s  nValue,
Npp16s pDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsMulC_16s_Sfs_Ctx ( const Npp16s pSrc,
Npp16s  nValue,
Npp16s pDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

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

Parameters
pSrc Source Signal Pointer.
nValue Constant value to be multiplied by each vector element
pDst Destination Signal Pointer.
nLength Signal Length.
nScaleFactor Integer Result Scaling.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_16sc_ISfs ( Npp16sc  nValue,
Npp16sc pSrcDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsMulC_16sc_ISfs_Ctx ( Npp16sc  nValue,
Npp16sc pSrcDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

16-bit integer complex number (16 bit real, 16 bit imaginary)signal times constant, scale, then clamp to saturated value.

Parameters
pSrcDst In-Place Signal Pointer.
nValue Constant value to be multiplied by each vector element
nLength Signal Length.
nScaleFactor Integer Result Scaling.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_16sc_Sfs ( const Npp16sc pSrc,
Npp16sc  nValue,
Npp16sc pDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsMulC_16sc_Sfs_Ctx ( const Npp16sc pSrc,
Npp16sc  nValue,
Npp16sc pDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

16-bit integer complex number (16 bit real, 16 bit imaginary)signal times constant, scale, then clamp to saturated value.

Parameters
pSrc Source Signal Pointer.
nValue Constant value to be multiplied by each vector element
pDst Destination Signal Pointer.
nLength Signal Length.
nScaleFactor Integer Result Scaling.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_16u_ISfs ( Npp16u  nValue,
Npp16u pSrcDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsMulC_16u_ISfs_Ctx ( Npp16u  nValue,
Npp16u pSrcDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

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

Parameters
pSrcDst In-Place Signal Pointer.
nValue Constant value to be multiplied by each vector element
nLength Signal Length.
nScaleFactor Integer Result Scaling.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_16u_Sfs ( const Npp16u pSrc,
Npp16u  nValue,
Npp16u pDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsMulC_16u_Sfs_Ctx ( const Npp16u pSrc,
Npp16u  nValue,
Npp16u pDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

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

Parameters
pSrc Source Signal Pointer.
nValue Constant value to be multiplied by each vector element
pDst Destination Signal Pointer.
nLength Signal Length.
nScaleFactor Integer Result Scaling.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_32f ( const Npp32f pSrc,
Npp32f  nValue,
Npp32f pDst,
int  nLength 
)
NppStatus nppsMulC_32f16s_Sfs ( const Npp32f pSrc,
Npp32f  nValue,
Npp16s pDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsMulC_32f16s_Sfs_Ctx ( const Npp32f pSrc,
Npp32f  nValue,
Npp16s pDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

32-bit floating point signal times constant with output converted to 16-bit signed integer with scaling and saturation of output result.

Parameters
pSrc Source Signal Pointer.
nValue Constant value to be multiplied by each vector element
pDst Destination Signal Pointer.
nScaleFactor Integer Result Scaling.
nLength Signal Length.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_32f_Ctx ( const Npp32f pSrc,
Npp32f  nValue,
Npp32f pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

32-bit floating point signal times constant.

Parameters
pSrc Source Signal Pointer.
nValue Constant value to be multiplied by each vector element
pDst Destination Signal Pointer.
nLength Signal Length.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_32f_I ( Npp32f  nValue,
Npp32f pSrcDst,
int  nLength 
)
NppStatus nppsMulC_32f_I_Ctx ( Npp32f  nValue,
Npp32f pSrcDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

32-bit floating point in place signal times constant.

Parameters
pSrcDst In-Place Signal Pointer.
nValue Constant value to be multiplied by each vector element
nLength Signal Length.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_32fc ( const Npp32fc pSrc,
Npp32fc  nValue,
Npp32fc pDst,
int  nLength 
)
NppStatus nppsMulC_32fc_Ctx ( const Npp32fc pSrc,
Npp32fc  nValue,
Npp32fc pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

32-bit floating point complex number (32 bit real, 32 bit imaginary) signal times constant.

Parameters
pSrc Source Signal Pointer.
nValue Constant value to be multiplied by each vector element
pDst Destination Signal Pointer.
nLength Signal Length.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_32fc_I ( Npp32fc  nValue,
Npp32fc pSrcDst,
int  nLength 
)
NppStatus nppsMulC_32fc_I_Ctx ( Npp32fc  nValue,
Npp32fc pSrcDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

32-bit floating point complex number (32 bit real, 32 bit imaginary) in place signal times constant.

Parameters
pSrcDst In-Place Signal Pointer.
nValue Constant value to be multiplied by each vector element
nLength Signal Length.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_32s_ISfs ( Npp32s  nValue,
Npp32s pSrcDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsMulC_32s_ISfs_Ctx ( Npp32s  nValue,
Npp32s pSrcDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

32-bit signed integer in place signal times constant and scale.

Parameters
pSrcDst In-Place Signal Pointer.
nValue Constant value to be multiplied by each vector element
nLength Signal Length.
nScaleFactor Integer Result Scaling.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_32s_Sfs ( const Npp32s pSrc,
Npp32s  nValue,
Npp32s pDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsMulC_32s_Sfs_Ctx ( const Npp32s pSrc,
Npp32s  nValue,
Npp32s pDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

32-bit signed integer signal times constant and scale.

Parameters
pSrc Source Signal Pointer.
nValue Constant value to be multiplied by each vector element
pDst Destination Signal Pointer.
nLength Signal Length.
nScaleFactor Integer Result Scaling.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_32sc_ISfs ( Npp32sc  nValue,
Npp32sc pSrcDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsMulC_32sc_ISfs_Ctx ( Npp32sc  nValue,
Npp32sc pSrcDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

32-bit integer complex number (32 bit real, 32 bit imaginary) in place signal times constant and scale.

Parameters
pSrcDst In-Place Signal Pointer.
nValue Constant value to be multiplied by each vector element
nLength Signal Length.
nScaleFactor Integer Result Scaling.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_32sc_Sfs ( const Npp32sc pSrc,
Npp32sc  nValue,
Npp32sc pDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsMulC_32sc_Sfs_Ctx ( const Npp32sc pSrc,
Npp32sc  nValue,
Npp32sc pDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

32-bit integer complex number (32 bit real, 32 bit imaginary) signal times constant and scale.

Parameters
pSrc Source Signal Pointer.
nValue Constant value to be multiplied by each vector element
pDst Destination Signal Pointer.
nLength Signal Length.
nScaleFactor Integer Result Scaling.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_64f ( const Npp64f pSrc,
Npp64f  nValue,
Npp64f pDst,
int  nLength 
)
NppStatus nppsMulC_64f64s_ISfs ( Npp64f  nValue,
Npp64s pDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsMulC_64f64s_ISfs_Ctx ( Npp64f  nValue,
Npp64s pDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

64-bit floating point signal times constant with in place conversion to 64-bit signed integer and with scaling and saturation of output result.

Parameters
nValue Constant value to be multiplied by each vector element
pDst Destination Signal Pointer.
nLength Signal Length.
nScaleFactor Integer Result Scaling.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_64f_Ctx ( const Npp64f pSrc,
Npp64f  nValue,
Npp64f pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

64-bit floating point signal times constant.

Parameters
pSrc Source Signal Pointer.
nValue Constant value to be multiplied by each vector element
pDst Destination Signal Pointer.
nLength Signal Length.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_64f_I ( Npp64f  nValue,
Npp64f pSrcDst,
int  nLength 
)
NppStatus nppsMulC_64f_I_Ctx ( Npp64f  nValue,
Npp64f pSrcDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

64-bit floating point, in place signal times constant.

Parameters
pSrcDst In-Place Signal Pointer.
nValue Constant value to be multiplied by each vector element
nLength Length of the vectors, number of items.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_64fc ( const Npp64fc pSrc,
Npp64fc  nValue,
Npp64fc pDst,
int  nLength 
)
NppStatus nppsMulC_64fc_Ctx ( const Npp64fc pSrc,
Npp64fc  nValue,
Npp64fc pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

64-bit floating point complex number (64 bit real, 64 bit imaginary) signal times constant.

Parameters
pSrc Source Signal Pointer.
nValue Constant value to be multiplied by each vector element
pDst Destination Signal Pointer.
nLength Signal Length.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_64fc_I ( Npp64fc  nValue,
Npp64fc pSrcDst,
int  nLength 
)
NppStatus nppsMulC_64fc_I_Ctx ( Npp64fc  nValue,
Npp64fc pSrcDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

64-bit floating point complex number (64 bit real, 64 bit imaginary) in place signal times constant.

Parameters
pSrcDst In-Place Signal Pointer.
nValue Constant value to be multiplied by each vector element
nLength Signal Length.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_8u_ISfs ( Npp8u  nValue,
Npp8u pSrcDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsMulC_8u_ISfs_Ctx ( Npp8u  nValue,
Npp8u pSrcDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

8-bit unsigned char in place signal times constant, scale, then clamp to saturated value

Parameters
pSrcDst In-Place Signal Pointer.
nValue Constant value to be multiplied by each vector element
nLength Signal Length.
nScaleFactor Integer Result Scaling.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_8u_Sfs ( const Npp8u pSrc,
Npp8u  nValue,
Npp8u pDst,
int  nLength,
int  nScaleFactor 
)
NppStatus nppsMulC_8u_Sfs_Ctx ( const Npp8u pSrc,
Npp8u  nValue,
Npp8u pDst,
int  nLength,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

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

Parameters
pSrc Source Signal Pointer.
nValue Constant value to be multiplied by each vector element
pDst Destination Signal Pointer.
nLength Signal Length.
nScaleFactor Integer Result Scaling.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsMulC_Low_32f16s ( const Npp32f pSrc,
Npp32f  nValue,
Npp16s pDst,
int  nLength 
)
NppStatus nppsMulC_Low_32f16s_Ctx ( const Npp32f pSrc,
Npp32f  nValue,
Npp16s pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

32-bit floating point signal times constant with output converted to 16-bit signed integer.

Parameters
pSrc Source Signal Pointer.
nValue Constant value to be multiplied by each vector element
pDst Destination Signal Pointer.
nLength Signal Length.
nppStreamCtx Application Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.