NVIDIA Performance Primitives (NPP)  Version 9.1
Functions

Left shifts the bits of each sample of a signal by a constant amount. More...

Functions

NppStatus nppsLShiftC_8u (const Npp8u *pSrc, int nValue, Npp8u *pDst, int nLength)
 8-bit unsigned char signal left shift with constant. More...
 
NppStatus nppsLShiftC_16u (const Npp16u *pSrc, int nValue, Npp16u *pDst, int nLength)
 16-bit unsigned short signal left shift with constant. More...
 
NppStatus nppsLShiftC_16s (const Npp16s *pSrc, int nValue, Npp16s *pDst, int nLength)
 16-bit signed short signal left shift with constant. More...
 
NppStatus nppsLShiftC_32u (const Npp32u *pSrc, int nValue, Npp32u *pDst, int nLength)
 32-bit unsigned integer signal left shift with constant. More...
 
NppStatus nppsLShiftC_32s (const Npp32s *pSrc, int nValue, Npp32s *pDst, int nLength)
 32-bit signed integer signal left shift with constant. More...
 
NppStatus nppsLShiftC_8u_I (int nValue, Npp8u *pSrcDst, int nLength)
 8-bit unsigned char in place signal left shift with constant. More...
 
NppStatus nppsLShiftC_16u_I (int nValue, Npp16u *pSrcDst, int nLength)
 16-bit unsigned short in place signal left shift with constant. More...
 
NppStatus nppsLShiftC_16s_I (int nValue, Npp16s *pSrcDst, int nLength)
 16-bit signed short in place signal left shift with constant. More...
 
NppStatus nppsLShiftC_32u_I (int nValue, Npp32u *pSrcDst, int nLength)
 32-bit unsigned signed integer in place signal left shift with constant. More...
 
NppStatus nppsLShiftC_32s_I (int nValue, Npp32s *pSrcDst, int nLength)
 32-bit signed signed integer in place signal left shift with constant. More...
 

Detailed Description

Left shifts the bits of each sample of a signal by a constant amount.

Function Documentation

NppStatus nppsLShiftC_16s ( const Npp16s pSrc,
int  nValue,
Npp16s pDst,
int  nLength 
)

16-bit signed short signal left shift with constant.

Parameters
pSrcSource Signal Pointer.
nValueConstant value to be used to left shift each vector element
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsLShiftC_16s_I ( int  nValue,
Npp16s pSrcDst,
int  nLength 
)

16-bit signed short in place signal left shift with constant.

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value to be used to left shift each vector element
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsLShiftC_16u ( const Npp16u pSrc,
int  nValue,
Npp16u pDst,
int  nLength 
)

16-bit unsigned short signal left shift with constant.

Parameters
pSrcSource Signal Pointer.
nValueConstant value to be used to left shift each vector element
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsLShiftC_16u_I ( int  nValue,
Npp16u pSrcDst,
int  nLength 
)

16-bit unsigned short in place signal left shift with constant.

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value to be used to left shift each vector element
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsLShiftC_32s ( const Npp32s pSrc,
int  nValue,
Npp32s pDst,
int  nLength 
)

32-bit signed integer signal left shift with constant.

Parameters
pSrcSource Signal Pointer.
nValueConstant value to be used to left shift each vector element
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsLShiftC_32s_I ( int  nValue,
Npp32s pSrcDst,
int  nLength 
)

32-bit signed signed integer in place signal left shift with constant.

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value to be used to left shift each vector element
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsLShiftC_32u ( const Npp32u pSrc,
int  nValue,
Npp32u pDst,
int  nLength 
)

32-bit unsigned integer signal left shift with constant.

Parameters
pSrcSource Signal Pointer.
nValueConstant value to be used to left shift each vector element
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsLShiftC_32u_I ( int  nValue,
Npp32u pSrcDst,
int  nLength 
)

32-bit unsigned signed integer in place signal left shift with constant.

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value to be used to left shift each vector element
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsLShiftC_8u ( const Npp8u pSrc,
int  nValue,
Npp8u pDst,
int  nLength 
)

8-bit unsigned char signal left shift with constant.

Parameters
pSrcSource Signal Pointer.
nValueConstant value to be used to left shift each vector element
pDstDestination Signal Pointer.
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsLShiftC_8u_I ( int  nValue,
Npp8u pSrcDst,
int  nLength 
)

8-bit unsigned char in place signal left shift with constant.

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value to be used to left shift each vector element
nLengthSignal Length.
Returns
Signal Data Related Error Codes, Length Related Error Codes.

Copyright © 2009-2017 NVIDIA Corporation