Image Arithmetic And Logical Operations
These functions can be found in the nppial library.
Linking to only the sub-libraries that you use can significantly save link time, application load time, and CUDA runtime startup time when using dynamic libraries.
Arithmetic Operations
Arithmetic Operations
The set of image processing arithmetic operations available in the library.
AddC
Adds a constant value to each pixel of an image.
Note: If you use one of the device constant versions of these functions and the function called immediately preceeding that function generates that device constant you MUST either call cudaStreamSynchronize() or cudaDeviceSynchronize() before calling the device constant function.
Functions
-
NppStatus nppiAddC_8u_C1RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u nConstant, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory Constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_8u_C1RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u nConstant, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 8-bit unsigned char channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory Constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_8u_C1RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pConstant, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – pointer to device memory Constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_8u_C1IRSfs_Ctx(const Npp8u nConstant, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel in place image add constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory Constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_8u_C1IRSfs(const Npp8u nConstant, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 8-bit unsigned char channel in place image add constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory Constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_8u_C1IRSfs_Ctx(const Npp8u *pConstant, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel in place image add constant, scale, then clamp to saturated value.
- Parameters
pConstant – pointer to device memory Constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_8u_C3RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_8u_C3RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 8-bit unsigned char channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_8u_C3RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pConstants, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_8u_C3IRSfs_Ctx(const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel 8-bit unsigned char in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_8u_C3IRSfs(const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 8-bit unsigned char channel 8-bit unsigned char in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_8u_C3IRSfs_Ctx(const Npp8u *pConstants, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel 8-bit unsigned char in place image add constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_8u_AC4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_8u_AC4RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel with unmodified alpha image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_8u_AC4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pConstants, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_8u_AC4IRSfs_Ctx(const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_8u_AC4IRSfs(const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel with unmodified alpha in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_8u_AC4IRSfs_Ctx(const Npp8u *pConstants, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha in place image add constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_8u_C4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[4], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_8u_C4RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[4], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_8u_C4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pConstants, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_8u_C4IRSfs_Ctx(const Npp8u aConstants[4], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_8u_C4IRSfs(const Npp8u aConstants[4], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_8u_C4IRSfs_Ctx(const Npp8u *pConstants, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel in place image add constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16u_C1RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u nConstant, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16u_C1RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u nConstant, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit unsigned short channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_16u_C1RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pConstant, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16u_C1IRSfs_Ctx(const Npp16u nConstant, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel in place image add constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16u_C1IRSfs(const Npp16u nConstant, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit unsigned short channel in place image add constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_16u_C1IRSfs_Ctx(const Npp16u *pConstant, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel in place image add constant, scale, then clamp to saturated value.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16u_C3RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16u_C3RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit unsigned short channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_16u_C3RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pConstants, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16u_C3IRSfs_Ctx(const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16u_C3IRSfs(const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit unsigned short channel in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_16u_C3IRSfs_Ctx(const Npp16u *pConstants, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel in place image add constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16u_AC4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16u_AC4RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel with unmodified alpha image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_16u_AC4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pConstants, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16u_AC4IRSfs_Ctx(const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16u_AC4IRSfs(const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel with unmodified alpha in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_16u_AC4IRSfs_Ctx(const Npp16u *pConstants, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha in place image add constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16u_C4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[4], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16u_C4RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[4], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_16u_C4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pConstants, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16u_C4IRSfs_Ctx(const Npp16u aConstants[4], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16u_C4IRSfs(const Npp16u aConstants[4], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_16u_C4IRSfs_Ctx(const Npp16u *pConstants, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel in place image add constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16s_C1RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s nConstant, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16s_C1RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s nConstant, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_16s_C1RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pConstant, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16s_C1IRSfs_Ctx(const Npp16s nConstant, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel in place image add constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16s_C1IRSfs(const Npp16s nConstant, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short channel in place image add constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_16s_C1IRSfs_Ctx(const Npp16s *pConstant, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel in place image add constant, scale, then clamp to saturated value.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16s_C3RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16s_C3RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_16s_C3RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pConstants, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16s_C3IRSfs_Ctx(const Npp16s aConstants[3], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16s_C3IRSfs(const Npp16s aConstants[3], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short channel in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_16s_C3IRSfs_Ctx(const Npp16s *pConstants, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel in place image add constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16s_AC4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16s_AC4RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel with unmodified alpha image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_16s_AC4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pConstants, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16s_AC4IRSfs_Ctx(const Npp16s aConstants[3], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16s_AC4IRSfs(const Npp16s aConstants[3], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel with unmodified alpha in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_16s_AC4IRSfs_Ctx(const Npp16s *pConstants, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha in place image add constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16s_C4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[4], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16s_C4RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[4], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_16s_C4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pConstants, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16s_C4IRSfs_Ctx(const Npp16s aConstants[4], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16s_C4IRSfs(const Npp16s aConstants[4], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_16s_C4IRSfs_Ctx(const Npp16s *pConstants, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel in place image add constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16sc_C1RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc nConstant, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16sc_C1RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc nConstant, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddC_16sc_C1IRSfs_Ctx(const Npp16sc nConstant, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image add constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16sc_C1IRSfs(const Npp16sc nConstant, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image add constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddC_16sc_C3RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc aConstants[3], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16sc_C3RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc aConstants[3], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddC_16sc_C3IRSfs_Ctx(const Npp16sc aConstants[3], Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16sc_C3IRSfs(const Npp16sc aConstants[3], Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddC_16sc_AC4RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc aConstants[3], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16sc_AC4RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc aConstants[3], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddC_16sc_AC4IRSfs_Ctx(const Npp16sc aConstants[3], Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16sc_AC4IRSfs(const Npp16sc aConstants[3], Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddC_32s_C1RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s nConstant, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32s_C1RSfs(const Npp32s *pSrc1, int nSrc1Step, const Npp32s nConstant, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_32s_C1RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pConstant, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32s_C1IRSfs_Ctx(const Npp32s nConstant, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel in place image add constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32s_C1IRSfs(const Npp32s nConstant, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer channel in place image add constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_32s_C1IRSfs_Ctx(const Npp32s *pConstant, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel in place image add constant, scale, then clamp to saturated value.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32s_C3RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s aConstants[3], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32s_C3RSfs(const Npp32s *pSrc1, int nSrc1Step, const Npp32s aConstants[3], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_32s_C3RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pConstants, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32s_C3IRSfs_Ctx(const Npp32s aConstants[3], Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32s_C3IRSfs(const Npp32s aConstants[3], Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer channel in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddDeviceC_32s_C3IRSfs_Ctx(const Npp32s *pConstants, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel in place image add constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32sc_C1RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc nConstant, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32sc_C1RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc nConstant, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddC_32sc_C1IRSfs_Ctx(const Npp32sc nConstant, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel in place image add constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32sc_C1IRSfs(const Npp32sc nConstant, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel in place image add constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddC_32sc_C3RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc aConstants[3], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32sc_C3RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc aConstants[3], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddC_32sc_C3IRSfs_Ctx(const Npp32sc aConstants[3], Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32sc_C3IRSfs(const Npp32sc aConstants[3], Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddC_32sc_AC4RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc aConstants[3], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel with unmodified alpha image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32sc_AC4RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc aConstants[3], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel with unmodified alpha image add constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddC_32sc_AC4IRSfs_Ctx(const Npp32sc aConstants[3], Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32sc_AC4IRSfs(const Npp32sc aConstants[3], Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image add constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAddC_16f_C1R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f nConstant, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory 32-bit floating point constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16f_C1R(const Npp16f *pSrc1, int nSrc1Step, const Npp32f nConstant, Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
One 16-bit floating point channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory 32-bit floating point constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddDeviceC_16f_C1R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f *pConstant, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory 32-bit floating point constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16f_C1IR_Ctx(const Npp32f nConstant, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel in place image add constant.
- Parameters
nConstant – host memory 32-bit floating point constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16f_C1IR(const Npp32f nConstant, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 16-bit floating point channel in place image add constant.
- Parameters
nConstant – host memory 32-bit floating point constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddDeviceC_16f_C1IR_Ctx(const Npp32f *pConstant, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel in place image add constant.
- Parameters
pConstant – device memory 32-bit floating point constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16f_C3R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16f_C3R(const Npp16f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
Three 16-bit floating point channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddDeviceC_16f_C3R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f *pConstants, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16f_C3IR_Ctx(const Npp32f aConstants[3], Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel in place image add constant.
- Parameters
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16f_C3IR(const Npp32f aConstants[3], Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 16-bit floating point channel in place image add constant.
- Parameters
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddDeviceC_16f_C3IR_Ctx(const Npp32f *pConstants, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel in place image add constant.
- Parameters
pConstants – fixed size device memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16f_C4R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f aConstants[4], Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16f_C4R(const Npp16f *pSrc1, int nSrc1Step, const Npp32f aConstants[4], Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
Four 16-bit floating point channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddDeviceC_16f_C4R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f *pConstants, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16f_C4IR_Ctx(const Npp32f aConstants[4], Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel in place image add constant.
- Parameters
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_16f_C4IR(const Npp32f aConstants[4], Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 16-bit floating point channel in place image add constant.
- Parameters
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddDeviceC_16f_C4IR_Ctx(const Npp32f *pConstants, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel in place image add constant.
- Parameters
pConstants – fixed size device memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32f_C1R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f nConstant, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32f_C1R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f nConstant, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
One 32-bit floating point channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddDeviceC_32f_C1R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pConstant, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32f_C1IR_Ctx(const Npp32f nConstant, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel in place image add constant.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32f_C1IR(const Npp32f nConstant, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 32-bit floating point channel in place image add constant.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddDeviceC_32f_C1IR_Ctx(const Npp32f *pConstant, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel in place image add constant.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32f_C3R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32f_C3R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Three 32-bit floating point channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddDeviceC_32f_C3R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pConstants, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32f_C3IR_Ctx(const Npp32f aConstants[3], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel in place image add constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32f_C3IR(const Npp32f aConstants[3], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 32-bit floating point channel in place image add constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddDeviceC_32f_C3IR_Ctx(const Npp32f *pConstants, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel in place image add constant.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32f_AC4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32f_AC4R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel with unmodified alpha image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddDeviceC_32f_AC4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pConstants, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32f_AC4IR_Ctx(const Npp32f aConstants[3], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha in place image add constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32f_AC4IR(const Npp32f aConstants[3], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel with unmodified alpha in place image add constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddDeviceC_32f_AC4IR_Ctx(const Npp32f *pConstants, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha in place image add constant.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32f_C4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[4], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32f_C4R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[4], Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddDeviceC_32f_C4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pConstants, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32f_C4IR_Ctx(const Npp32f aConstants[4], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel in place image add constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32f_C4IR(const Npp32f aConstants[4], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel in place image add constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddDeviceC_32f_C4IR_Ctx(const Npp32f *pConstants, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel in place image add constant.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32fc_C1R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc nConstant, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32fc_C1R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc nConstant, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
One 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddC_32fc_C1IR_Ctx(const Npp32fc nConstant, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image add constant.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32fc_C1IR(const Npp32fc nConstant, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image add constant.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddC_32fc_C3R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[3], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32fc_C3R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[3], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Three 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddC_32fc_C3IR_Ctx(const Npp32fc aConstants[3], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image add constant.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32fc_C3IR(const Npp32fc aConstants[3], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image add constant.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddC_32fc_AC4R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[3], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel with unmodified alpha image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32fc_AC4R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[3], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel with unmodified alpha image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddC_32fc_AC4IR_Ctx(const Npp32fc aConstants[3], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel with unmodified alpha in place image add constant.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32fc_AC4IR(const Npp32fc aConstants[3], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel with unmodified alpha in place image add constant.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddC_32fc_C4R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[4], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32fc_C4R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[4], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image add constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddC_32fc_C4IR_Ctx(const Npp32fc aConstants[4], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image add constant.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddC_32fc_C4IR(const Npp32fc aConstants[4], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image add constant.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
MulC
Multiplies each pixel of an image by a constant value.
Note: If you use one of the device constant versions of these functions and the function called immediately preceeding that function generates that device constant you MUST either call cudaStreamSynchronize() or cudaDeviceSynchronize() before calling the device constant function.
Functions
-
NppStatus nppiMulC_8u_C1RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u nConstant, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_8u_C1RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u nConstant, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 8-bit unsigned char channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_8u_C1RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pConstant, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_8u_C1IRSfs_Ctx(const Npp8u nConstant, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_8u_C1IRSfs(const Npp8u nConstant, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 8-bit unsigned char channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_8u_C1IRSfs_Ctx(const Npp8u *pConstant, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_8u_C3RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_8u_C3RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 8-bit unsigned char channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_8u_C3RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pConstants, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_8u_C3IRSfs_Ctx(const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel 8-bit unsigned char in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_8u_C3IRSfs(const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 8-bit unsigned char channel 8-bit unsigned char in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_8u_C3IRSfs_Ctx(const Npp8u *pConstants, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel 8-bit unsigned char in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_8u_AC4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_8u_AC4RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel with unmodified alpha image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_8u_AC4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pConstants, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_8u_AC4IRSfs_Ctx(const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_8u_AC4IRSfs(const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel with unmodified alpha in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_8u_AC4IRSfs_Ctx(const Npp8u *pConstants, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_8u_C4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[4], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_8u_C4RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[4], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_8u_C4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pConstants, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_8u_C4IRSfs_Ctx(const Npp8u aConstants[4], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_8u_C4IRSfs(const Npp8u aConstants[4], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_8u_C4IRSfs_Ctx(const Npp8u *pConstants, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16u_C1RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u nConstant, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16u_C1RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u nConstant, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit unsigned short channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_16u_C1RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pConstant, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16u_C1IRSfs_Ctx(const Npp16u nConstant, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16u_C1IRSfs(const Npp16u nConstant, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit unsigned short channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_16u_C1IRSfs_Ctx(const Npp16u *pConstant, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16u_C3RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16u_C3RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit unsigned short channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_16u_C3RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pConstants, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16u_C3IRSfs_Ctx(const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16u_C3IRSfs(const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit unsigned short channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_16u_C3IRSfs_Ctx(const Npp16u *pConstants, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16u_AC4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16u_AC4RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel with unmodified alpha image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_16u_AC4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pConstants, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16u_AC4IRSfs_Ctx(const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16u_AC4IRSfs(const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel with unmodified alpha in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_16u_AC4IRSfs_Ctx(const Npp16u *pConstants, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16u_C4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[4], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16u_C4RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[4], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_16u_C4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pConstants, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16u_C4IRSfs_Ctx(const Npp16u aConstants[4], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16u_C4IRSfs(const Npp16u aConstants[4], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_16u_C4IRSfs_Ctx(const Npp16u *pConstants, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16s_C1RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s nConstant, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16s_C1RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s nConstant, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_16s_C1RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pConstant, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16s_C1IRSfs_Ctx(const Npp16s nConstant, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16s_C1IRSfs(const Npp16s nConstant, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_16s_C1IRSfs_Ctx(const Npp16s *pConstant, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16s_C3RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16s_C3RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_16s_C3RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pConstants, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16s_C3IRSfs_Ctx(const Npp16s aConstants[3], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16s_C3IRSfs(const Npp16s aConstants[3], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_16s_C3IRSfs_Ctx(const Npp16s *pConstants, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16s_AC4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16s_AC4RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel with unmodified alpha image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_16s_AC4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pConstants, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16s_AC4IRSfs_Ctx(const Npp16s aConstants[3], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16s_AC4IRSfs(const Npp16s aConstants[3], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel with unmodified alpha in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_16s_AC4IRSfs_Ctx(const Npp16s *pConstants, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16s_C4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[4], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16s_C4RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[4], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_16s_C4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pConstants, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16s_C4IRSfs_Ctx(const Npp16s aConstants[4], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16s_C4IRSfs(const Npp16s aConstants[4], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_16s_C4IRSfs_Ctx(const Npp16s *pConstants, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16sc_C1RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc nConstant, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16sc_C1RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc nConstant, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulC_16sc_C1IRSfs_Ctx(const Npp16sc nConstant, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16sc_C1IRSfs(const Npp16sc nConstant, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulC_16sc_C3RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc aConstants[3], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16sc_C3RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc aConstants[3], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulC_16sc_C3IRSfs_Ctx(const Npp16sc aConstants[3], Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16sc_C3IRSfs(const Npp16sc aConstants[3], Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulC_16sc_AC4RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc aConstants[3], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16sc_AC4RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc aConstants[3], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulC_16sc_AC4IRSfs_Ctx(const Npp16sc aConstants[3], Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16sc_AC4IRSfs(const Npp16sc aConstants[3], Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulC_32s_C1RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s nConstant, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32s_C1RSfs(const Npp32s *pSrc1, int nSrc1Step, const Npp32s nConstant, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_32s_C1RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pConstant, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32s_C1IRSfs_Ctx(const Npp32s nConstant, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32s_C1IRSfs(const Npp32s nConstant, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_32s_C1IRSfs_Ctx(const Npp32s *pConstant, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32s_C3RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s aConstants[3], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32s_C3RSfs(const Npp32s *pSrc1, int nSrc1Step, const Npp32s aConstants[3], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_32s_C3RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pConstants, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32s_C3IRSfs_Ctx(const Npp32s aConstants[3], Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32s_C3IRSfs(const Npp32s aConstants[3], Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulDeviceC_32s_C3IRSfs_Ctx(const Npp32s *pConstants, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32sc_C1RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc nConstant, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32sc_C1RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc nConstant, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulC_32sc_C1IRSfs_Ctx(const Npp32sc nConstant, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32sc_C1IRSfs(const Npp32sc nConstant, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulC_32sc_C3RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc aConstants[3], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32sc_C3RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc aConstants[3], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulC_32sc_C3IRSfs_Ctx(const Npp32sc aConstants[3], Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32sc_C3IRSfs(const Npp32sc aConstants[3], Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulC_32sc_AC4RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc aConstants[3], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel with unmodified alpha image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32sc_AC4RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc aConstants[3], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel with unmodified alpha image multiply by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulC_32sc_AC4IRSfs_Ctx(const Npp32sc aConstants[3], Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32sc_AC4IRSfs(const Npp32sc aConstants[3], Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image multiply by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMulC_16f_C1R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f nConstant, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – 32-bit floating point host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16f_C1R(const Npp16f *pSrc1, int nSrc1Step, const Npp32f nConstant, Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
One 16-bit floating point channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – 32-bit floating point host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceC_16f_C1R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f *pConstant, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – 32-bit floating point device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16f_C1IR_Ctx(const Npp32f nConstant, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel in place image multiply by constant.
- Parameters
nConstant – 32-bit floating point host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16f_C1IR(const Npp32f nConstant, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 16-bit floating point channel in place image multiply by constant.
- Parameters
nConstant – 32-bit floating point host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceC_16f_C1IR_Ctx(const Npp32f *pConstant, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel in place image multiply by constant.
- Parameters
pConstant – 32-bit floating point device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16f_C3R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16f_C3R(const Npp16f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
Three 16-bit floating point channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceC_16f_C3R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f *pConstants, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16f_C3IR_Ctx(const Npp32f aConstants[3], Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel in place image multiply by constant.
- Parameters
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16f_C3IR(const Npp32f aConstants[3], Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 16-bit floating point channel in place image multiply by constant.
- Parameters
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceC_16f_C3IR_Ctx(const Npp32f *pConstants, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel in place image multiply by constant.
- Parameters
pConstants – fixed size device memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16f_C4R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f aConstants[4], Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16f_C4R(const Npp16f *pSrc1, int nSrc1Step, const Npp32f aConstants[4], Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
Four 16-bit floating point channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceC_16f_C4R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f *pConstants, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16f_C4IR_Ctx(const Npp32f aConstants[4], Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel in place image multiply by constant.
- Parameters
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_16f_C4IR(const Npp32f aConstants[4], Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 16-bit floating point channel in place image multiply by constant.
- Parameters
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceC_16f_C4IR_Ctx(const Npp32f *pConstants, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel in place image multiply by constant.
- Parameters
pConstants – fixed size device memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32f_C1R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f nConstant, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32f_C1R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f nConstant, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
One 32-bit floating point channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceC_32f_C1R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pConstant, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32f_C1IR_Ctx(const Npp32f nConstant, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel in place image multiply by constant.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32f_C1IR(const Npp32f nConstant, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 32-bit floating point channel in place image multiply by constant.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceC_32f_C1IR_Ctx(const Npp32f *pConstant, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel in place image multiply by constant.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32f_C3R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32f_C3R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Three 32-bit floating point channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceC_32f_C3R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pConstants, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32f_C3IR_Ctx(const Npp32f aConstants[3], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel in place image multiply by constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32f_C3IR(const Npp32f aConstants[3], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 32-bit floating point channel in place image multiply by constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceC_32f_C3IR_Ctx(const Npp32f *pConstants, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel in place image multiply by constant.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32f_AC4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32f_AC4R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel with unmodified alpha image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceC_32f_AC4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pConstants, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32f_AC4IR_Ctx(const Npp32f aConstants[3], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha in place image multiply by constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32f_AC4IR(const Npp32f aConstants[3], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel with unmodified alpha in place image multiply by constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceC_32f_AC4IR_Ctx(const Npp32f *pConstants, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha in place image multiply by constant.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32f_C4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[4], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32f_C4R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[4], Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceC_32f_C4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pConstants, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32f_C4IR_Ctx(const Npp32f aConstants[4], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel in place image multiply by constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32f_C4IR(const Npp32f aConstants[4], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel in place image multiply by constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceC_32f_C4IR_Ctx(const Npp32f *pConstants, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel in place image multiply by constant.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32fc_C1R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc nConstant, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32fc_C1R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc nConstant, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
One 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulC_32fc_C1IR_Ctx(const Npp32fc nConstant, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image multiply by constant.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32fc_C1IR(const Npp32fc nConstant, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image multiply by constant.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulC_32fc_C3R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[3], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32fc_C3R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[3], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Three 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulC_32fc_C3IR_Ctx(const Npp32fc aConstants[3], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image multiply by constant.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32fc_C3IR(const Npp32fc aConstants[3], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image multiply by constant.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulC_32fc_AC4R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[3], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel with unmodified alpha image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32fc_AC4R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[3], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel with unmodified alpha image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulC_32fc_AC4IR_Ctx(const Npp32fc aConstants[3], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel with unmodified alpha in place image multiply by constant.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32fc_AC4IR(const Npp32fc aConstants[3], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel with unmodified alpha in place image multiply by constant.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulC_32fc_C4R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[4], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32fc_C4R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[4], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image multiply by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulC_32fc_C4IR_Ctx(const Npp32fc aConstants[4], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image multiply by constant.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulC_32fc_C4IR(const Npp32fc aConstants[4], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image multiply by constant.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
MulCScale
Multiplies each pixel of an image by a constant value then scales the result by the maximum value for the data bit width.
Note: If you use one of the device constant versions of these functions and the function called immediately preceeding that function generates that device constant you MUST either call cudaStreamSynchronize() or cudaDeviceSynchronize() before calling the device constant function.
Functions
-
NppStatus nppiMulCScale_8u_C1R_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u nConstant, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_8u_C1R(const Npp8u *pSrc1, int nSrc1Step, const Npp8u nConstant, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
One 8-bit unsigned char channel image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceCScale_8u_C1R_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pConstant, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_8u_C1IR_Ctx(const Npp8u nConstant, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel in place image multiply by constant and scale by max bit width value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_8u_C1IR(const Npp8u nConstant, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 8-bit unsigned char channel in place image multiply by constant and scale by max bit width value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceCScale_8u_C1IR_Ctx(const Npp8u *pConstant, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel in place image multiply by constant and scale by max bit width value.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_8u_C3R_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_8u_C3R(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
Three 8-bit unsigned char channel image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceCScale_8u_C3R_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pConstants, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_8u_C3IR_Ctx(const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel 8-bit unsigned char in place image multiply by constant and scale by max bit width value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_8u_C3IR(const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 8-bit unsigned char channel 8-bit unsigned char in place image multiply by constant and scale by max bit width value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceCScale_8u_C3IR_Ctx(const Npp8u *pConstants, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel 8-bit unsigned char in place image multiply by constant and scale by max bit width value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_8u_AC4R_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_8u_AC4R(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
Four 8-bit unsigned char channel with unmodified alpha image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceCScale_8u_AC4R_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pConstants, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_8u_AC4IR_Ctx(const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha in place image multiply by constant, scale and scale by max bit width value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_8u_AC4IR(const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 8-bit unsigned char channel with unmodified alpha in place image multiply by constant, scale and scale by max bit width value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceCScale_8u_AC4IR_Ctx(const Npp8u *pConstants, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha in place image multiply by constant, scale and scale by max bit width value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_8u_C4R_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[4], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_8u_C4R(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[4], Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
Four 8-bit unsigned char channel image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceCScale_8u_C4R_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pConstants, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_8u_C4IR_Ctx(const Npp8u aConstants[4], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel in place image multiply by constant and scale by max bit width value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_8u_C4IR(const Npp8u aConstants[4], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 8-bit unsigned char channel in place image multiply by constant and scale by max bit width value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceCScale_8u_C4IR_Ctx(const Npp8u *pConstants, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel in place image multiply by constant and scale by max bit width value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_16u_C1R_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u nConstant, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_16u_C1R(const Npp16u *pSrc1, int nSrc1Step, const Npp16u nConstant, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
One 16-bit unsigned short channel image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceCScale_16u_C1R_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pConstant, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_16u_C1IR_Ctx(const Npp16u nConstant, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel in place image multiply by constant and scale by max bit width value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_16u_C1IR(const Npp16u nConstant, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 16-bit unsigned short channel in place image multiply by constant and scale by max bit width value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceCScale_16u_C1IR_Ctx(const Npp16u *pConstant, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel in place image multiply by constant and scale by max bit width value.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_16u_C3R_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_16u_C3R(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
Three 16-bit unsigned short channel image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceCScale_16u_C3R_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pConstants, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_16u_C3IR_Ctx(const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel in place image multiply by constant and scale by max bit width value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_16u_C3IR(const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 16-bit unsigned short channel in place image multiply by constant and scale by max bit width value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceCScale_16u_C3IR_Ctx(const Npp16u *pConstants, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel in place image multiply by constant and scale by max bit width value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_16u_AC4R_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_16u_AC4R(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
Four 16-bit unsigned short channel with unmodified alpha image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceCScale_16u_AC4R_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pConstants, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_16u_AC4IR_Ctx(const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha in place image multiply by constant and scale by max bit width value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_16u_AC4IR(const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 16-bit unsigned short channel with unmodified alpha in place image multiply by constant and scale by max bit width value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceCScale_16u_AC4IR_Ctx(const Npp16u *pConstants, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha in place image multiply by constant and scale by max bit width value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_16u_C4R_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[4], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_16u_C4R(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[4], Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
Four 16-bit unsigned short channel image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceCScale_16u_C4R_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pConstants, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel image multiply by constant and scale by max bit width value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_16u_C4IR_Ctx(const Npp16u aConstants[4], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel in place image multiply by constant and scale by max bit width value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulCScale_16u_C4IR(const Npp16u aConstants[4], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 16-bit unsigned short channel in place image multiply by constant and scale by max bit width value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulDeviceCScale_16u_C4IR_Ctx(const Npp16u *pConstants, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel in place image multiply by constant and scale by max bit width value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
SubC
Subtracts a constant value from each pixel of an image.
Note: If you use one of the device constant versions of these functions and the function called immediately preceeding that function generates that device constant you MUST either call cudaStreamSynchronize() or cudaDeviceSynchronize() before calling the device constant function.
Functions
-
NppStatus nppiSubC_8u_C1RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u nConstant, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_8u_C1RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u nConstant, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 8-bit unsigned char channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_8u_C1RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pConstant, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_8u_C1IRSfs_Ctx(const Npp8u nConstant, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_8u_C1IRSfs(const Npp8u nConstant, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 8-bit unsigned char channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_8u_C1IRSfs_Ctx(const Npp8u *pConstant, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_8u_C3RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_8u_C3RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 8-bit unsigned char channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_8u_C3RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pConstants, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_8u_C3IRSfs_Ctx(const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel 8-bit unsigned char in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_8u_C3IRSfs(const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 8-bit unsigned char channel 8-bit unsigned char in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_8u_C3IRSfs_Ctx(const Npp8u *pConstants, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel 8-bit unsigned char in place image subtract constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_8u_AC4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_8u_AC4RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel with unmodified alpha image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_8u_AC4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pConstants, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_8u_AC4IRSfs_Ctx(const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_8u_AC4IRSfs(const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel with unmodified alpha in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_8u_AC4IRSfs_Ctx(const Npp8u *pConstants, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha in place image subtract constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_8u_C4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[4], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_8u_C4RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[4], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_8u_C4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pConstants, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_8u_C4IRSfs_Ctx(const Npp8u aConstants[4], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_8u_C4IRSfs(const Npp8u aConstants[4], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_8u_C4IRSfs_Ctx(const Npp8u *pConstants, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16u_C1RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u nConstant, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16u_C1RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u nConstant, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit unsigned short channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_16u_C1RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pConstant, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16u_C1IRSfs_Ctx(const Npp16u nConstant, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16u_C1IRSfs(const Npp16u nConstant, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit unsigned short channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_16u_C1IRSfs_Ctx(const Npp16u *pConstant, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16u_C3RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16u_C3RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit unsigned short channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_16u_C3RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pConstants, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16u_C3IRSfs_Ctx(const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16u_C3IRSfs(const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit unsigned short channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_16u_C3IRSfs_Ctx(const Npp16u *pConstants, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16u_AC4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16u_AC4RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel with unmodified alpha image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_16u_AC4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pConstants, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16u_AC4IRSfs_Ctx(const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16u_AC4IRSfs(const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel with unmodified alpha in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_16u_AC4IRSfs_Ctx(const Npp16u *pConstants, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha in place image subtract constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16u_C4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[4], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16u_C4RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[4], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_16u_C4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pConstants, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16u_C4IRSfs_Ctx(const Npp16u aConstants[4], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16u_C4IRSfs(const Npp16u aConstants[4], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_16u_C4IRSfs_Ctx(const Npp16u *pConstants, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16s_C1RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s nConstant, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16s_C1RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s nConstant, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_16s_C1RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pConstant, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16s_C1IRSfs_Ctx(const Npp16s nConstant, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16s_C1IRSfs(const Npp16s nConstant, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_16s_C1IRSfs_Ctx(const Npp16s *pConstant, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16s_C3RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16s_C3RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_16s_C3RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pConstants, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16s_C3IRSfs_Ctx(const Npp16s aConstants[3], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16s_C3IRSfs(const Npp16s aConstants[3], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_16s_C3IRSfs_Ctx(const Npp16s *pConstants, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16s_AC4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16s_AC4RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel with unmodified alpha image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_16s_AC4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pConstants, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16s_AC4IRSfs_Ctx(const Npp16s aConstants[3], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16s_AC4IRSfs(const Npp16s aConstants[3], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel with unmodified alpha in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_16s_AC4IRSfs_Ctx(const Npp16s *pConstants, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha in place image subtract constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16s_C4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[4], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16s_C4RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[4], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_16s_C4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pConstants, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16s_C4IRSfs_Ctx(const Npp16s aConstants[4], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16s_C4IRSfs(const Npp16s aConstants[4], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_16s_C4IRSfs_Ctx(const Npp16s *pConstants, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16sc_C1RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc nConstant, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16sc_C1RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc nConstant, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubC_16sc_C1IRSfs_Ctx(const Npp16sc nConstant, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16sc_C1IRSfs(const Npp16sc nConstant, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubC_16sc_C3RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc aConstants[3], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16sc_C3RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc aConstants[3], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubC_16sc_C3IRSfs_Ctx(const Npp16sc aConstants[3], Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16sc_C3IRSfs(const Npp16sc aConstants[3], Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubC_16sc_AC4RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc aConstants[3], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16sc_AC4RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc aConstants[3], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubC_16sc_AC4IRSfs_Ctx(const Npp16sc aConstants[3], Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16sc_AC4IRSfs(const Npp16sc aConstants[3], Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubC_32s_C1RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s nConstant, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32s_C1RSfs(const Npp32s *pSrc1, int nSrc1Step, const Npp32s nConstant, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_32s_C1RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pConstant, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32s_C1IRSfs_Ctx(const Npp32s nConstant, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32s_C1IRSfs(const Npp32s nConstant, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_32s_C1IRSfs_Ctx(const Npp32s *pConstant, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32s_C3RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s aConstants[3], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32s_C3RSfs(const Npp32s *pSrc1, int nSrc1Step, const Npp32s aConstants[3], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_32s_C3RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pConstants, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32s_C3IRSfs_Ctx(const Npp32s aConstants[3], Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32s_C3IRSfs(const Npp32s aConstants[3], Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubDeviceC_32s_C3IRSfs_Ctx(const Npp32s *pConstants, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32sc_C1RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc nConstant, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32sc_C1RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc nConstant, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubC_32sc_C1IRSfs_Ctx(const Npp32sc nConstant, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32sc_C1IRSfs(const Npp32sc nConstant, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubC_32sc_C3RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc aConstants[3], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32sc_C3RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc aConstants[3], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubC_32sc_C3IRSfs_Ctx(const Npp32sc aConstants[3], Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32sc_C3IRSfs(const Npp32sc aConstants[3], Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubC_32sc_AC4RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc aConstants[3], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel with unmodified alpha image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32sc_AC4RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc aConstants[3], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel with unmodified alpha image subtract constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubC_32sc_AC4IRSfs_Ctx(const Npp32sc aConstants[3], Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32sc_AC4IRSfs(const Npp32sc aConstants[3], Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image subtract constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSubC_16f_C1R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f nConstant, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory 32-bit floating point constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16f_C1R(const Npp16f *pSrc1, int nSrc1Step, const Npp32f nConstant, Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
One 16-bit floating point channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory 32-bit floating point constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubDeviceC_16f_C1R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f *pConstant, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory 32-bit floating point constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16f_C1IR_Ctx(const Npp32f nConstant, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel in place image subtract constant.
- Parameters
nConstant – host memory 32-bit floating point constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16f_C1IR(const Npp32f nConstant, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 16-bit floating point channel in place image subtract constant.
- Parameters
nConstant – host memory 32-bit floating point constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubDeviceC_16f_C1IR_Ctx(const Npp32f *pConstant, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel in place image subtract constant.
- Parameters
pConstant – device memory 32-bit floating point constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16f_C3R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16f_C3R(const Npp16f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
Three 16-bit floating point channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubDeviceC_16f_C3R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f *pConstants, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16f_C3IR_Ctx(const Npp32f aConstants[3], Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel in place image subtract constant.
- Parameters
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16f_C3IR(const Npp32f aConstants[3], Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 16-bit floating point channel in place image subtract constant.
- Parameters
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubDeviceC_16f_C3IR_Ctx(const Npp32f *pConstants, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel in place image subtract constant.
- Parameters
pConstants – fixed size device memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16f_C4R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f aConstants[4], Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16f_C4R(const Npp16f *pSrc1, int nSrc1Step, const Npp32f aConstants[4], Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
Four 16-bit floating point channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubDeviceC_16f_C4R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f *pConstants, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16f_C4IR_Ctx(const Npp32f aConstants[4], Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel in place image subtract constant.
- Parameters
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_16f_C4IR(const Npp32f aConstants[4], Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 16-bit floating point channel in place image subtract constant.
- Parameters
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubDeviceC_16f_C4IR_Ctx(const Npp32f *pConstants, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel in place image subtract constant.
- Parameters
pConstants – fixed size device memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32f_C1R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f nConstant, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32f_C1R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f nConstant, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
One 32-bit floating point channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubDeviceC_32f_C1R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pConstant, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32f_C1IR_Ctx(const Npp32f nConstant, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel in place image subtract constant.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32f_C1IR(const Npp32f nConstant, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 32-bit floating point channel in place image subtract constant.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubDeviceC_32f_C1IR_Ctx(const Npp32f *pConstant, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel in place image subtract constant.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32f_C3R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32f_C3R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Three 32-bit floating point channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubDeviceC_32f_C3R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pConstants, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32f_C3IR_Ctx(const Npp32f aConstants[3], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel in place image subtract constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32f_C3IR(const Npp32f aConstants[3], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 32-bit floating point channel in place image subtract constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubDeviceC_32f_C3IR_Ctx(const Npp32f *pConstants, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel in place image subtract constant.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32f_AC4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32f_AC4R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel with unmodified alpha image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubDeviceC_32f_AC4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pConstants, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32f_AC4IR_Ctx(const Npp32f aConstants[3], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha in place image subtract constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32f_AC4IR(const Npp32f aConstants[3], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel with unmodified alpha in place image subtract constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubDeviceC_32f_AC4IR_Ctx(const Npp32f *pConstants, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha in place image subtract constant.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32f_C4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[4], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32f_C4R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[4], Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubDeviceC_32f_C4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pConstants, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32f_C4IR_Ctx(const Npp32f aConstants[4], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel in place image subtract constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32f_C4IR(const Npp32f aConstants[4], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel in place image subtract constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubDeviceC_32f_C4IR_Ctx(const Npp32f *pConstants, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel in place image subtract constant.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32fc_C1R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc nConstant, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32fc_C1R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc nConstant, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
One 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubC_32fc_C1IR_Ctx(const Npp32fc nConstant, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image subtract constant.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32fc_C1IR(const Npp32fc nConstant, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image subtract constant.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubC_32fc_C3R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[3], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32fc_C3R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[3], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Three 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubC_32fc_C3IR_Ctx(const Npp32fc aConstants[3], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image subtract constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32fc_C3IR(const Npp32fc aConstants[3], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image subtract constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubC_32fc_AC4R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[3], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel with unmodified alpha image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32fc_AC4R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[3], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel with unmodified alpha image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubC_32fc_AC4IR_Ctx(const Npp32fc aConstants[3], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel with unmodified alpha in place image subtract constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32fc_AC4IR(const Npp32fc aConstants[3], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel with unmodified alpha in place image subtract constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubC_32fc_C4R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[4], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32fc_C4R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[4], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image subtract constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSubC_32fc_C4IR_Ctx(const Npp32fc aConstants[4], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image subtract constant.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSubC_32fc_C4IR(const Npp32fc aConstants[4], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image subtract constant.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
DivC
Divides each pixel of an image by a constant value.
Note: If you use one of the device constant versions of these functions and the function called immediately preceeding that function generates that device constant you MUST either call cudaStreamSynchronize() or cudaDeviceSynchronize() before calling the device constant function.
Functions
-
NppStatus nppiDivC_8u_C1RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u nConstant, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_8u_C1RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u nConstant, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 8-bit unsigned char channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_8u_C1RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pConstant, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_8u_C1IRSfs_Ctx(const Npp8u nConstant, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_8u_C1IRSfs(const Npp8u nConstant, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 8-bit unsigned char channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_8u_C1IRSfs_Ctx(const Npp8u *pConstant, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_8u_C3RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_8u_C3RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 8-bit unsigned char channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_8u_C3RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pConstants, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_8u_C3IRSfs_Ctx(const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel 8-bit unsigned char in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_8u_C3IRSfs(const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 8-bit unsigned char channel 8-bit unsigned char in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_8u_C3IRSfs_Ctx(const Npp8u *pConstants, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel 8-bit unsigned char in place image divided by constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_8u_AC4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_8u_AC4RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel with unmodified alpha image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_8u_AC4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pConstants, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_8u_AC4IRSfs_Ctx(const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_8u_AC4IRSfs(const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel with unmodified alpha in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_8u_AC4IRSfs_Ctx(const Npp8u *pConstants, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha in place image divided by constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_8u_C4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[4], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_8u_C4RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[4], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_8u_C4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pConstants, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_8u_C4IRSfs_Ctx(const Npp8u aConstants[4], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_8u_C4IRSfs(const Npp8u aConstants[4], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_8u_C4IRSfs_Ctx(const Npp8u *pConstants, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16u_C1RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u nConstant, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16u_C1RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u nConstant, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit unsigned short channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_16u_C1RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pConstant, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16u_C1IRSfs_Ctx(const Npp16u nConstant, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16u_C1IRSfs(const Npp16u nConstant, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit unsigned short channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_16u_C1IRSfs_Ctx(const Npp16u *pConstant, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16u_C3RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16u_C3RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit unsigned short channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_16u_C3RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pConstants, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16u_C3IRSfs_Ctx(const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16u_C3IRSfs(const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit unsigned short channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_16u_C3IRSfs_Ctx(const Npp16u *pConstants, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16u_AC4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16u_AC4RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel with unmodified alpha image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_16u_AC4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pConstants, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16u_AC4IRSfs_Ctx(const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16u_AC4IRSfs(const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel with unmodified alpha in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_16u_AC4IRSfs_Ctx(const Npp16u *pConstants, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha in place image divided by constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16u_C4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[4], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16u_C4RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[4], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_16u_C4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pConstants, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16u_C4IRSfs_Ctx(const Npp16u aConstants[4], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16u_C4IRSfs(const Npp16u aConstants[4], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_16u_C4IRSfs_Ctx(const Npp16u *pConstants, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16s_C1RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s nConstant, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16s_C1RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s nConstant, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_16s_C1RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pConstant, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16s_C1IRSfs_Ctx(const Npp16s nConstant, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16s_C1IRSfs(const Npp16s nConstant, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_16s_C1IRSfs_Ctx(const Npp16s *pConstant, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16s_C3RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16s_C3RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_16s_C3RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pConstants, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16s_C3IRSfs_Ctx(const Npp16s aConstants[3], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16s_C3IRSfs(const Npp16s aConstants[3], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_16s_C3IRSfs_Ctx(const Npp16s *pConstants, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16s_AC4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16s_AC4RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel with unmodified alpha image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_16s_AC4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pConstants, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16s_AC4IRSfs_Ctx(const Npp16s aConstants[3], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16s_AC4IRSfs(const Npp16s aConstants[3], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel with unmodified alpha in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_16s_AC4IRSfs_Ctx(const Npp16s *pConstants, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha in place image divided by constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16s_C4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[4], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16s_C4RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s aConstants[4], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_16s_C4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pConstants, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16s_C4IRSfs_Ctx(const Npp16s aConstants[4], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16s_C4IRSfs(const Npp16s aConstants[4], Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_16s_C4IRSfs_Ctx(const Npp16s *pConstants, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16sc_C1RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc nConstant, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16sc_C1RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc nConstant, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivC_16sc_C1IRSfs_Ctx(const Npp16sc nConstant, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16sc_C1IRSfs(const Npp16sc nConstant, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivC_16sc_C3RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc aConstants[3], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16sc_C3RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc aConstants[3], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivC_16sc_C3IRSfs_Ctx(const Npp16sc aConstants[3], Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16sc_C3IRSfs(const Npp16sc aConstants[3], Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivC_16sc_AC4RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc aConstants[3], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16sc_AC4RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc aConstants[3], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivC_16sc_AC4IRSfs_Ctx(const Npp16sc aConstants[3], Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16sc_AC4IRSfs(const Npp16sc aConstants[3], Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivC_32s_C1RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s nConstant, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32s_C1RSfs(const Npp32s *pSrc1, int nSrc1Step, const Npp32s nConstant, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_32s_C1RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pConstant, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32s_C1IRSfs_Ctx(const Npp32s nConstant, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32s_C1IRSfs(const Npp32s nConstant, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_32s_C1IRSfs_Ctx(const Npp32s *pConstant, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32s_C3RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s aConstants[3], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32s_C3RSfs(const Npp32s *pSrc1, int nSrc1Step, const Npp32s aConstants[3], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_32s_C3RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pConstants, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32s_C3IRSfs_Ctx(const Npp32s aConstants[3], Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32s_C3IRSfs(const Npp32s aConstants[3], Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivDeviceC_32s_C3IRSfs_Ctx(const Npp32s *pConstants, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32sc_C1RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc nConstant, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32sc_C1RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc nConstant, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivC_32sc_C1IRSfs_Ctx(const Npp32sc nConstant, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32sc_C1IRSfs(const Npp32sc nConstant, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivC_32sc_C3RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc aConstants[3], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32sc_C3RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc aConstants[3], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivC_32sc_C3IRSfs_Ctx(const Npp32sc aConstants[3], Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32sc_C3IRSfs(const Npp32sc aConstants[3], Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivC_32sc_AC4RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc aConstants[3], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel with unmodified alpha image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32sc_AC4RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc aConstants[3], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel with unmodified alpha image divided by constant, scale, then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivC_32sc_AC4IRSfs_Ctx(const Npp32sc aConstants[3], Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32sc_AC4IRSfs(const Npp32sc aConstants[3], Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 32-bit signed complex integer (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image divided by constant, scale, then clamp to saturated value.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDivC_16f_C1R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f nConstant, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory 32-bit floating point constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16f_C1R(const Npp16f *pSrc1, int nSrc1Step, const Npp32f nConstant, Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
One 16-bit floating point channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory 32-bit floating point constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivDeviceC_16f_C1R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f *pConstant, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory 32-bit floating point constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16f_C1IR_Ctx(const Npp32f nConstant, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel in place image divided by constant.
- Parameters
nConstant – host memory 32-bit floating point constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16f_C1IR(const Npp32f nConstant, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 16-bit floating point channel in place image divided by constant.
- Parameters
nConstant – host memory 32-bit floating point constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivDeviceC_16f_C1IR_Ctx(const Npp32f *pConstant, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel in place image divided by constant.
- Parameters
pConstant – device memory 32-bit floating point constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16f_C3R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16f_C3R(const Npp16f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
Three 16-bit floating point channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivDeviceC_16f_C3R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f *pConstants, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16f_C3IR_Ctx(const Npp32f aConstants[3], Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel in place image divided by constant.
- Parameters
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16f_C3IR(const Npp32f aConstants[3], Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 16-bit floating point channel in place image divided by constant.
- Parameters
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivDeviceC_16f_C3IR_Ctx(const Npp32f *pConstants, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel in place image divided by constant.
- Parameters
pConstants – fixed size device memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16f_C4R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f aConstants[4], Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16f_C4R(const Npp16f *pSrc1, int nSrc1Step, const Npp32f aConstants[4], Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
Four 16-bit floating point channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivDeviceC_16f_C4R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp32f *pConstants, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of 32-bit floating point constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16f_C4IR_Ctx(const Npp32f aConstants[4], Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel in place image divided by constant.
- Parameters
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_16f_C4IR(const Npp32f aConstants[4], Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 16-bit floating point channel in place image divided by constant.
- Parameters
aConstants – fixed size host memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivDeviceC_16f_C4IR_Ctx(const Npp32f *pConstants, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel in place image divided by constant.
- Parameters
pConstants – fixed size device memory array of 32-bit floating point constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32f_C1R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f nConstant, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32f_C1R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f nConstant, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
One 32-bit floating point channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivDeviceC_32f_C1R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pConstant, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32f_C1IR_Ctx(const Npp32f nConstant, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel in place image divided by constant.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32f_C1IR(const Npp32f nConstant, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 32-bit floating point channel in place image divided by constant.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivDeviceC_32f_C1IR_Ctx(const Npp32f *pConstant, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel in place image divided by constant.
- Parameters
pConstant – device memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32f_C3R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32f_C3R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Three 32-bit floating point channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivDeviceC_32f_C3R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pConstants, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32f_C3IR_Ctx(const Npp32f aConstants[3], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel in place image divided by constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32f_C3IR(const Npp32f aConstants[3], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 32-bit floating point channel in place image divided by constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivDeviceC_32f_C3IR_Ctx(const Npp32f *pConstants, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel in place image divided by constant.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32f_AC4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32f_AC4R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel with unmodified alpha image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivDeviceC_32f_AC4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pConstants, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32f_AC4IR_Ctx(const Npp32f aConstants[3], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha in place image divided by constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32f_AC4IR(const Npp32f aConstants[3], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel with unmodified alpha in place image divided by constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivDeviceC_32f_AC4IR_Ctx(const Npp32f *pConstants, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha in place image divided by constant.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32f_C4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[4], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32f_C4R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f aConstants[4], Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size host memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivDeviceC_32f_C4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pConstants, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstants – fixed size device memory array of constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32f_C4IR_Ctx(const Npp32f aConstants[4], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel in place image divided by constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32f_C4IR(const Npp32f aConstants[4], Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel in place image divided by constant.
- Parameters
aConstants – fixed size host memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivDeviceC_32f_C4IR_Ctx(const Npp32f *pConstants, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel in place image divided by constant.
- Parameters
pConstants – fixed size device memory array of constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32fc_C1R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc nConstant, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32fc_C1R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc nConstant, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
One 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivC_32fc_C1IR_Ctx(const Npp32fc nConstant, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image divided by constant.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32fc_C1IR(const Npp32fc nConstant, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image divided by constant.
- Parameters
nConstant – host memory constant.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivC_32fc_C3R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[3], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32fc_C3R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[3], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Three 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivC_32fc_C3IR_Ctx(const Npp32fc aConstants[3], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image divided by constant.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32fc_C3IR(const Npp32fc aConstants[3], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image divided by constant.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivC_32fc_AC4R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[3], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel with unmodified alpha image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32fc_AC4R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[3], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel with unmodified alpha image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivC_32fc_AC4IR_Ctx(const Npp32fc aConstants[3], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel with unmodified alpha in place image divided by constant.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32fc_AC4IR(const Npp32fc aConstants[3], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel with unmodified alpha in place image divided by constant.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivC_32fc_C4R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[4], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32fc_C4R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc aConstants[4], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel image divided by constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
aConstants – fixed size array of host memory constant values, one per channel.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDivC_32fc_C4IR_Ctx(const Npp32fc aConstants[4], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image divided by constant.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDivC_32fc_C4IR(const Npp32fc aConstants[4], Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit complex floating point (32-bit floating point real, 32-bit floating point imaginary) channel in place image divided by constant.
- Parameters
aConstants – fixed size array of host memory constant values, one per channel.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
AbsDiffC
Determines absolute difference between each pixel of an image and a constant value.
Note: If you use one of the device constant versions of these functions and the function called immediately preceeding that function generates that device constant you MUST either call cudaStreamSynchronize() or cudaDeviceSynchronize() before calling the device constant function.
Functions
-
NppStatus nppiAbsDiffC_8u_C1R_Ctx(const Npp8u *pSrc1, int nSrc1Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, Npp8u nConstant, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image absolute difference with constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAbsDiffC_8u_C1R(const Npp8u *pSrc1, int nSrc1Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, Npp8u nConstant)
One 8-bit unsigned char channel image absolute difference with constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAbsDiffDeviceC_8u_C1R_Ctx(const Npp8u *pSrc1, int nSrc1Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, Npp8u *pConstant, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image absolute difference with constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAbsDiffC_16u_C1R_Ctx(const Npp16u *pSrc1, int nSrc1Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, Npp16u nConstant, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image absolute difference with constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAbsDiffC_16u_C1R(const Npp16u *pSrc1, int nSrc1Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, Npp16u nConstant)
One 16-bit unsigned short channel image absolute difference with constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAbsDiffDeviceC_16u_C1R_Ctx(const Npp16u *pSrc1, int nSrc1Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, Npp16u *pConstant, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image absolute difference with constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAbsDiffC_32f_C1R_Ctx(const Npp32f *pSrc1, int nSrc1Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, Npp32f nConstant, NppStreamContext nppStreamCtx)
One 32-bit floating point channel image absolute difference with constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAbsDiffC_32f_C1R(const Npp32f *pSrc1, int nSrc1Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, Npp32f nConstant)
One 32-bit floating point channel image absolute difference with constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
nConstant – host memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAbsDiffDeviceC_32f_C1R_Ctx(const Npp32f *pSrc1, int nSrc1Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, Npp32f *pConstant, NppStreamContext nppStreamCtx)
One 32-bit floating point channel image absolute difference with constant.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pConstant – device memory constant.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
Add
Pixel by pixel addition of two images.
Functions
-
NppStatus nppiAdd_8u_C1RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_8u_C1RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 8-bit unsigned char channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_8u_C1IRSfs_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_8u_C1IRSfs(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 8-bit unsigned char channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_8u_C3RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_8u_C3RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 8-bit unsigned char channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_8u_C3IRSfs_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_8u_C3IRSfs(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 8-bit unsigned char channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_8u_AC4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_8u_AC4RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel with unmodified alpha image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_8u_AC4IRSfs_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_8u_AC4IRSfs(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel with unmodified alpha in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_8u_C4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_8u_C4RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_8u_C4IRSfs_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_8u_C4IRSfs(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16u_C1RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16u_C1RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit unsigned short channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16u_C1IRSfs_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16u_C1IRSfs(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit unsigned short channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16u_C3RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16u_C3RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit unsigned short channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16u_C3IRSfs_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16u_C3IRSfs(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit unsigned short channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16u_AC4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16u_AC4RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel with unmodified alpha image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16u_AC4IRSfs_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16u_AC4IRSfs(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel with unmodified alpha in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16u_C4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16u_C4RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16u_C4IRSfs_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16u_C4IRSfs(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16s_C1RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16s_C1RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16s_C1IRSfs_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16s_C1IRSfs(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16s_C3RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16s_C3RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16s_C3IRSfs_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16s_C3IRSfs(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16s_AC4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16s_AC4RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel with unmodified alpha image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16s_AC4IRSfs_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16s_AC4IRSfs(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel with unmodified alpha in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16s_C4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16s_C4RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16s_C4IRSfs_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16s_C4IRSfs(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16sc_C1RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16sc_C1RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16sc_C1IRSfs_Ctx(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16sc_C1IRSfs(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16sc_C3RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16sc_C3RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16sc_C3IRSfs_Ctx(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16sc_C3IRSfs(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16sc_AC4RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16sc_AC4RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16sc_AC4IRSfs_Ctx(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16sc_AC4IRSfs(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_32s_C1RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32s_C1RSfs(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_32s_C1R_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Note: This function is to be deprecated in future NPP releases, use the function above with a scale factor of 0 instead.
32-bit image add. Add the pixel values of corresponding pixels in the ROI and write them to the output image.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32s_C1R(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)
Note: This function is to be deprecated in future NPP releases, use the function above with a scale factor of 0 instead.
32-bit image add. Add the pixel values of corresponding pixels in the ROI and write them to the output image.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_32s_C1IRSfs_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32s_C1IRSfs(const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_32s_C3RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32s_C3RSfs(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_32s_C3IRSfs_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32s_C3IRSfs(const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_32sc_C1RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32sc_C1RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_32sc_C1IRSfs_Ctx(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32sc_C1IRSfs(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_32sc_C3RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32sc_C3RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_32sc_C3IRSfs_Ctx(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32sc_C3IRSfs(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_32sc_AC4RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32sc_AC4RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_32sc_AC4IRSfs_Ctx(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32sc_AC4IRSfs(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image addition, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiAdd_16f_C1R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16f_C1R(const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
One 16-bit floating point channel image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_16f_C1IR_Ctx(const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16f_C1IR(const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 16-bit floating point channel in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_16f_C3R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16f_C3R(const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
Three 16-bit floating point channel image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_16f_C3IR_Ctx(const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16f_C3IR(const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 16-bit floating point channel in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_16f_C4R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16f_C4R(const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
Four 16-bit floating point channel image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_16f_C4IR_Ctx(const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_16f_C4IR(const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 16-bit floating point channel in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_32f_C1R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32f_C1R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
One 32-bit floating point channel image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_32f_C1IR_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32f_C1IR(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 32-bit floating point channel in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_32f_C3R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32f_C3R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Three 32-bit floating point channel image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_32f_C3IR_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32f_C3IR(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 32-bit floating point channel in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_32f_AC4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32f_AC4R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel with unmodified alpha image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_32f_AC4IR_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32f_AC4IR(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel with unmodified alpha in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_32f_C4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32f_C4R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_32f_C4IR_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32f_C4IR(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_32fc_C1R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32fc_C1R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
One 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_32fc_C1IR_Ctx(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32fc_C1IR(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_32fc_C3R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32fc_C3R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Three 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_32fc_C3IR_Ctx(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32fc_C3IR(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_32fc_AC4R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32fc_AC4R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_32fc_AC4IR_Ctx(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32fc_AC4IR(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_32fc_C4R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32fc_C4R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image addition.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAdd_32fc_C4IR_Ctx(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAdd_32fc_C4IR(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image addition.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
AddSquare
Pixel by pixel addition of squared pixels from source image to floating point pixel values of destination image.
Functions
-
NppStatus nppiAddSquare_8u32f_C1IMR_Ctx(const Npp8u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pMask – Mask-Image Pointer.
nMaskStep – Mask-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddSquare_8u32f_C1IMR(const Npp8u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 8-bit unsigned char channel image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pMask – Mask-Image Pointer.
nMaskStep – Mask-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddSquare_8u32f_C1IR_Ctx(const Npp8u *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image squared then added to in place floating point destination image.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddSquare_8u32f_C1IR(const Npp8u *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 8-bit unsigned char channel image squared then added to in place floating point destination image.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddSquare_16u32f_C1IMR_Ctx(const Npp16u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pMask – Mask-Image Pointer.
nMaskStep – Mask-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddSquare_16u32f_C1IMR(const Npp16u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 16-bit unsigned short channel image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pMask – Mask-Image Pointer.
nMaskStep – Mask-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddSquare_16u32f_C1IR_Ctx(const Npp16u *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image squared then added to in place floating point destination image.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddSquare_16u32f_C1IR(const Npp16u *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 16-bit unsigned short channel image squared then added to in place floating point destination image.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddSquare_32f_C1IMR_Ctx(const Npp32f *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pMask – Mask-Image Pointer.
nMaskStep – Mask-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddSquare_32f_C1IMR(const Npp32f *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 32-bit floating point channel image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pMask – Mask-Image Pointer.
nMaskStep – Mask-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddSquare_32f_C1IR_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel image squared then added to in place floating point destination image.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddSquare_32f_C1IR(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 32-bit floating point channel image squared then added to in place floating point destination image.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
AddProduct
Pixel by pixel addition of product of pixels from two source images to floating point pixel values of destination image.
Functions
-
NppStatus nppiAddProduct_8u32f_C1IMR_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image product added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pMask – Mask-Image Pointer.
nMaskStep – Mask-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddProduct_8u32f_C1IMR(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 8-bit unsigned char channel image product added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pMask – Mask-Image Pointer.
nMaskStep – Mask-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddProduct_8u32f_C1IR_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image product added to in place floating point destination image.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddProduct_8u32f_C1IR(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 8-bit unsigned char channel image product added to in place floating point destination image.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddProduct_16u32f_C1IMR_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image product added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pMask – Mask-Image Pointer.
nMaskStep – Mask-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddProduct_16u32f_C1IMR(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 16-bit unsigned short channel image product added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pMask – Mask-Image Pointer.
nMaskStep – Mask-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddProduct_16u32f_C1IR_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image product added to in place floating point destination image.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddProduct_16u32f_C1IR(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 16-bit unsigned short channel image product added to in place floating point destination image.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddProduct_32f_C1IMR_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel image product added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pMask – Mask-Image Pointer.
nMaskStep – Mask-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddProduct_32f_C1IMR(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 32-bit floating point channel image product added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pMask – Mask-Image Pointer.
nMaskStep – Mask-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddProduct_32f_C1IR_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel image product added to in place floating point destination image.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddProduct_32f_C1IR(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 32-bit floating point channel image product added to in place floating point destination image.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiAddProduct_16f_C1IR_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel image product added to in place floating point destination image.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddProduct_16f_C1IR(const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 16-bit floating point channel image product added to in place floating point destination image.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
AddWeighted
Pixel by pixel addition of alpha weighted pixel values from a source image to floating point pixel values of destination image.
Functions
-
NppStatus nppiAddWeighted_8u32f_C1IMR_Ctx(const Npp8u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel alpha weighted image added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pMask – Mask-Image Pointer.
nMaskStep – Mask-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nAlpha – Alpha weight to be applied to source image pixels (0.0F to 1.0F)
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddWeighted_8u32f_C1IMR(const Npp8u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha)
One 8-bit unsigned char channel alpha weighted image added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pMask – Mask-Image Pointer.
nMaskStep – Mask-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nAlpha – Alpha weight to be applied to source image pixels (0.0F to 1.0F)
- Returns
-
NppStatus nppiAddWeighted_8u32f_C1IR_Ctx(const Npp8u *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel alpha weighted image added to in place floating point destination image.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nAlpha – Alpha weight to be applied to source image pixels (0.0F to 1.0F)
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddWeighted_8u32f_C1IR(const Npp8u *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha)
One 8-bit unsigned char channel alpha weighted image added to in place floating point destination image.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nAlpha – Alpha weight to be applied to source image pixels (0.0F to 1.0F)
- Returns
-
NppStatus nppiAddWeighted_16u32f_C1IMR_Ctx(const Npp16u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel alpha weighted image added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pMask – Mask-Image Pointer.
nMaskStep – Mask-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nAlpha – Alpha weight to be applied to source image pixels (0.0F to 1.0F)
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddWeighted_16u32f_C1IMR(const Npp16u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha)
One 16-bit unsigned short channel alpha weighted image added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pMask – Mask-Image Pointer.
nMaskStep – Mask-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nAlpha – Alpha weight to be applied to source image pixels (0.0F to 1.0F)
- Returns
-
NppStatus nppiAddWeighted_16u32f_C1IR_Ctx(const Npp16u *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel alpha weighted image added to in place floating point destination image.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nAlpha – Alpha weight to be applied to source image pixels (0.0F to 1.0F)
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddWeighted_16u32f_C1IR(const Npp16u *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha)
One 16-bit unsigned short channel alpha weighted image added to in place floating point destination image.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nAlpha – Alpha weight to be applied to source image pixels (0.0F to 1.0F)
- Returns
-
NppStatus nppiAddWeighted_32f_C1IMR_Ctx(const Npp32f *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha, NppStreamContext nppStreamCtx)
One 32-bit floating point channel alpha weighted image added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pMask – Mask-Image Pointer.
nMaskStep – Mask-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nAlpha – Alpha weight to be applied to source image pixels (0.0F to 1.0F)
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddWeighted_32f_C1IMR(const Npp32f *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha)
One 32-bit floating point channel alpha weighted image added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pMask – Mask-Image Pointer.
nMaskStep – Mask-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nAlpha – Alpha weight to be applied to source image pixels (0.0F to 1.0F)
- Returns
-
NppStatus nppiAddWeighted_32f_C1IR_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha, NppStreamContext nppStreamCtx)
One 32-bit floating point channel alpha weighted image added to in place floating point destination image.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nAlpha – Alpha weight to be applied to source image pixels (0.0F to 1.0F)
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiAddWeighted_32f_C1IR(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha)
One 32-bit floating point channel alpha weighted image added to in place floating point destination image.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nAlpha – Alpha weight to be applied to source image pixels (0.0F to 1.0F)
- Returns
Mul
Pixel by pixel multiply of two images.
Functions
-
NppStatus nppiMul_8u_C1RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_8u_C1RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 8-bit unsigned char channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_8u_C1IRSfs_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_8u_C1IRSfs(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 8-bit unsigned char channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_8u_C3RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_8u_C3RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 8-bit unsigned char channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_8u_C3IRSfs_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_8u_C3IRSfs(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 8-bit unsigned char channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_8u_AC4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_8u_AC4RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel with unmodified alpha image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_8u_AC4IRSfs_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_8u_AC4IRSfs(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel with unmodified alpha in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_8u_C4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_8u_C4RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_8u_C4IRSfs_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_8u_C4IRSfs(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16u_C1RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16u_C1RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit unsigned short channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16u_C1IRSfs_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16u_C1IRSfs(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit unsigned short channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16u_C3RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16u_C3RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit unsigned short channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16u_C3IRSfs_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16u_C3IRSfs(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit unsigned short channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16u_AC4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16u_AC4RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel with unmodified alpha image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16u_AC4IRSfs_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16u_AC4IRSfs(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel with unmodified alpha in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16u_C4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16u_C4RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16u_C4IRSfs_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16u_C4IRSfs(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16s_C1RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16s_C1RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16s_C1IRSfs_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16s_C1IRSfs(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16s_C3RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16s_C3RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16s_C3IRSfs_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16s_C3IRSfs(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16s_AC4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16s_AC4RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel with unmodified alpha image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16s_AC4IRSfs_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16s_AC4IRSfs(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel with unmodified alpha in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16s_C4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16s_C4RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16s_C4IRSfs_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16s_C4IRSfs(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16sc_C1RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16sc_C1RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16sc_C1IRSfs_Ctx(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16sc_C1IRSfs(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16sc_C3RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16sc_C3RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16sc_C3IRSfs_Ctx(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16sc_C3IRSfs(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16sc_AC4RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16sc_AC4RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16sc_AC4IRSfs_Ctx(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16sc_AC4IRSfs(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_32s_C1RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32s_C1RSfs(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_32s_C1R_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Note: This function is to be deprecated in future NPP releases, use the function above with a scale factor of 0 instead.
1 channel 32-bit image multiplication. Multiply corresponding pixels in ROI.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32s_C1R(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)
Note: This function is to be deprecated in future NPP releases, use the function above with a scale factor of 0 instead.
1 channel 32-bit image multiplication. Multiply corresponding pixels in ROI.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_32s_C1IRSfs_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32s_C1IRSfs(const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_32s_C3RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32s_C3RSfs(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_32s_C3IRSfs_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32s_C3IRSfs(const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_32sc_C1RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32sc_C1RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_32sc_C1IRSfs_Ctx(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32sc_C1IRSfs(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_32sc_C3RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32sc_C3RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_32sc_C3IRSfs_Ctx(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32sc_C3IRSfs(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_32sc_AC4RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32sc_AC4RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_32sc_AC4IRSfs_Ctx(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32sc_AC4IRSfs(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image multiplication, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiMul_16f_C1R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16f_C1R(const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
One 16-bit floating point channel image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_16f_C1IR_Ctx(const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16f_C1IR(const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 16-bit floating point channel in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_16f_C3R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16f_C3R(const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
Three 16-bit floating point channel image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_16f_C3IR_Ctx(const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16f_C3IR(const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 16-bit floating point channel in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_16f_C4R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16f_C4R(const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
Four 16-bit floating point channel image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_16f_C4IR_Ctx(const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_16f_C4IR(const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 16-bit floating point channel in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_32f_C1R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32f_C1R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
One 32-bit floating point channel image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_32f_C1IR_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32f_C1IR(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 32-bit floating point channel in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_32f_C3R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32f_C3R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Three 32-bit floating point channel image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_32f_C3IR_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32f_C3IR(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 32-bit floating point channel in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_32f_AC4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32f_AC4R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel with unmodified alpha image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_32f_AC4IR_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32f_AC4IR(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel with unmodified alpha in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_32f_C4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32f_C4R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_32f_C4IR_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32f_C4IR(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_32fc_C1R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32fc_C1R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
One 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_32fc_C1IR_Ctx(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32fc_C1IR(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_32fc_C3R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32fc_C3R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Three 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_32fc_C3IR_Ctx(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32fc_C3IR(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_32fc_AC4R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32fc_AC4R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_32fc_AC4IR_Ctx(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32fc_AC4IR(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_32fc_C4R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32fc_C4R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image multiplication.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMul_32fc_C4IR_Ctx(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMul_32fc_C4IR(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image multiplication.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
MulScale
Pixel by pixel multiplies each pixel of two images then scales the result by the maximum value for the data bit width.
Functions
-
NppStatus nppiMulScale_8u_C1R_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulScale_8u_C1R(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
One 8-bit unsigned char channel image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulScale_8u_C1IR_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel in place image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulScale_8u_C1IR(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 8-bit unsigned char channel in place image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulScale_8u_C3R_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulScale_8u_C3R(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
Three 8-bit unsigned char channel image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulScale_8u_C3IR_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel in place image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulScale_8u_C3IR(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 8-bit unsigned char channel in place image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulScale_8u_AC4R_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulScale_8u_AC4R(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
Four 8-bit unsigned char channel with unmodified alpha image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulScale_8u_AC4IR_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha in place image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulScale_8u_AC4IR(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 8-bit unsigned char channel with unmodified alpha in place image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulScale_8u_C4R_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulScale_8u_C4R(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
Four 8-bit unsigned char channel image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulScale_8u_C4IR_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel in place image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulScale_8u_C4IR(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 8-bit unsigned char channel in place image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulScale_16u_C1R_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulScale_16u_C1R(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
One 16-bit unsigned short channel image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulScale_16u_C1IR_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel in place image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulScale_16u_C1IR(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 16-bit unsigned short channel in place image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulScale_16u_C3R_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulScale_16u_C3R(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
Three 16-bit unsigned short channel image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulScale_16u_C3IR_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel in place image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulScale_16u_C3IR(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 16-bit unsigned short channel in place image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulScale_16u_AC4R_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulScale_16u_AC4R(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
Four 16-bit unsigned short channel with unmodified alpha image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulScale_16u_AC4IR_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha in place image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulScale_16u_AC4IR(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 16-bit unsigned short channel with unmodified alpha in place image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulScale_16u_C4R_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulScale_16u_C4R(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
Four 16-bit unsigned short channel image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiMulScale_16u_C4IR_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel in place image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiMulScale_16u_C4IR(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 16-bit unsigned short channel in place image multiplication then scale by maximum value for pixel bit width.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
Sub
Pixel by pixel subtraction of two images.
Functions
-
NppStatus nppiSub_8u_C1RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_8u_C1RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 8-bit unsigned char channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_8u_C1IRSfs_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_8u_C1IRSfs(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 8-bit unsigned char channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_8u_C3RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_8u_C3RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 8-bit unsigned char channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_8u_C3IRSfs_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_8u_C3IRSfs(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 8-bit unsigned char channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_8u_AC4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_8u_AC4RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel with unmodified alpha image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_8u_AC4IRSfs_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_8u_AC4IRSfs(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel with unmodified alpha in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_8u_C4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_8u_C4RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_8u_C4IRSfs_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_8u_C4IRSfs(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16u_C1RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16u_C1RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit unsigned short channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16u_C1IRSfs_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16u_C1IRSfs(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit unsigned short channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16u_C3RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16u_C3RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit unsigned short channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16u_C3IRSfs_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16u_C3IRSfs(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit unsigned short channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16u_AC4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16u_AC4RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel with unmodified alpha image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16u_AC4IRSfs_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16u_AC4IRSfs(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel with unmodified alpha in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16u_C4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16u_C4RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16u_C4IRSfs_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16u_C4IRSfs(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16s_C1RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16s_C1RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16s_C1IRSfs_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16s_C1IRSfs(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16s_C3RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16s_C3RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16s_C3IRSfs_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16s_C3IRSfs(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16s_AC4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16s_AC4RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel with unmodified alpha image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16s_AC4IRSfs_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16s_AC4IRSfs(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel with unmodified alpha in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16s_C4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16s_C4RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16s_C4IRSfs_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16s_C4IRSfs(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16sc_C1RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16sc_C1RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16sc_C1IRSfs_Ctx(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16sc_C1IRSfs(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16sc_C3RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16sc_C3RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16sc_C3IRSfs_Ctx(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16sc_C3IRSfs(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16sc_AC4RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16sc_AC4RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16sc_AC4IRSfs_Ctx(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16sc_AC4IRSfs(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_32s_C1RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32s_C1RSfs(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_32s_C1R_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Note: This function is to be deprecated in future NPP releases, use the function above with a scale factor of 0 instead.
32-bit image subtraction. Subtract pSrc1’s pixels from corresponding pixels in pSrc2.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32s_C1R(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)
Note: This function is to be deprecated in future NPP releases, use the function above with a scale factor of 0 instead.
32-bit image subtraction. Subtract pSrc1’s pixels from corresponding pixels in pSrc2.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_32s_C1IRSfs_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32s_C1IRSfs(const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_32s_C3RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32s_C3RSfs(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_32s_C3IRSfs_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32s_C3IRSfs(const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_32s_C4RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 32-bit signed integer channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32s_C4RSfs(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 32-bit signed integer channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_32s_C4IRSfs_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 32-bit signed integer channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32s_C4IRSfs(const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 32-bit signed integer channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_32sc_C1RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32sc_C1RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_32sc_C1IRSfs_Ctx(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32sc_C1IRSfs(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_32sc_C3RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32sc_C3RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_32sc_C3IRSfs_Ctx(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32sc_C3IRSfs(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_32sc_AC4RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32sc_AC4RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_32sc_AC4IRSfs_Ctx(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32sc_AC4IRSfs(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image subtraction, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiSub_16f_C1R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16f_C1R(const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
One 16-bit floating point channel image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_16f_C1IR_Ctx(const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 16-bit floating point channel in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16f_C1IR(const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 16-bit floating point channel in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_16f_C3R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16f_C3R(const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
Three 16-bit floating point channel image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_16f_C3IR_Ctx(const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 16-bit floating point channel in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16f_C3IR(const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 16-bit floating point channel in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_16f_C4R_Ctx(const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16f_C4R(const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
Four 16-bit floating point channel image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_16f_C4IR_Ctx(const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 16-bit floating point channel in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_16f_C4IR(const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 16-bit floating point channel in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_32f_C1R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32f_C1R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
One 32-bit floating point channel image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_32f_C1IR_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point channel in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32f_C1IR(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 32-bit floating point channel in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_32f_C3R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32f_C3R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Three 32-bit floating point channel image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_32f_C3IR_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point channel in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32f_C3IR(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 32-bit floating point channel in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_32f_AC4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32f_AC4R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel with unmodified alpha image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_32f_AC4IR_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel with unmodified alpha in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32f_AC4IR(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel with unmodified alpha in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_32f_C4R_Ctx(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32f_C4R(const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_32f_C4IR_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point channel in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32f_C4IR(const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit floating point channel in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_32fc_C1R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32fc_C1R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
One 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_32fc_C1IR_Ctx(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
One 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32fc_C1IR(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
One 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_32fc_C3R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32fc_C3R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Three 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_32fc_C3IR_Ctx(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Three 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32fc_C3IR(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Three 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_32fc_AC4R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32fc_AC4R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_32fc_AC4IR_Ctx(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32fc_AC4IR(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_32fc_C4R_Ctx(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32fc_C4R(const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image subtraction.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiSub_32fc_C4IR_Ctx(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiSub_32fc_C4IR(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image subtraction.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
Div
Pixel by pixel division of two images.
Functions
-
NppStatus nppiDiv_8u_C1RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_8u_C1RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 8-bit unsigned char channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_8u_C1IRSfs_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 8-bit unsigned char channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_8u_C1IRSfs(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 8-bit unsigned char channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_8u_C3RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_8u_C3RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 8-bit unsigned char channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_8u_C3IRSfs_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 8-bit unsigned char channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_8u_C3IRSfs(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 8-bit unsigned char channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_8u_AC4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_8u_AC4RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel with unmodified alpha image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_8u_AC4IRSfs_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel with unmodified alpha in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_8u_AC4IRSfs(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel with unmodified alpha in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_8u_C4RSfs_Ctx(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_8u_C4RSfs(const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_8u_C4IRSfs_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 8-bit unsigned char channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_8u_C4IRSfs(const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 8-bit unsigned char channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16u_C1RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16u_C1RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit unsigned short channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16u_C1IRSfs_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit unsigned short channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16u_C1IRSfs(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit unsigned short channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16u_C3RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16u_C3RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit unsigned short channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16u_C3IRSfs_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit unsigned short channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16u_C3IRSfs(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit unsigned short channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16u_AC4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16u_AC4RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel with unmodified alpha image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16u_AC4IRSfs_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel with unmodified alpha in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16u_AC4IRSfs(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel with unmodified alpha in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16u_C4RSfs_Ctx(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16u_C4RSfs(const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16u_C4IRSfs_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit unsigned short channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16u_C4IRSfs(const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit unsigned short channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16s_C1RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16s_C1RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16s_C1IRSfs_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16s_C1IRSfs(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16s_C3RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16s_C3RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16s_C3IRSfs_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16s_C3IRSfs(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16s_AC4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16s_AC4RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel with unmodified alpha image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16s_AC4IRSfs_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel with unmodified alpha in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16s_AC4IRSfs(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel with unmodified alpha in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16s_C4RSfs_Ctx(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16s_C4RSfs(const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16s_C4IRSfs_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16s_C4IRSfs(const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16sc_C1RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16sc_C1RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16sc_C1IRSfs_Ctx(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16sc_C1IRSfs(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16sc_C3RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16sc_C3RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16sc_C3IRSfs_Ctx(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16sc_C3IRSfs(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16sc_AC4RSfs_Ctx(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16sc_AC4RSfs(const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_16sc_AC4IRSfs_Ctx(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_16sc_AC4IRSfs(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_32s_C1RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_32s_C1RSfs(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_32s_C1R_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
Note: This function is to be deprecated in future NPP releases, use the function above with a scale factor of 0 instead.
32-bit image division. Divide pixels in pSrc2 by pSrc1’s pixels.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_32s_C1R(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)
Note: This function is to be deprecated in future NPP releases, use the function above with a scale factor of 0 instead.
32-bit image division. Divide pixels in pSrc2 by pSrc1’s pixels.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
- Returns
-
NppStatus nppiDiv_32s_C1IRSfs_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_32s_C1IRSfs(const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_32s_C3RSfs_Ctx(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_32s_C3RSfs(const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_32s_C3IRSfs_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_32s_C3IRSfs(const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_32sc_C1RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_32sc_C1RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_32sc_C1IRSfs_Ctx(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
One 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_32sc_C1IRSfs(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
One 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_32sc_C3RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_32sc_C3RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_32sc_C3IRSfs_Ctx(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Three 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_32sc_C3IRSfs(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Three 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_32sc_AC4RSfs_Ctx(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_32sc_AC4RSfs(const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc1 – Source-Image Pointer.
nSrc1Step – Source-Image Line Step.
pSrc2 – Source-Image Pointer.
nSrc2Step – Source-Image Line Step.
pDst – Destination-Image Pointer.
nDstStep – Destination-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns
-
NppStatus nppiDiv_32sc_AC4IRSfs_Ctx(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
Four 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
nppStreamCtx – Application Managed Stream Context.
- Returns
-
NppStatus nppiDiv_32sc_AC4IRSfs(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
Four 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image division, scale by \(2^(-nScaleFactor)\), then clamp to saturated value.
- Parameters
pSrc – Source-Image Pointer.
nSrcStep – Source-Image Line Step.
pSrcDst – In-Place Image Pointer.
nSrcDstStep – In-Place-Image Line Step.
oSizeROI – Region-Of-Interest (ROI).
nScaleFactor – Integer Result Scaling.
- Returns