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

The integer conversion methods do not involve any scaling. More...

Functions

NppStatus  nppiConvert_16u8u_C1R_Ctx (const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Single channel 16-bit unsigned to 8-bit unsigned conversion. More...
 
NppStatus  nppiConvert_16u8u_C1R (const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiConvert_16u8u_C3R_Ctx (const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Three channel 16-bit unsigned to 8-bit unsigned conversion. More...
 
NppStatus  nppiConvert_16u8u_C3R (const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiConvert_16u8u_C4R_Ctx (const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Four channel 16-bit unsigned to 8-bit unsigned conversion. More...
 
NppStatus  nppiConvert_16u8u_C4R (const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiConvert_16u8u_AC4R_Ctx (const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Four channel 16-bit unsigned to 8-bit unsigned conversion, not affecting Alpha. More...
 
NppStatus  nppiConvert_16u8u_AC4R (const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiConvert_16s8u_C1R_Ctx (const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Single channel 16-bit signed to 8-bit unsigned conversion. More...
 
NppStatus  nppiConvert_16s8u_C1R (const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiConvert_16s8u_C3R_Ctx (const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Three channel 16-bit signed to 8-bit unsigned conversion. More...
 
NppStatus  nppiConvert_16s8u_C3R (const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiConvert_16s8u_C4R_Ctx (const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Four channel 16-bit signed to 8-bit unsigned conversion. More...
 
NppStatus  nppiConvert_16s8u_C4R (const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiConvert_16s8u_AC4R_Ctx (const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Four channel 16-bit signed to 8-bit unsigned conversion, not affecting Alpha. More...
 
NppStatus  nppiConvert_16s8u_AC4R (const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiConvert_32s8u_C1R_Ctx (const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Single channel 32-bit signed to 8-bit unsigned conversion. More...
 
NppStatus  nppiConvert_32s8u_C1R (const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiConvert_32s8u_C3R_Ctx (const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Three channel 32-bit signed to 8-bit unsigned conversion. More...
 
NppStatus  nppiConvert_32s8u_C3R (const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiConvert_32s8u_C4R_Ctx (const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Four channel 32-bit signed to 8-bit unsigned conversion. More...
 
NppStatus  nppiConvert_32s8u_C4R (const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiConvert_32s8u_AC4R_Ctx (const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Four channel 32-bit signed to 8-bit unsigned conversion, not affecting Alpha. More...
 
NppStatus  nppiConvert_32s8u_AC4R (const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiConvert_32s8s_C1R_Ctx (const Npp32s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Single channel 32-bit signed to 8-bit signed conversion. More...
 
NppStatus  nppiConvert_32s8s_C1R (const Npp32s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiConvert_32s8s_C3R_Ctx (const Npp32s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Three channel 32-bit signed to 8-bit signed conversion. More...
 
NppStatus  nppiConvert_32s8s_C3R (const Npp32s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiConvert_32s8s_C4R_Ctx (const Npp32s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Four channel 32-bit signed to 8-bit signed conversion. More...
 
NppStatus  nppiConvert_32s8s_C4R (const Npp32s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiConvert_32s8s_AC4R_Ctx (const Npp32s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
  Four channel 32-bit signed to 8-bit signed conversion, not affecting Alpha. More...
 
NppStatus  nppiConvert_32s8s_AC4R (const Npp32s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus  nppiConvert_8u8s_C1RSfs_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)
  Single channel 8-bit unsigned to 8-bit signed conversion. More...
 
NppStatus  nppiConvert_8u8s_C1RSfs (const Npp8u *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
 
NppStatus  nppiConvert_16u8s_C1RSfs_Ctx (const Npp16u *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)
  Single channel 16-bit unsigned to 8-bit signed conversion. More...
 
NppStatus  nppiConvert_16u8s_C1RSfs (const Npp16u *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
 
NppStatus  nppiConvert_16s8s_C1RSfs_Ctx (const Npp16s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)
  Single channel 16-bit signed to 8-bit signed conversion. More...
 
NppStatus  nppiConvert_16s8s_C1RSfs (const Npp16s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
 
NppStatus  nppiConvert_16u16s_C1RSfs_Ctx (const Npp16u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)
  Single channel 16-bit unsigned to 16-bit signed conversion. More...
 
NppStatus  nppiConvert_16u16s_C1RSfs (const Npp16u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
 
NppStatus  nppiConvert_32u8u_C1RSfs_Ctx (const Npp32u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)
  Single channel 32-bit unsigned to 8-bit unsigned conversion. More...
 
NppStatus  nppiConvert_32u8u_C1RSfs (const Npp32u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
 
NppStatus  nppiConvert_32u8s_C1RSfs_Ctx (const Npp32u *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)
  Single channel 32-bit unsigned to 8-bit signed conversion. More...
 
NppStatus  nppiConvert_32u8s_C1RSfs (const Npp32u *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
 
NppStatus  nppiConvert_32u16u_C1RSfs_Ctx (const Npp32u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)
  Single channel 32-bit unsigned to 16-bit unsigned conversion. More...
 
NppStatus  nppiConvert_32u16u_C1RSfs (const Npp32u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
 
NppStatus  nppiConvert_32u16s_C1RSfs_Ctx (const Npp32u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)
  Single channel 32-bit unsigned to 16-bit signed conversion. More...
 
NppStatus  nppiConvert_32u16s_C1RSfs (const Npp32u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
 
NppStatus  nppiConvert_32u32s_C1RSfs_Ctx (const Npp32u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)
  Single channel 32-bit unsigned to 32-bit signed conversion. More...
 
NppStatus  nppiConvert_32u32s_C1RSfs (const Npp32u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
 
NppStatus  nppiConvert_32s16u_C1RSfs_Ctx (const Npp32s *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)
  Single channel 32-bit unsigned to 16-bit unsigned conversion. More...
 
NppStatus  nppiConvert_32s16u_C1RSfs (const Npp32s *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
 
NppStatus  nppiConvert_32s16s_C1RSfs_Ctx (const Npp32s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)
  Single channel 32-bit unsigned to 16-bit signed conversion. More...
 
NppStatus  nppiConvert_32s16s_C1RSfs (const Npp32s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
 
NppStatus  nppiConvert_32f8u_C1R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)
  Single channel 32-bit floating point to 8-bit unsigned conversion. More...
 
NppStatus  nppiConvert_32f8u_C1R (const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
 
NppStatus  nppiConvert_32f8u_C3R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)
  Three channel 32-bit floating point to 8-bit unsigned conversion. More...
 
NppStatus  nppiConvert_32f8u_C3R (const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
 
NppStatus  nppiConvert_32f8u_C4R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)
  Four channel 32-bit floating point to 8-bit unsigned conversion. More...
 
NppStatus  nppiConvert_32f8u_C4R (const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
 
NppStatus  nppiConvert_32f8u_AC4R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)
  Four channel 32-bit floating point to 8-bit unsigned conversion, not affecting Alpha. More...
 
NppStatus  nppiConvert_32f8u_AC4R (const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
 
NppStatus  nppiConvert_32f8s_C1R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)
  Single channel 32-bit floating point to 8-bit signed conversion. More...
 
NppStatus  nppiConvert_32f8s_C1R (const Npp32f *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
 
NppStatus  nppiConvert_32f8s_C3R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)
  Three channel 32-bit floating point to 8-bit signed conversion. More...
 
NppStatus  nppiConvert_32f8s_C3R (const Npp32f *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
 
NppStatus  nppiConvert_32f8s_C4R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)
  Four channel 32-bit floating point to 8-bit signed conversion. More...
 
NppStatus  nppiConvert_32f8s_C4R (const Npp32f *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
 
NppStatus  nppiConvert_32f8s_AC4R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)
  Four channel 32-bit floating point to 8-bit signed conversion, not affecting Alpha. More...
 
NppStatus  nppiConvert_32f8s_AC4R (const Npp32f *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
 
NppStatus  nppiConvert_32f16u_C1R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)
  Single channel 32-bit floating point to 16-bit unsigned conversion. More...
 
NppStatus  nppiConvert_32f16u_C1R (const Npp32f *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
 
NppStatus  nppiConvert_32f16u_C3R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)
  Three channel 32-bit floating point to 16-bit unsigned conversion. More...
 
NppStatus  nppiConvert_32f16u_C3R (const Npp32f *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
 
NppStatus  nppiConvert_32f16u_C4R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)
  Four channel 32-bit floating point to 16-bit unsigned conversion. More...
 
NppStatus  nppiConvert_32f16u_C4R (const Npp32f *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
 
NppStatus  nppiConvert_32f16u_AC4R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)
  Four channel 32-bit floating point to 16-bit unsigned conversion, not affecting Alpha. More...
 
NppStatus  nppiConvert_32f16u_AC4R (const Npp32f *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
 
NppStatus  nppiConvert_32f16s_C1R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)
  Single channel 32-bit floating point to 16-bit signed conversion. More...
 
NppStatus  nppiConvert_32f16s_C1R (const Npp32f *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
 
NppStatus  nppiConvert_32f16s_C3R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)
  Three channel 32-bit floating point to 16-bit signed conversion. More...
 
NppStatus  nppiConvert_32f16s_C3R (const Npp32f *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
 
NppStatus  nppiConvert_32f16s_C4R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)
  Four channel 32-bit floating point to 16-bit signed conversion. More...
 
NppStatus  nppiConvert_32f16s_C4R (const Npp32f *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
 
NppStatus  nppiConvert_32f16s_AC4R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)
  Four channel 32-bit floating point to 16-bit floating-point conversion. More...
 
NppStatus  nppiConvert_32f16s_AC4R (const Npp32f *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
 
NppStatus  nppiConvert_32f16f_C1R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)
  Single channel 32-bit floating point to 16-bit floating-point conversion. More...
 
NppStatus  nppiConvert_32f16f_C1R (const Npp32f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
 
NppStatus  nppiConvert_32f16f_C3R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)
  Three channel 32-bit floating point to 16-bit floating-point conversion. More...
 
NppStatus  nppiConvert_32f16f_C3R (const Npp32f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
 
NppStatus  nppiConvert_32f16f_C4R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)
  Four channel 32-bit floating point to 16-bit floating-point conversion. More...
 
NppStatus  nppiConvert_32f16f_C4R (const Npp32f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
 
NppStatus  nppiConvert_32f16f_AC4R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)
  Four channel 32-bit floating point to 16-bit floating-point conversion. More...
 
NppStatus  nppiConvert_32f16f_AC4R (const Npp32f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
 
NppStatus  nppiConvert_32f8u_C1RSfs_Ctx (const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)
  Single channel 32-bit floating point to 8-bit unsigned conversion. More...
 
NppStatus  nppiConvert_32f8u_C1RSfs (const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
 
NppStatus  nppiConvert_32f8s_C1RSfs_Ctx (const Npp32f *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)
  Single channel 32-bit floating point to 8-bit signed conversion. More...
 
NppStatus  nppiConvert_32f8s_C1RSfs (const Npp32f *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
 
NppStatus  nppiConvert_32f16u_C1RSfs_Ctx (const Npp32f *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)
  Single channel 32-bit floating point to 16-bit unsigned conversion. More...
 
NppStatus  nppiConvert_32f16u_C1RSfs (const Npp32f *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
 
NppStatus  nppiConvert_32f16s_C1RSfs_Ctx (const Npp32f *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)
  Single channel 32-bit floating point to 16-bit signed conversion. More...
 
NppStatus  nppiConvert_32f16s_C1RSfs (const Npp32f *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
 
NppStatus  nppiConvert_32f32u_C1RSfs_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)
  Single channel 32-bit floating point to 32-bit unsigned conversion. More...
 
NppStatus  nppiConvert_32f32u_C1RSfs (const Npp32f *pSrc, int nSrcStep, Npp32u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
 
NppStatus  nppiConvert_32f32s_C1RSfs_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)
  Single channel 32-bit floating point to 32-bit signed conversion. More...
 
NppStatus  nppiConvert_32f32s_C1RSfs (const Npp32f *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
 

Detailed Description

The integer conversion methods do not involve any scaling.

When converting floating-point values to integers the user may choose the most appropriate rounding-mode. Typically information is lost when converting to lower bit depth:

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

Common parameters for nppiConvert to decreased bit depth functions include:

Parameters
pSrc Source-Image Pointer.
nSrcStep Source-Image Line Step.
pDst Destination-Image Pointer.
nDstStep Destination-Image Line Step.
oSizeROI Region-of-Interest (ROI).
eRoundMode Rounding Mode Parameter.
nScaleFactor Integer Result Scaling.
nppStreamCtx Application Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes

Function Documentation

NppStatus nppiConvert_16s8s_C1RSfs ( const Npp16s pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor 
)
NppStatus nppiConvert_16s8s_C1RSfs_Ctx ( const Npp16s pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Single channel 16-bit signed to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_16s8u_AC4R ( const Npp16s pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiConvert_16s8u_AC4R_Ctx ( const Npp16s pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four channel 16-bit signed to 8-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_16s8u_C1R ( const Npp16s pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiConvert_16s8u_C1R_Ctx ( const Npp16s pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Single channel 16-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_16s8u_C3R ( const Npp16s pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiConvert_16s8u_C3R_Ctx ( const Npp16s pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Three channel 16-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_16s8u_C4R ( const Npp16s pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiConvert_16s8u_C4R_Ctx ( const Npp16s pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four channel 16-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_16u16s_C1RSfs ( const Npp16u pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor 
)
NppStatus nppiConvert_16u16s_C1RSfs_Ctx ( const Npp16u pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Single channel 16-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_16u8s_C1RSfs ( const Npp16u pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor 
)
NppStatus nppiConvert_16u8s_C1RSfs_Ctx ( const Npp16u pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Single channel 16-bit unsigned to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_16u8u_AC4R ( const Npp16u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiConvert_16u8u_AC4R_Ctx ( const Npp16u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four channel 16-bit unsigned to 8-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_16u8u_C1R ( const Npp16u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiConvert_16u8u_C1R_Ctx ( const Npp16u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Single channel 16-bit unsigned to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_16u8u_C3R ( const Npp16u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiConvert_16u8u_C3R_Ctx ( const Npp16u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Three channel 16-bit unsigned to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_16u8u_C4R ( const Npp16u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiConvert_16u8u_C4R_Ctx ( const Npp16u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four channel 16-bit unsigned to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f16f_AC4R ( const Npp32f pSrc,
int  nSrcStep,
Npp16f pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode 
)
NppStatus nppiConvert_32f16f_AC4R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp16f pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
NppStreamContext  nppStreamCtx 
)

Four channel 32-bit floating point to 16-bit floating-point conversion.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f16f_C1R ( const Npp32f pSrc,
int  nSrcStep,
Npp16f pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode 
)
NppStatus nppiConvert_32f16f_C1R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp16f pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit floating point to 16-bit floating-point conversion.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f16f_C3R ( const Npp32f pSrc,
int  nSrcStep,
Npp16f pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode 
)
NppStatus nppiConvert_32f16f_C3R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp16f pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
NppStreamContext  nppStreamCtx 
)

Three channel 32-bit floating point to 16-bit floating-point conversion.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f16f_C4R ( const Npp32f pSrc,
int  nSrcStep,
Npp16f pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode 
)
NppStatus nppiConvert_32f16f_C4R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp16f pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
NppStreamContext  nppStreamCtx 
)

Four channel 32-bit floating point to 16-bit floating-point conversion.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f16s_AC4R ( const Npp32f pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode 
)
NppStatus nppiConvert_32f16s_AC4R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
NppStreamContext  nppStreamCtx 
)

Four channel 32-bit floating point to 16-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f16s_C1R ( const Npp32f pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode 
)
NppStatus nppiConvert_32f16s_C1R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit floating point to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f16s_C1RSfs ( const Npp32f pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor 
)
NppStatus nppiConvert_32f16s_C1RSfs_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit floating point to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f16s_C3R ( const Npp32f pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode 
)
NppStatus nppiConvert_32f16s_C3R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
NppStreamContext  nppStreamCtx 
)

Three channel 32-bit floating point to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f16s_C4R ( const Npp32f pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode 
)
NppStatus nppiConvert_32f16s_C4R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
NppStreamContext  nppStreamCtx 
)

Four channel 32-bit floating point to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f16u_AC4R ( const Npp32f pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode 
)
NppStatus nppiConvert_32f16u_AC4R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
NppStreamContext  nppStreamCtx 
)

Four channel 32-bit floating point to 16-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f16u_C1R ( const Npp32f pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode 
)
NppStatus nppiConvert_32f16u_C1R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit floating point to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f16u_C1RSfs ( const Npp32f pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor 
)
NppStatus nppiConvert_32f16u_C1RSfs_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit floating point to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f16u_C3R ( const Npp32f pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode 
)
NppStatus nppiConvert_32f16u_C3R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
NppStreamContext  nppStreamCtx 
)

Three channel 32-bit floating point to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f16u_C4R ( const Npp32f pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode 
)
NppStatus nppiConvert_32f16u_C4R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
NppStreamContext  nppStreamCtx 
)

Four channel 32-bit floating point to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f32s_C1RSfs ( const Npp32f pSrc,
int  nSrcStep,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor 
)
NppStatus nppiConvert_32f32s_C1RSfs_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit floating point to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f32u_C1RSfs ( const Npp32f pSrc,
int  nSrcStep,
Npp32u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor 
)
NppStatus nppiConvert_32f32u_C1RSfs_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp32u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit floating point to 32-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f8s_AC4R ( const Npp32f pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode 
)
NppStatus nppiConvert_32f8s_AC4R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
NppStreamContext  nppStreamCtx 
)

Four channel 32-bit floating point to 8-bit signed conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f8s_C1R ( const Npp32f pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode 
)
NppStatus nppiConvert_32f8s_C1R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit floating point to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f8s_C1RSfs ( const Npp32f pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor 
)
NppStatus nppiConvert_32f8s_C1RSfs_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit floating point to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f8s_C3R ( const Npp32f pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode 
)
NppStatus nppiConvert_32f8s_C3R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
NppStreamContext  nppStreamCtx 
)

Three channel 32-bit floating point to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f8s_C4R ( const Npp32f pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode 
)
NppStatus nppiConvert_32f8s_C4R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
NppStreamContext  nppStreamCtx 
)

Four channel 32-bit floating point to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f8u_AC4R ( const Npp32f pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode 
)
NppStatus nppiConvert_32f8u_AC4R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
NppStreamContext  nppStreamCtx 
)

Four channel 32-bit floating point to 8-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f8u_C1R ( const Npp32f pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode 
)
NppStatus nppiConvert_32f8u_C1R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit floating point to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f8u_C1RSfs ( const Npp32f pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor 
)
NppStatus nppiConvert_32f8u_C1RSfs_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit floating point to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f8u_C3R ( const Npp32f pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode 
)
NppStatus nppiConvert_32f8u_C3R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
NppStreamContext  nppStreamCtx 
)

Three channel 32-bit floating point to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32f8u_C4R ( const Npp32f pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode 
)
NppStatus nppiConvert_32f8u_C4R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
NppStreamContext  nppStreamCtx 
)

Four channel 32-bit floating point to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32s16s_C1RSfs ( const Npp32s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor 
)
NppStatus nppiConvert_32s16s_C1RSfs_Ctx ( const Npp32s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32s16u_C1RSfs ( const Npp32s pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor 
)
NppStatus nppiConvert_32s16u_C1RSfs_Ctx ( const Npp32s pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit unsigned to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32s8s_AC4R ( const Npp32s pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiConvert_32s8s_AC4R_Ctx ( const Npp32s pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four channel 32-bit signed to 8-bit signed conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32s8s_C1R ( const Npp32s pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiConvert_32s8s_C1R_Ctx ( const Npp32s pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit signed to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32s8s_C3R ( const Npp32s pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiConvert_32s8s_C3R_Ctx ( const Npp32s pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Three channel 32-bit signed to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32s8s_C4R ( const Npp32s pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiConvert_32s8s_C4R_Ctx ( const Npp32s pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four channel 32-bit signed to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32s8u_AC4R ( const Npp32s pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiConvert_32s8u_AC4R_Ctx ( const Npp32s pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four channel 32-bit signed to 8-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32s8u_C1R ( const Npp32s pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiConvert_32s8u_C1R_Ctx ( const Npp32s pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32s8u_C3R ( const Npp32s pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiConvert_32s8u_C3R_Ctx ( const Npp32s pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Three channel 32-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32s8u_C4R ( const Npp32s pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiConvert_32s8u_C4R_Ctx ( const Npp32s pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four channel 32-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32u16s_C1RSfs ( const Npp32u pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor 
)
NppStatus nppiConvert_32u16s_C1RSfs_Ctx ( const Npp32u pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32u16u_C1RSfs ( const Npp32u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor 
)
NppStatus nppiConvert_32u16u_C1RSfs_Ctx ( const Npp32u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit unsigned to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32u32s_C1RSfs ( const Npp32u pSrc,
int  nSrcStep,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor 
)
NppStatus nppiConvert_32u32s_C1RSfs_Ctx ( const Npp32u pSrc,
int  nSrcStep,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32u8s_C1RSfs ( const Npp32u pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor 
)
NppStatus nppiConvert_32u8s_C1RSfs_Ctx ( const Npp32u pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit unsigned to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_32u8u_C1RSfs ( const Npp32u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor 
)
NppStatus nppiConvert_32u8u_C1RSfs_Ctx ( const Npp32u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Single channel 32-bit unsigned to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.

NppStatus nppiConvert_8u8s_C1RSfs ( const Npp8u pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor 
)
NppStatus nppiConvert_8u8s_C1RSfs_Ctx ( const Npp8u pSrc,
int  nSrcStep,
Npp8s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppRoundMode  eRoundMode,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Single channel 8-bit unsigned to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions.