Class NPPNativeMethods.NPPi.BitDepthConversion
Convert bit-depth up and down.
The integer conversion methods do not involve any scaling. Conversions that reduce bit-depth saturate values exceeding the reduced range to the range's maximum/minimum value. When converting from floating-point values to integer values, a rounding mode can be specified. After rounding to integer values the values get saturated to the destination data type's range.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class BitDepthConversion
Methods
nppiConvert_16s16u_C1Rs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single channel 16-bit signed to 16-bit unsigned conversion with saturation.
Declaration
public static NppStatus nppiConvert_16s16u_C1Rs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16s32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four channel 16-bit signed to 32-bit floating-point conversion, not affecting Alpha.
Declaration
public static NppStatus nppiConvert_16s32f_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16s32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
16-bit singedto 32-bit floating point conversion. For detailed documentation see nppiConverte_8u16u_C1R().
Declaration
public static NppStatus nppiConvert_16s32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16s32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three channel 16-bit signed to 32-bit floating-point conversion.
Declaration
public static NppStatus nppiConvert_16s32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16s32f_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four channel 16-bit signed to 32-bit floating-point conversion.
Declaration
public static NppStatus nppiConvert_16s32f_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16s32s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four channel 16-bit signed to 32-bit signed conversion, not affecting Alpha.
Declaration
public static NppStatus nppiConvert_16s32s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16s32s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
16-bit to 32-bit conversion. For detailed documentation see nppiConvert_8u16u_C1R().
Declaration
public static NppStatus nppiConvert_16s32s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16s32s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three channel 16-bit signed to 32-bit signed conversion.
Declaration
public static NppStatus nppiConvert_16s32s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16s32s_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four channel 16-bit signed to 32-bit signed conversion.
Declaration
public static NppStatus nppiConvert_16s32s_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16s32u_C1Rs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single channel 16-bit signed to 32-bit unsigned conversion with saturation.
Declaration
public static NppStatus nppiConvert_16s32u_C1Rs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16s8s_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)
Convert
Declaration
public static NppStatus nppiConvert_16s8s_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Round mode |
System.Int32 | nScaleFactor | scaling factor |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16s8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
4 channel 16-bit signed to 8-bit unsigned conversion, not affecting Alpha. For detailed documentation see nppiConverte_8u16u_C1R().
Declaration
public static NppStatus nppiConvert_16s8u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16s8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
4 channel 16-bit signed to 8-bit unsigned conversion. For detailed documentation see nppiConvert_8u16u_C1R().
Declaration
public static NppStatus nppiConvert_16s8u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16s8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three channel 16-bit signed to 8-bit unsigned conversion.
Declaration
public static NppStatus nppiConvert_16s8u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16s8u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
4 channel 16-bit signed to 8-bit unsignedconversion, not affecting Alpha. For detailed documentation see nppiConvert_8u16u_C1R().
Declaration
public static NppStatus nppiConvert_16s8u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16u16s_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)
Convert
Declaration
public static NppStatus nppiConvert_16u16s_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Round mode |
System.Int32 | nScaleFactor | scaling factor |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16u32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four channel 16-bit unsigned to 32-bit floating-point conversion, not affecting Alpha.
Declaration
public static NppStatus nppiConvert_16u32f_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16u32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
16-bit unsigned to 32-bit floating point conversion. For detailed documentation see nppiConverte_8u16u_C1R().
Declaration
public static NppStatus nppiConvert_16u32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16u32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three channel 16-bit unsigned to 32-bit floating-point conversion.
Declaration
public static NppStatus nppiConvert_16u32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16u32f_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four channel 16-bit unsigned to 32-bit floating-point conversion.
Declaration
public static NppStatus nppiConvert_16u32f_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16u32s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four channel 16-bit unsigned to 32-bit signed conversion, not affecting Alpha.
Declaration
public static NppStatus nppiConvert_16u32s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16u32s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
16-bit unsigned to 32-bit signed conversion. For detailed documentation see nppiConverte_8u16u_C1R().
Declaration
public static NppStatus nppiConvert_16u32s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16u32s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three channel 16-bit unsigned to 32-bit signed conversion.
Declaration
public static NppStatus nppiConvert_16u32s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16u32s_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four channel 16-bit unsigned to 32-bit signed conversion.
Declaration
public static NppStatus nppiConvert_16u32s_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16u32u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single channel 16-bit unsigned to 32-bit unsigned conversion.
Declaration
public static NppStatus nppiConvert_16u32u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16u8s_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)
Convert
Declaration
public static NppStatus nppiConvert_16u8s_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Round mode |
System.Int32 | nScaleFactor | scaling factor |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16u8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
4 channel 16-bit unsigned to 8-bit unsigned conversion, not affecting Alpha. For detailed documentation see nppiConvert_8u16u_C1R().
Declaration
public static NppStatus nppiConvert_16u8u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16u8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
16-bit unsigned to 8-bit unsigned conversion. For detailed documentation see nppiConvert_8u16u_C1R().
Declaration
public static NppStatus nppiConvert_16u8u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16u8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three channel 16-bit unsigned to 8-bit unsigned conversion.
Declaration
public static NppStatus nppiConvert_16u8u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_16u8u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
4 channel 16-bit unsigned to 8-bit unsigned conversion. For detailed documentation see nppiConvert_8u16u_C1R().
Declaration
public static NppStatus nppiConvert_16u8u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f16s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode)
Four channel 32-bit floating point to 16-bit signed conversion.
Declaration
public static NppStatus nppiConvert_32f16s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f16s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode)
32-bit floating point to 16-bit conversion. For detailed documentation see nppiConverte_8u16u_C1R().
Declaration
public static NppStatus nppiConvert_32f16s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f16s_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)
Single channel 32-bit floating point to 16-bit signed conversion.
Declaration
public static NppStatus nppiConvert_32f16s_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f16s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode)
Three channel 32-bit floating point to 16-bit signed conversion.
Declaration
public static NppStatus nppiConvert_32f16s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f16s_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode)
Four channel 32-bit floating point to 16-bit signed conversion.
Declaration
public static NppStatus nppiConvert_32f16s_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode)
Four channel 32-bit floating point to 16-bit unsigned conversion, not affecting Alpha.
Declaration
public static NppStatus nppiConvert_32f16u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f16u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode)
32-bit floating point to 16-bit unsigned conversion. For detailed documentation see nppiConverte_8u16u_C1R().
Declaration
public static NppStatus nppiConvert_32f16u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f16u_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)
Single channel 32-bit floating point to 16-bit unsigned conversion.
Declaration
public static NppStatus nppiConvert_32f16u_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode)
Three channel 32-bit floating point to 16-bit unsigned conversion.
Declaration
public static NppStatus nppiConvert_32f16u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f16u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode)
Four channel 32-bit floating point to 16-bit unsigned conversion.
Declaration
public static NppStatus nppiConvert_32f16u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f32s_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)
Single channel 32-bit floating point to 32-bit signed conversion.
Declaration
public static NppStatus nppiConvert_32f32s_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f32u_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)
Single channel 32-bit floating point to 32-bit unsigned conversion.
Declaration
public static NppStatus nppiConvert_32f32u_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f8s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode)
Four channel 32-bit floating point to 8-bit signed conversion, not affecting Alpha.
Declaration
public static NppStatus nppiConvert_32f8s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f8s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode)
Single channel 32-bit floating point to 8-bit signed conversion.
Declaration
public static NppStatus nppiConvert_32f8s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f8s_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)
Single channel 32-bit floating point to 8-bit signed conversion.
Declaration
public static NppStatus nppiConvert_32f8s_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f8s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode)
Three channel 32-bit floating point to 8-bit signed conversion.
Declaration
public static NppStatus nppiConvert_32f8s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f8s_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode)
Four channel 32-bit floating point to 8-bit signed conversion.
Declaration
public static NppStatus nppiConvert_32f8s_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode)
Four channel 32-bit floating point to 8-bit unsigned conversion, not affecting Alpha.
Declaration
public static NppStatus nppiConvert_32f8u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode)
32-bit floating point to 8-bit unsigned conversion. For detailed documentation see nppiConverte_8u16u_C1R().
Declaration
public static NppStatus nppiConvert_32f8u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f8u_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)
Single channel 32-bit floating point to 8-bit unsigned conversion.
Declaration
public static NppStatus nppiConvert_32f8u_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode)
Three channel 32-bit floating point to 8-bit unsigned conversion.
Declaration
public static NppStatus nppiConvert_32f8u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32f8u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode)
Four channel 32-bit floating point to 8-bit unsigned conversion.
Declaration
public static NppStatus nppiConvert_32f8u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Flag specifying how fractional float values are rounded to integer values. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32s16s_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)
Convert
Declaration
public static NppStatus nppiConvert_32s16s_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Round mode |
System.Int32 | nScaleFactor | scaling factor |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32s16u_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)
Convert
Declaration
public static NppStatus nppiConvert_32s16u_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Round mode |
System.Int32 | nScaleFactor | scaling factor |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32s32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single channel 32-bit signed to 32-bit floating-point conversion.
Declaration
public static NppStatus nppiConvert_32s32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32s32u_C1Rs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single channel 32-bit signed to 32-bit unsigned conversion with saturation.
Declaration
public static NppStatus nppiConvert_32s32u_C1Rs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32s8s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four channel 32-bit signed to 8-bit signed conversion, not affecting Alpha.
Declaration
public static NppStatus nppiConvert_32s8s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32s8s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single channel 32-bit signed to 8-bit signed conversion.
Declaration
public static NppStatus nppiConvert_32s8s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32s8s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three channel 32-bit signed to 8-bit signed conversion.
Declaration
public static NppStatus nppiConvert_32s8s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32s8s_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four channel 32-bit signed to 8-bit signed conversion.
Declaration
public static NppStatus nppiConvert_32s8s_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32s8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four channel 32-bit signed to 8-bit unsigned conversion, not affecting Alpha.
Declaration
public static NppStatus nppiConvert_32s8u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32s8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single channel 32-bit signed to 8-bit unsigned conversion.
Declaration
public static NppStatus nppiConvert_32s8u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32s8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three channel 32-bit signed to 8-bit unsigned conversion.
Declaration
public static NppStatus nppiConvert_32s8u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32s8u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four channel 32-bit signed to 8-bit unsigned conversion.
Declaration
public static NppStatus nppiConvert_32s8u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32u16s_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)
Convert
Declaration
public static NppStatus nppiConvert_32u16s_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Round mode |
System.Int32 | nScaleFactor | scaling factor |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32u16u_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)
Convert
Declaration
public static NppStatus nppiConvert_32u16u_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Round mode |
System.Int32 | nScaleFactor | scaling factor |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32u32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single channel 32-bit unsigned to 32-bit floating-point conversion.
Declaration
public static NppStatus nppiConvert_32u32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32u32s_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)
Convert
Declaration
public static NppStatus nppiConvert_32u32s_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Round mode |
System.Int32 | nScaleFactor | scaling factor |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32u8s_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)
Convert
Declaration
public static NppStatus nppiConvert_32u8s_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Round mode |
System.Int32 | nScaleFactor | scaling factor |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_32u8u_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)
Convert
Declaration
public static NppStatus nppiConvert_32u8u_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Round mode |
System.Int32 | nScaleFactor | scaling factor |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8s16s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single channel 8-bit signed to 16-bit signed conversion.
Declaration
public static NppStatus nppiConvert_8s16s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8s16u_C1Rs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single channel 8-bit signed to 16-bit unsigned conversion with saturation.
Declaration
public static NppStatus nppiConvert_8s16u_C1Rs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8s32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four channel 8-bit signed to 32-bit floating-point conversion, not affecting Alpha.
Declaration
public static NppStatus nppiConvert_8s32f_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8s32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single channel 8-bit signed to 32-bit floating-point conversion.
Declaration
public static NppStatus nppiConvert_8s32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8s32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three channel 8-bit signed to 32-bit floating-point conversion.
Declaration
public static NppStatus nppiConvert_8s32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8s32f_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four channel 8-bit signed to 32-bit floating-point conversion.
Declaration
public static NppStatus nppiConvert_8s32f_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8s32s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four channel 8-bit signed to 32-bit signed conversion, not affecting Alpha.
Declaration
public static NppStatus nppiConvert_8s32s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8s32s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single channel 8-bit signed to 32-bit signed conversion.
Declaration
public static NppStatus nppiConvert_8s32s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8s32s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three channel 8-bit signed to 32-bit signed conversion.
Declaration
public static NppStatus nppiConvert_8s32s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8s32s_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four channel 8-bit signed to 32-bit signed conversion.
Declaration
public static NppStatus nppiConvert_8s32s_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8s32u_C1Rs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single channel 8-bit signed to 32-bit unsigned conversion with saturation.
Declaration
public static NppStatus nppiConvert_8s32u_C1Rs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8s8u_C1Rs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single channel 8-bit signed to 8-bit unsigned conversion with saturation.
Declaration
public static NppStatus nppiConvert_8s8u_C1Rs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8u16s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
4 channel 8-bit unsigned to 16-bit signed conversion, not affecting Alpha. For detailed documentation see nppiConverte_8u16u_C1R().
Declaration
public static NppStatus nppiConvert_8u16s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8u16s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
8-bit unsigned to 16-bit signed conversion. For detailed documentation see nppiConvert_8u16u_C1R().
Declaration
public static NppStatus nppiConvert_8u16s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8u16s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three channel 8-bit unsigned to 16-bit signed conversion.
Declaration
public static NppStatus nppiConvert_8u16s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8u16s_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
4 channel 8-bit unsigned to 16-bit signed conversion. For detailed documentation see nppiConvert_8u16u_C1R().
Declaration
public static NppStatus nppiConvert_8u16s_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8u16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
4 channel 8-bit unsigned to 16-bit unsigned conversion, not affecting Alpha. For detailed documentation see nppiConvert_8u16u_C1R().
Declaration
public static NppStatus nppiConvert_8u16u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8u16u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
8-bit unsigned to 16-bit unsigned conversion.
Declaration
public static NppStatus nppiConvert_8u16u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8u16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned to 16-bit unsigned conversion. For detailed documentation see nppiConvert_8u16u_C1R().
Declaration
public static NppStatus nppiConvert_8u16u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8u16u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
4 channel 8-bit unsigned to 16-bit unsigned conversion. For detailed documentation see nppiConvert_8u16u_C1R().
Declaration
public static NppStatus nppiConvert_8u16u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8u32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four channel 8-bit unsigned to 32-bit floating-point conversion, not affecting Alpha.
Declaration
public static NppStatus nppiConvert_8u32f_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8u32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
8-bit unsigned to 32-bit floating point conversion. For detailed documentation see nppiConverte_8u16u_C1R().
Declaration
public static NppStatus nppiConvert_8u32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8u32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three channel 8-bit unsigned to 32-bit floating-point conversion.
Declaration
public static NppStatus nppiConvert_8u32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8u32f_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four channel 8-bit unsigned to 32-bit floating-point conversion.
Declaration
public static NppStatus nppiConvert_8u32f_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8u32s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four channel 8-bit unsigned to 32-bit signed conversion, not affecting Alpha.
Declaration
public static NppStatus nppiConvert_8u32s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8u32s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single channel 8-bit unsigned to 32-bit signed conversion.
Declaration
public static NppStatus nppiConvert_8u32s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8u32s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three channel 8-bit unsigned to 32-bit signed conversion.
Declaration
public static NppStatus nppiConvert_8u32s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8u32s_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four channel 8-bit unsigned to 32-bit signed conversion.
Declaration
public static NppStatus nppiConvert_8u32s_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiConvert_8u8s_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppRoundMode, Int32)
Convert
Declaration
public static NppStatus nppiConvert_8u8s_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppRoundMode | eRoundMode | Round mode |
System.Int32 | nScaleFactor | scaling factor |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |