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

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

Functions

NppStatus nppsRShiftC_8u_Ctx (const Npp8u *pSrc, int nValue, Npp8u *pDst, int nLength, NppStreamContext nppStreamCtx)
 8-bit unsigned char signal right shift with constant. More...
 
NppStatus nppsRShiftC_8u (const Npp8u *pSrc, int nValue, Npp8u *pDst, int nLength)
 
NppStatus nppsRShiftC_16u_Ctx (const Npp16u *pSrc, int nValue, Npp16u *pDst, int nLength, NppStreamContext nppStreamCtx)
 16-bit unsigned short signal right shift with constant. More...
 
NppStatus nppsRShiftC_16u (const Npp16u *pSrc, int nValue, Npp16u *pDst, int nLength)
 
NppStatus nppsRShiftC_16s_Ctx (const Npp16s *pSrc, int nValue, Npp16s *pDst, int nLength, NppStreamContext nppStreamCtx)
 16-bit signed short signal right shift with constant. More...
 
NppStatus nppsRShiftC_16s (const Npp16s *pSrc, int nValue, Npp16s *pDst, int nLength)
 
NppStatus nppsRShiftC_32u_Ctx (const Npp32u *pSrc, int nValue, Npp32u *pDst, int nLength, NppStreamContext nppStreamCtx)
 32-bit unsigned integer signal right shift with constant. More...
 
NppStatus nppsRShiftC_32u (const Npp32u *pSrc, int nValue, Npp32u *pDst, int nLength)
 
NppStatus nppsRShiftC_32s_Ctx (const Npp32s *pSrc, int nValue, Npp32s *pDst, int nLength, NppStreamContext nppStreamCtx)
 32-bit signed integer signal right shift with constant. More...
 
NppStatus nppsRShiftC_32s (const Npp32s *pSrc, int nValue, Npp32s *pDst, int nLength)
 
NppStatus nppsRShiftC_8u_I_Ctx (int nValue, Npp8u *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
 8-bit unsigned char in place signal right shift with constant. More...
 
NppStatus nppsRShiftC_8u_I (int nValue, Npp8u *pSrcDst, int nLength)
 
NppStatus nppsRShiftC_16u_I_Ctx (int nValue, Npp16u *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
 16-bit unsigned short in place signal right shift with constant. More...
 
NppStatus nppsRShiftC_16u_I (int nValue, Npp16u *pSrcDst, int nLength)
 
NppStatus nppsRShiftC_16s_I_Ctx (int nValue, Npp16s *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
 16-bit signed short in place signal right shift with constant. More...
 
NppStatus nppsRShiftC_16s_I (int nValue, Npp16s *pSrcDst, int nLength)
 
NppStatus nppsRShiftC_32u_I_Ctx (int nValue, Npp32u *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
 32-bit unsigned signed integer in place signal right shift with constant. More...
 
NppStatus nppsRShiftC_32u_I (int nValue, Npp32u *pSrcDst, int nLength)
 
NppStatus nppsRShiftC_32s_I_Ctx (int nValue, Npp32s *pSrcDst, int nLength, NppStreamContext nppStreamCtx)
 32-bit signed signed integer in place signal right shift with constant. More...
 
NppStatus nppsRShiftC_32s_I (int nValue, Npp32s *pSrcDst, int nLength)
 

Detailed Description

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

Function Documentation

NppStatus nppsRShiftC_16s ( const Npp16s pSrc,
int  nValue,
Npp16s pDst,
int  nLength 
)
NppStatus nppsRShiftC_16s_Ctx ( const Npp16s pSrc,
int  nValue,
Npp16s pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

16-bit signed short signal right shift with constant.

Parameters
pSrcSource Signal Pointer.
nValueConstant value to be used to right shift each vector element
pDstDestination Signal Pointer.
nLengthSignal Length.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsRShiftC_16s_I ( int  nValue,
Npp16s pSrcDst,
int  nLength 
)
NppStatus nppsRShiftC_16s_I_Ctx ( int  nValue,
Npp16s pSrcDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

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

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value to be used to right shift each vector element
nLengthSignal Length.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsRShiftC_16u ( const Npp16u pSrc,
int  nValue,
Npp16u pDst,
int  nLength 
)
NppStatus nppsRShiftC_16u_Ctx ( const Npp16u pSrc,
int  nValue,
Npp16u pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

16-bit unsigned short signal right shift with constant.

Parameters
pSrcSource Signal Pointer.
nValueConstant value to be used to right shift each vector element
pDstDestination Signal Pointer.
nLengthSignal Length.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsRShiftC_16u_I ( int  nValue,
Npp16u pSrcDst,
int  nLength 
)
NppStatus nppsRShiftC_16u_I_Ctx ( int  nValue,
Npp16u pSrcDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

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

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value to be used to right shift each vector element
nLengthSignal Length.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsRShiftC_32s ( const Npp32s pSrc,
int  nValue,
Npp32s pDst,
int  nLength 
)
NppStatus nppsRShiftC_32s_Ctx ( const Npp32s pSrc,
int  nValue,
Npp32s pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

32-bit signed integer signal right shift with constant.

Parameters
pSrcSource Signal Pointer.
nValueConstant value to be used to right shift each vector element
pDstDestination Signal Pointer.
nLengthSignal Length.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsRShiftC_32s_I ( int  nValue,
Npp32s pSrcDst,
int  nLength 
)
NppStatus nppsRShiftC_32s_I_Ctx ( int  nValue,
Npp32s pSrcDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

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

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value to be used to right shift each vector element
nLengthSignal Length.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsRShiftC_32u ( const Npp32u pSrc,
int  nValue,
Npp32u pDst,
int  nLength 
)
NppStatus nppsRShiftC_32u_Ctx ( const Npp32u pSrc,
int  nValue,
Npp32u pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

32-bit unsigned integer signal right shift with constant.

Parameters
pSrcSource Signal Pointer.
nValueConstant value to be used to right shift each vector element
pDstDestination Signal Pointer.
nLengthSignal Length.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsRShiftC_32u_I ( int  nValue,
Npp32u pSrcDst,
int  nLength 
)
NppStatus nppsRShiftC_32u_I_Ctx ( int  nValue,
Npp32u pSrcDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

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

Parameters
pSrcDstIn-Place Signal Pointer.
nValueConstant value to be used to right shift each vector element
nLengthSignal Length.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsRShiftC_8u ( const Npp8u pSrc,
int  nValue,
Npp8u pDst,
int  nLength 
)
NppStatus nppsRShiftC_8u_Ctx ( const Npp8u pSrc,
int  nValue,
Npp8u pDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

8-bit unsigned char signal right shift with constant.

Parameters
pSrcSource Signal Pointer.
nValueConstant value to be used to right shift each vector element
pDstDestination Signal Pointer.
nLengthSignal Length.
nppStreamCtxApplication Managed Stream Context.
Returns
Signal Data Related Error Codes, Length Related Error Codes.
NppStatus nppsRShiftC_8u_I ( int  nValue,
Npp8u pSrcDst,
int  nLength 
)
NppStatus nppsRShiftC_8u_I_Ctx ( int  nValue,
Npp8u pSrcDst,
int  nLength,
NppStreamContext  nppStreamCtx 
)

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

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

Copyright © 2009-2020 NVIDIA Corporation