Class NPPNativeMethods.NPPi.RightShiftConst
Pixel by pixel right shift of an image by a constant value.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class RightShiftConst
Methods
nppiRShiftC_16s_AC4IR(UInt32[], CUdeviceptr, Int32, NppiSize)
Four 16-bit signed short channel in place image right shift by constant with unmodified alpha.
Declaration
public static NppStatus nppiRShiftC_16s_AC4IR(uint[] aConstants, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRShiftC_16s_AC4R(CUdeviceptr, Int32, UInt32[], CUdeviceptr, Int32, NppiSize)
Four 16-bit signed short channel image right shift by constant with unmodified alpha.
Declaration
public static NppStatus nppiRShiftC_16s_AC4R(CUdeviceptr pSrc1, int nSrc1Step, uint[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
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 |
nppiRShiftC_16s_C1IR(UInt32, CUdeviceptr, Int32, NppiSize)
One 16-bit signed short channel in place image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_16s_C1IR(uint nConstant, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | nConstant | Constant. |
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRShiftC_16s_C1R(CUdeviceptr, Int32, UInt32, CUdeviceptr, Int32, NppiSize)
One 16-bit signed short channel image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_16s_C1R(CUdeviceptr pSrc1, int nSrc1Step, uint nConstant, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
System.UInt32 | nConstant | Constant. |
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 |
nppiRShiftC_16s_C3IR(UInt32[], CUdeviceptr, Int32, NppiSize)
Three 16-bit signed short channel in place image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_16s_C3IR(uint[] aConstants, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRShiftC_16s_C3R(CUdeviceptr, Int32, UInt32[], CUdeviceptr, Int32, NppiSize)
Three 16-bit signed short channel image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_16s_C3R(CUdeviceptr pSrc1, int nSrc1Step, uint[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
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 |
nppiRShiftC_16s_C4IR(UInt32[], CUdeviceptr, Int32, NppiSize)
Four 16-bit signed short channel in place image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_16s_C4IR(uint[] aConstants, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRShiftC_16s_C4R(CUdeviceptr, Int32, UInt32[], CUdeviceptr, Int32, NppiSize)
Four 16-bit signed short channel image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_16s_C4R(CUdeviceptr pSrc1, int nSrc1Step, uint[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
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 |
nppiRShiftC_16u_AC4IR(UInt32[], CUdeviceptr, Int32, NppiSize)
Four 16-bit unsigned short channel in place image right shift by constant with unmodified alpha.
Declaration
public static NppStatus nppiRShiftC_16u_AC4IR(uint[] aConstants, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRShiftC_16u_AC4R(CUdeviceptr, Int32, UInt32[], CUdeviceptr, Int32, NppiSize)
Four 16-bit unsigned short channel image right shift by constant with unmodified alpha.
Declaration
public static NppStatus nppiRShiftC_16u_AC4R(CUdeviceptr pSrc1, int nSrc1Step, uint[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
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 |
nppiRShiftC_16u_C1IR(UInt32, CUdeviceptr, Int32, NppiSize)
One 16-bit unsigned short channel in place image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_16u_C1IR(uint nConstant, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | nConstant | Constant. |
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRShiftC_16u_C1R(CUdeviceptr, Int32, UInt32, CUdeviceptr, Int32, NppiSize)
One 16-bit unsigned short channel image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_16u_C1R(CUdeviceptr pSrc1, int nSrc1Step, uint nConstant, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
System.UInt32 | nConstant | Constant. |
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 |
nppiRShiftC_16u_C3IR(UInt32[], CUdeviceptr, Int32, NppiSize)
Three 16-bit unsigned short channel in place image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_16u_C3IR(uint[] aConstants, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRShiftC_16u_C3R(CUdeviceptr, Int32, UInt32[], CUdeviceptr, Int32, NppiSize)
Three 16-bit unsigned short channel image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_16u_C3R(CUdeviceptr pSrc1, int nSrc1Step, uint[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
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 |
nppiRShiftC_16u_C4IR(UInt32[], CUdeviceptr, Int32, NppiSize)
Four 16-bit unsigned short channel in place image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_16u_C4IR(uint[] aConstants, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRShiftC_16u_C4R(CUdeviceptr, Int32, UInt32[], CUdeviceptr, Int32, NppiSize)
Four 16-bit unsigned short channel image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_16u_C4R(CUdeviceptr pSrc1, int nSrc1Step, uint[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
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 |
nppiRShiftC_32s_AC4IR(UInt32[], CUdeviceptr, Int32, NppiSize)
Four 32-bit signed integer channel in place image right shift by constant with unmodified alpha.
Declaration
public static NppStatus nppiRShiftC_32s_AC4IR(uint[] aConstants, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRShiftC_32s_AC4R(CUdeviceptr, Int32, UInt32[], CUdeviceptr, Int32, NppiSize)
Four 32-bit signed integer channel image right shift by constant with unmodified alpha.
Declaration
public static NppStatus nppiRShiftC_32s_AC4R(CUdeviceptr pSrc1, int nSrc1Step, uint[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
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 |
nppiRShiftC_32s_C1IR(UInt32, CUdeviceptr, Int32, NppiSize)
One 32-bit signed integer channel in place image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_32s_C1IR(uint nConstant, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | nConstant | Constant. |
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRShiftC_32s_C1R(CUdeviceptr, Int32, UInt32, CUdeviceptr, Int32, NppiSize)
One 32-bit signed integer channel image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_32s_C1R(CUdeviceptr pSrc1, int nSrc1Step, uint nConstant, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
System.UInt32 | nConstant | Constant. |
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 |
nppiRShiftC_32s_C3IR(UInt32[], CUdeviceptr, Int32, NppiSize)
Three 32-bit signed integer channel in place image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_32s_C3IR(uint[] aConstants, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRShiftC_32s_C3R(CUdeviceptr, Int32, UInt32[], CUdeviceptr, Int32, NppiSize)
Three 32-bit signed integer channel image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_32s_C3R(CUdeviceptr pSrc1, int nSrc1Step, uint[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
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 |
nppiRShiftC_32s_C4IR(UInt32[], CUdeviceptr, Int32, NppiSize)
Four 32-bit signed integer channel in place image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_32s_C4IR(uint[] aConstants, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRShiftC_32s_C4R(CUdeviceptr, Int32, UInt32[], CUdeviceptr, Int32, NppiSize)
Four 32-bit signed integer channel image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_32s_C4R(CUdeviceptr pSrc1, int nSrc1Step, uint[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
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 |
nppiRShiftC_8s_AC4IR(UInt32[], CUdeviceptr, Int32, NppiSize)
Four 8-bit signed char channel in place image right shift by constant with unmodified alpha.
Declaration
public static NppStatus nppiRShiftC_8s_AC4IR(uint[] aConstants, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRShiftC_8s_AC4R(CUdeviceptr, Int32, UInt32[], CUdeviceptr, Int32, NppiSize)
Four 8-bit signed char channel image right shift by constant with unmodified alpha.
Declaration
public static NppStatus nppiRShiftC_8s_AC4R(CUdeviceptr pSrc1, int nSrc1Step, uint[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
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 |
nppiRShiftC_8s_C1IR(UInt32, CUdeviceptr, Int32, NppiSize)
One 8-bit signed char channel in place image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_8s_C1IR(uint nConstant, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | nConstant | Constant. |
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRShiftC_8s_C1R(CUdeviceptr, Int32, UInt32, CUdeviceptr, Int32, NppiSize)
One 8-bit signed char channel image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_8s_C1R(CUdeviceptr pSrc1, int nSrc1Step, uint nConstant, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
System.UInt32 | nConstant | Constant. |
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 |
nppiRShiftC_8s_C3IR(UInt32[], CUdeviceptr, Int32, NppiSize)
Three 8-bit signed char channel in place image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_8s_C3IR(uint[] aConstants, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRShiftC_8s_C3R(CUdeviceptr, Int32, UInt32[], CUdeviceptr, Int32, NppiSize)
Three 8-bit signed char channel image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_8s_C3R(CUdeviceptr pSrc1, int nSrc1Step, uint[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
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 |
nppiRShiftC_8s_C4IR(UInt32[], CUdeviceptr, Int32, NppiSize)
Four 8-bit signed char channel in place image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_8s_C4IR(uint[] aConstants, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRShiftC_8s_C4R(CUdeviceptr, Int32, UInt32[], CUdeviceptr, Int32, NppiSize)
Four 8-bit signed char channel image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_8s_C4R(CUdeviceptr pSrc1, int nSrc1Step, uint[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
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 |
nppiRShiftC_8u_AC4IR(UInt32[], CUdeviceptr, Int32, NppiSize)
Four 8-bit unsigned char channel in place image right shift by constant with unmodified alpha.
Declaration
public static NppStatus nppiRShiftC_8u_AC4IR(uint[] aConstants, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRShiftC_8u_AC4R(CUdeviceptr, Int32, UInt32[], CUdeviceptr, Int32, NppiSize)
Four 8-bit unsigned char channel image right shift by constant with unmodified alpha.
Declaration
public static NppStatus nppiRShiftC_8u_AC4R(CUdeviceptr pSrc1, int nSrc1Step, uint[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
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 |
nppiRShiftC_8u_C1IR(UInt32, CUdeviceptr, Int32, NppiSize)
One 8-bit unsigned char channel in place image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_8u_C1IR(uint nConstant, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | nConstant | Constant. |
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRShiftC_8u_C1R(CUdeviceptr, Int32, UInt32, CUdeviceptr, Int32, NppiSize)
One 8-bit unsigned char channel image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_8u_C1R(CUdeviceptr pSrc1, int nSrc1Step, uint nConstant, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
System.UInt32 | nConstant | Constant. |
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 |
nppiRShiftC_8u_C3IR(UInt32[], CUdeviceptr, Int32, NppiSize)
Three 8-bit unsigned char channel in place image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_8u_C3IR(uint[] aConstants, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRShiftC_8u_C3R(CUdeviceptr, Int32, UInt32[], CUdeviceptr, Int32, NppiSize)
Three 8-bit unsigned char channel image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_8u_C3R(CUdeviceptr pSrc1, int nSrc1Step, uint[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
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 |
nppiRShiftC_8u_C4IR(UInt32[], CUdeviceptr, Int32, NppiSize)
Four 8-bit unsigned char channel in place image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_8u_C4IR(uint[] aConstants, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRShiftC_8u_C4R(CUdeviceptr, Int32, UInt32[], CUdeviceptr, Int32, NppiSize)
Four 8-bit unsigned char channel image right shift by constant.
Declaration
public static NppStatus nppiRShiftC_8u_C4R(CUdeviceptr pSrc1, int nSrc1Step, uint[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
System.UInt32[] | aConstants | fixed size array of constant values, one per channel. |
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 |