Skip to main content

muPP API Reference

This reference describes the muPP image-processing APIs available in MUSA SDK 5.2. It explains the shared conventions and type system first, then groups the supported functions by image-processing task so you can find the APIs you need more quickly.

1. Introduction

1.1 What Is muPP

muPP is the MUSA library for GPU-accelerated image-processing and signal-processing primitives. It provides reusable operations for common pixel arithmetic, color conversion, data movement, filtering, geometry transforms, statistics, thresholding, and image memory-management workflows on MUSA devices.

Applications can use muPP as a standalone library from host code or combine muPP primitives with application-managed MUSA kernels in the same workflow. In both cases, the library provides prebuilt processing routines while the application retains control of buffer allocation, ROI selection, and stream usage.

The public interface is divided into image-processing APIs with the muppi* prefix and signal-processing APIs with the mupps* prefix.

1.2 Public Header Organization

The umbrella header mupp.h exposes the overall muPP interface. The image-processing declarations are grouped under muppi.h, the signal-processing declarations are grouped under mupps.h, and shared types, enums, constants, and common declarations are defined in muppdefs.h and muppcore.h.

This layout lets applications include the full umbrella header or work from the image and signal layers separately, depending on integration style and scope.

1.3 API Scope in MUSA SDK 5.2

The public headers contain both image-processing and signal-processing declarations. This reference describes the image-processing APIs in MUSA SDK 5.2. The documented entries use the muppi* prefix and cover arithmetic, color conversion, data exchange, filtering, geometry transforms, linear transforms, morphology, statistics, threshold and comparison operations, and image memory management.

Signal-processing declarations from mupps.h remain part of the public headers, but they are not described in this reference for MUSA SDK 5.2.

Use this reference to find the muPP functions, shared types, structures, enums, constants, parameters, and status values that are supported in MUSA SDK 5.2.

Note: Some muPP declarations may appear in the public headers but are not described in this reference. For MUSA SDK 5.2, rely on the APIs documented here when checking the supported muPP reference scope.

1.4 How to Use This Document

Start with Chapter 2 for naming, memory, scaling, and rounding rules. Use Chapter 3 for ROI, layout, in-place, context, and status conventions. Use Chapter 4 for the shared type layer used across the image APIs. Use Chapter 5 to navigate the exact function entries by image-processing domain.

2. General Conventions

2.1 Memory Management

The muPP image APIs in this reference operate on MUSA device memory. Source, destination, mask, and auxiliary pointers identify device-resident data unless an exact entry states otherwise. Line-step parameters such as nSrcStep, nDstStep, and nMaskStep are byte strides between consecutive image rows, not element counts.

Some families also require temporary device work buffers such as pDeviceBuffer, while companion helper routines with names such as GetBufferSize and GetBufferHostSize report the required workspace size through host output parameters. The image memory-management helpers in Chapter 5.10 allocate image storage and return the computed step size. Other APIs in this reference assume that the caller has already allocated valid device buffers and passes ROI and step values that match the selected image layout.

2.2 Function Naming

Most image APIs in this reference follow a pattern such as muppi<operation>_<data type or conversion>_<layout and access>[_Ctx]. The muppi prefix identifies the image-processing layer. The middle tokens describe the numeric type or conversion path, and the trailing tokens describe the channel layout, destination behavior, and optional execution-context form.

The API names therefore appear as forms such as muppiCopy_8u_C1R, muppiCopy_8u_C1R_Ctx, muppiSwapChannels_32f_C4IR, and muppiColorTwistBatch32f_8u_C3R.

Common suffix elements used throughout this reference include:

  • 8u, 16u, 16s, 32s, 32f, 32fc, and similar numeric tokens for operand or result data types
  • C1, C3, and C4 for packed one-channel, three-channel, and four-channel images
  • AC4 for four-channel layouts in which the alpha channel is preserved but not processed
  • P2, P3, and P4 for planar two-plane, three-plane, and four-plane image layouts
  • R for operations that write a separate destination image
  • IR for in-place operations that overwrite the destination buffer
  • MR for masked variants
  • _Ctx for variants that take an application-managed MUppStreamContext

These suffixes are part of the API names. They are not shorthand in this document and should be read as part of the exact function identity.

2.3 Integer Result Scaling

Some muPP image APIs use scaled fixed-point or integer output conventions. In these routines, a parameter such as nScaleFactor controls how intermediate results are scaled before they are converted back to the destination integer type. This usually appears either as an explicit scale-factor parameter or as an Sfs marker in the function name, as in muppiRectStdDev_32s_C1RSfs.

When a family description or parameter list includes a scale factor, use the scaling rule documented by that exact API entry. Do not assume that floating-point and integer variants in the same family use identical rounding or saturation behavior.

2.4 Rounding Modes

Image APIs that convert or rescale numeric values can depend on the MUppRoundMode enum. The shared rounding modes in Chapter 4 include round-to-nearest-even, round-to-nearest-away-from-zero, and round-toward-zero semantics, together with the short legacy spellings and the longer IEEE-754-style alias names exposed by the public enum.

When an exact API family exposes a rounding-mode parameter, use the enum value defined in Chapter 4 and the specific conversion rule stated by that API entry.

3. Image Processing Conventions

3.1 ROI and Step Conventions

Most muPP image APIs operate on a rectangular region of interest described by MUppiSize, MUppiRect, or both. Common parameter names include oSizeROI for the active width and height, oSrcROI or oRect for a source rectangle, and oSrcSize when the full source image size is needed to interpret a sub-rectangle. The line-step parameters are byte strides, not element counts. They describe the distance from the first byte of one image row to the first byte of the next row.

For packed images, the ROI width and height describe the logical image extent while the step describes the physical storage stride. For planar images, each plane uses its own pointer and step, but the same ROI convention applies unless the exact API states otherwise. Batched geometry families can also carry ROI data through descriptor structures such as MUppiResizeBatchROI_Advanced.

3.2 Channel Layout and Packed or Planar Layout

Packed layouts store channel data interleaved in memory. Planar layouts store each channel in a separate plane. The channel suffixes in the function name identify which layout the API expects.

  • C1, C3, C4, and AC4 indicate packed channel layouts
  • P2, P3, and P4 indicate planar or semi-planar layouts with two, three, or four planes
  • AC4 means the alpha channel is preserved but not processed
  • mixed suffixes such as C3P3R, P3C3R, C1C3R, and P2C3R indicate conversion between different channel organizations

Use the exact name suffix to determine whether an API expects packed, planar, or mixed packed-planar input and output buffers.

3.3 Coefficient Matrix Formats

Some muPP image APIs and batch descriptors take coefficient arrays rather than pixel buffers. These coefficient arrays have fixed public shapes and should be passed in the exact format named by the API or structure field.

Affine transform utilities and batched affine descriptors use (2 \times 3) coefficient arrays such as aCoeffs[2][3], pCoeffs, and aTransformedCoeffs[2][3]:

Aaffine=[a00a01a02a10a11a12]A_{\text{affine}} = \begin{bmatrix} a_{00} & a_{01} & a_{02} \\ a_{10} & a_{11} & a_{12} \end{bmatrix}

Perspective transform utilities, perspective warp routines, and batched perspective descriptors use (3 \times 3) coefficient arrays such as aCoeffs[3][3], pCoeffs, and aTransformedCoeffs[3][3]:

Aperspective=[p00p01p02p10p11p12p20p21p22]A_{\text{perspective}} = \begin{bmatrix} p_{00} & p_{01} & p_{02} \\ p_{10} & p_{11} & p_{12} \\ p_{20} & p_{21} & p_{22} \end{bmatrix}

Color-twist batch descriptors carry per-image twist matrices through MUppiColorTwistBatchCXR::pTwist. The 4-channel constant-vector variants use a (4 \times 5) matrix:

[d0d1d2d3]=[t00t01t02t03t04t10t11t12t13t14t20t21t22t23t24t30t31t32t33t34][s0s1s2s31]\begin{bmatrix} d_0 \\ d_1 \\ d_2 \\ d_3 \end{bmatrix} = \begin{bmatrix} t_{00} & t_{01} & t_{02} & t_{03} & t_{04} \\ t_{10} & t_{11} & t_{12} & t_{13} & t_{14} \\ t_{20} & t_{21} & t_{22} & t_{23} & t_{24} \\ t_{30} & t_{31} & t_{32} & t_{33} & t_{34} \end{bmatrix} \begin{bmatrix} s_0 \\ s_1 \\ s_2 \\ s_3 \\ 1 \end{bmatrix}

where (s_i) are source channels and (d_i) are destination channels. For lower-channel color-twist variants, the public descriptions state that the full twist matrix can still be supplied and the API uses the coefficients that match the corresponding pixel format.

3.4 In-Place and Masked Variants

Functions ending in IR update a destination image in place. Functions ending in MR apply the operation only where the mask condition is satisfied. When both source and destination pointers appear, use separate non-overlapping buffers unless the exact entry is explicitly an in-place variant.

Masked variants typically add a mask pointer and sometimes a mask step. The mask layout and ROI follow the same image and step conventions as the main image operands unless the exact API entry states a narrower rule.

3.5 Context Variants and Execution Context

Many muPP image APIs are available both as a base form and as a _Ctx form. The _Ctx form adds a MUppStreamContext argument so that the application can provide an explicit execution context.

When both variants are present, they describe the same operation. The _Ctx form simply makes the execution context explicit. The MUppStreamContext structure defined in Chapter 4 carries the stream handle, device identity, and device capability fields used to bind the call to the intended execution environment. Use the matching variant consistently within an application so that stream and device attributes remain aligned with the image buffers being processed.

3.6 Error Handling and Return Status

Most muPP image APIs in this reference return MUppStatus. A return value of MUPP_NO_ERROR indicates success. Other return values report invalid pointers, bad ROI or step information, unsupported modes, allocation failures, execution failures, and other image-processing errors defined by the shared MUppStatus enum in Chapter 4.

The image memory-management helpers are an exception because the muppiMalloc_* families return typed image pointers directly and report the computed line step through an output parameter.

This is a documentation category for common MUppStatus values related to image pointers, image storage, line steps, channel layout, data type, alignment, memory allocation, and image-kernel execution. It is not a separate enum. See the MUppStatus enum for the complete status list.

Common statuses in this category include MUPP_INVALID_HOST_POINTER_ERROR, MUPP_INVALID_DEVICE_POINTER_ERROR, MUPP_NULL_POINTER_ERROR, MUPP_STEP_ERROR, MUPP_STRIDE_ERROR, MUPP_ALIGNMENT_ERROR, MUPP_DATA_TYPE_ERROR, MUPP_CHANNEL_ERROR, MUPP_NUMBER_OF_CHANNELS_ERROR, MUPP_CHANNEL_ORDER_ERROR, MUPP_SIZE_ERROR, MUPP_MEMORY_ALLOCATION_ERR, MUPP_NO_MEMORY_ERROR, and MUPP_MUSA_KERNEL_EXECUTION_ERROR.

This is a documentation category for common MUppStatus values related to region-of-interest sizes, rectangles, source/destination intersections, masks, anchors, and geometry extents. It is not a separate enum. See the MUppStatus enum for the complete status list.

Common statuses in this category include MUPP_SIZE_ERROR, MUPP_RECTANGLE_ERROR, MUPP_WRONG_INTERSECTION_ROI_ERROR, MUPP_RESIZE_NO_OPERATION_ERROR, MUPP_RESIZE_FACTOR_ERROR, MUPP_INTERPOLATION_ERROR, MUPP_ANCHOR_ERROR, MUPP_MASK_SIZE_ERROR, MUPP_WRONG_INTERSECTION_ROI_WARNING, and MUPP_MISALIGNED_DST_ROI_WARNING.

4. Data Types, Structs, Enums, and Constants

Use this chapter to decode the shared signature elements before you enter the long API reference. It groups the public muPP type layer into numeric types, ROI geometry, execution and batch descriptors, shared enums, and constants that recur throughout the muPP image APIs described in this reference.

4.1 Scalar and Packed Numeric Types

These scalar, packed, and complex numeric types appear directly in the muPP image API signatures described in this reference.

MUpp8u

  • Kind: typedef
typedef unsigned char MUpp8u

Details

  • 8-bit unsigned chars

MUpp8s

  • Kind: typedef
typedef signed char MUpp8s

Details

  • 8-bit signed chars

MUpp16u

  • Kind: typedef
typedef unsigned short MUpp16u

Details

  • 16-bit unsigned integers

MUpp16s

  • Kind: typedef
typedef short MUpp16s

Details

  • 16-bit signed integers

MUpp32u

  • Kind: typedef
typedef unsigned int MUpp32u

Details

  • 32-bit unsigned integers

MUpp32s

  • Kind: typedef
typedef int MUpp32s

Details

  • 32-bit signed integers

MUpp64u

  • Kind: typedef
typedef unsigned long long MUpp64u

Details

  • 64-bit unsigned integers

MUpp64s

  • Kind: typedef
typedef long long MUpp64s

Details

  • 64-bit signed integers

MUpp32f

  • Kind: typedef
typedef float MUpp32f

Details

  • 32-bit (IEEE) floating-point numbers

MUpp64f

  • Kind: typedef
typedef double MUpp64f

Details

  • 64-bit floating-point numbers

MUpp16f

  • Compound name: MUpp16f
  • Compound kind: struct
Public Attrib
fp16
  • Kind: variable
short MUpp16f::fp16

MUpp16f_2

  • Compound name: MUpp16f_2
  • Compound kind: struct
Public Attrib
fp16_0
  • Kind: variable
short MUpp16f_2::fp16_0
fp16_1
  • Kind: variable
short MUpp16f_2::fp16_1

MUpp32uc

  • Compound name: MUpp32uc
  • Compound kind: struct
Overview
  • Complex Number This struct represents an unsigned int complex number.
Public Attrib
re
  • Kind: variable
MUpp32u MUpp32uc::re

Details

  • Real part
im
  • Kind: variable
MUpp32u MUpp32uc::im

Details

  • Imaginary part

MUpp32sc

  • Compound name: MUpp32sc
  • Compound kind: struct
Overview
  • Complex Number This struct represents a signed int complex number.
Public Attrib
re
  • Kind: variable
MUpp32s MUpp32sc::re

Details

  • Real part
im
  • Kind: variable
MUpp32s MUpp32sc::im

Details

  • Imaginary part

MUpp32fc

  • Compound name: MUpp32fc
  • Compound kind: struct
Overview
  • Complex Number This struct represents a single floating-point complex number.
Public Attrib
re
  • Kind: variable
MUpp32f MUpp32fc::re

Details

  • Real part
im
  • Kind: variable
MUpp32f MUpp32fc::im

Details

  • Imaginary part

MUpp64sc

  • Compound name: MUpp64sc
  • Compound kind: struct
Overview
  • Complex Number This struct represents a long long complex number.
Public Attrib
re
  • Kind: variable
MUpp64s MUpp64sc::re

Details

  • Real part
im
  • Kind: variable
MUpp64s MUpp64sc::im

Details

  • Imaginary part

MUpp64fc

  • Compound name: MUpp64fc
  • Compound kind: struct
Overview
  • Complex Number This struct represents a double floating-point complex number.
Public Attrib
re
  • Kind: variable
MUpp64f MUpp64fc::re

Details

  • Real part
im
  • Kind: variable
MUpp64f MUpp64fc::im

Details

  • Imaginary part

4.2 Geometry and ROI Structures

The following structures define points, sizes, and rectangles used across image ROI, geometry, and neighborhood-based APIs.

MUppiPoint

  • Compound name: MUppiPoint
  • Compound kind: struct
Overview
  • 2D Point
Public Attrib
x
  • Kind: variable
int MUppiPoint::x

Details

  • x-coordinate.
y
  • Kind: variable
int MUppiPoint::y

Details

  • y-coordinate.

MUppiSize

  • Compound name: MUppiSize
  • Compound kind: struct
Overview
  • 2D Size This struct typically represents the size of a a rectangular region in two space.
Public Attrib
width
  • Kind: variable
int MUppiSize::width

Details

  • Rectangle width.
height
  • Kind: variable
int MUppiSize::height

Details

  • Rectangle height.

MUppiRect

  • Compound name: MUppiRect
  • Compound kind: struct
Overview
  • 2D Rectangle This struct contains position and size information of a rectangle in two space. The rectangle's position is usually signified by the coordinate of its upper-left corner.
Public Attrib
x
  • Kind: variable
int MUppiRect::x

Details

  • x-coordinate of upper left corner (lowest memory address).
y
  • Kind: variable
int MUppiRect::y

Details

  • y-coordinate of upper left corner (lowest memory address).
width
  • Kind: variable
int MUppiRect::width

Details

  • Rectangle width.
height
  • Kind: variable
int MUppiRect::height

Details

  • Rectangle height.

4.3 Execution Context and Batch Descriptor Structures

The following structures appear in _Ctx variants, batched transforms, and image- or buffer-descriptor-based helpers.

MUppStreamContext

  • Compound name: MUppStreamContext
  • Compound kind: struct
Overview
  • MUPP stream context structure must be filled in by application. Application should not initialize or alter reserved fields.
Public Attrib
hStream
  • Kind: variable
musaStream_t MUppStreamContext::hStream
nMusaDeviceId
  • Kind: variable
int MUppStreamContext::nMusaDeviceId
nMultiProcessorCount
  • Kind: variable
int MUppStreamContext::nMultiProcessorCount
nMaxThreadsPerMultiProcessor
  • Kind: variable
int MUppStreamContext::nMaxThreadsPerMultiProcessor
nMaxThreadsPerBlock
  • Kind: variable
int MUppStreamContext::nMaxThreadsPerBlock
nSharedMemPerBlock
  • Kind: variable
size_t MUppStreamContext::nSharedMemPerBlock
nMusaDevAttrComputeCapabilityMajor
  • Kind: variable
int MUppStreamContext::nMusaDevAttrComputeCapabilityMajor
nMusaDevAttrComputeCapabilityMinor
  • Kind: variable
int MUppStreamContext::nMusaDevAttrComputeCapabilityMinor
nStreamFlags
  • Kind: variable
unsigned int MUppStreamContext::nStreamFlags
nReserved0
  • Kind: variable
int MUppStreamContext::nReserved0

MUppiImageDescriptor

  • Compound name: MUppiImageDescriptor
  • Compound kind: struct
Overview
  • General image descriptor. Defines the basic parameters of an image, including data pointer, step, and image size. This can be used by both source and destination images.
Public Attrib
pData
  • Kind: variable
void* MUppiImageDescriptor::pData

Details

  • device memory pointer to the image
nStep
  • Kind: variable
int MUppiImageDescriptor::nStep

Details

  • step size
oSize
  • Kind: variable
MUppiSize MUppiImageDescriptor::oSize

Details

  • width and height of the image

MUppiBufferDescriptor

  • Compound name: MUppiBufferDescriptor
  • Compound kind: struct
Public Attrib
pData
  • Kind: variable
void* MUppiBufferDescriptor::pData

Details

  • per image device memory pointer to the corresponding buffer
nBufferSize
  • Kind: variable
int MUppiBufferDescriptor::nBufferSize

Details

  • allocated buffer size

MUppiColorTwistBatchCXR

  • Compound name: MUppiColorTwistBatchCXR
  • Compound kind: struct
Public Attrib
pSrc
  • Kind: variable
const void* MUppiColorTwistBatchCXR::pSrc
nSrcStep
  • Kind: variable
int MUppiColorTwistBatchCXR::nSrcStep
pDst
  • Kind: variable
void* MUppiColorTwistBatchCXR::pDst
nDstStep
  • Kind: variable
int MUppiColorTwistBatchCXR::nDstStep
pTwist
  • Kind: variable
MUpp32f* MUppiColorTwistBatchCXR::pTwist

MUppiResizeBatchCXR

  • Compound name: MUppiResizeBatchCXR
  • Compound kind: struct
Public Attrib
pSrc
  • Kind: variable
const void* MUppiResizeBatchCXR::pSrc
nSrcStep
  • Kind: variable
int MUppiResizeBatchCXR::nSrcStep
pDst
  • Kind: variable
void* MUppiResizeBatchCXR::pDst
nDstStep
  • Kind: variable
int MUppiResizeBatchCXR::nDstStep

MUppiResizeBatchROI_Advanced

  • Compound name: MUppiResizeBatchROI_Advanced
  • Compound kind: struct
Overview
  • Data structure for variable ROI image resizing.
Public Attrib
oSrcRectROI
  • Kind: variable
MUppiRect MUppiResizeBatchROI_Advanced::oSrcRectROI
oDstRectROI
  • Kind: variable
MUppiRect MUppiResizeBatchROI_Advanced::oDstRectROI

MUppiWarpAffineBatchCXR

  • Compound name: MUppiWarpAffineBatchCXR
  • Compound kind: struct
Public Attrib
pSrc
  • Kind: variable
const void* MUppiWarpAffineBatchCXR::pSrc
nSrcStep
  • Kind: variable
int MUppiWarpAffineBatchCXR::nSrcStep
pDst
  • Kind: variable
void* MUppiWarpAffineBatchCXR::pDst
nDstStep
  • Kind: variable
int MUppiWarpAffineBatchCXR::nDstStep
pCoeffs
  • Kind: variable
MUpp64f* MUppiWarpAffineBatchCXR::pCoeffs
aTransformedCoeffs
  • Kind: variable
MUpp64f MUppiWarpAffineBatchCXR::aTransformedCoeffs[2][3][2][3]

MUppiWarpPerspectiveBatchCXR

  • Compound name: MUppiWarpPerspectiveBatchCXR
  • Compound kind: struct
Public Attrib
pSrc
  • Kind: variable
const void* MUppiWarpPerspectiveBatchCXR::pSrc
nSrcStep
  • Kind: variable
int MUppiWarpPerspectiveBatchCXR::nSrcStep
pDst
  • Kind: variable
void* MUppiWarpPerspectiveBatchCXR::pDst
nDstStep
  • Kind: variable
int MUppiWarpPerspectiveBatchCXR::nDstStep
pCoeffs
  • Kind: variable
MUpp64f* MUppiWarpPerspectiveBatchCXR::pCoeffs
aTransformedCoeffs
  • Kind: variable
MUpp64f MUppiWarpPerspectiveBatchCXR::aTransformedCoeffs[3][3][3][3]

4.4 Behavior, Layout, and Status Enums

These enums define the shared option sets used by the image-processing families in this reference, including interpolation, border handling, alpha composition, compare behavior, Bayer layout, padding, mask size, norm selection, kernel selection, and status reporting.

MUppiAxis

  • Kind: enum
MUppiAxis

Enum Values

  • MUPP_HORIZONTAL_AXIS
  • MUPP_VERTICAL_AXIS
  • MUPP_BOTH_AXIS

MUppCmpOp

  • Kind: enum
MUppCmpOp

Enum Values

  • MUPP_CMP_LESS
  • MUPP_CMP_LESS_EQ
  • MUPP_CMP_EQ
  • MUPP_CMP_GREATER_EQ
  • MUPP_CMP_GREATER

MUppRoundMode

  • Kind: enum
MUppRoundMode

Details

  • Rounding Modes
  • The enumerated rounding modes are used by a large number of MUPP primitives to allow the user to specify the method by which fractional values are converted to integer values. Also see rounding_modes.
  • For MUPP release 1.0 new names for the three rounding modes are introduced that are based on the naming conventions for rounding modes set forth in the IEEE-754 floating-point standard. Developers are encouraged to use the new, longer names to be future proof as the legacy names will be deprecated in subsequent MUPP releases.

Enum Values

  • MUPP_RND_NEAR
    • Round to the nearest even integer. All fractional numbers are rounded to their nearest integer. The ambiguous cases (i.e. <integer>.5) are rounded to the closest even integer. E.g. roundNear(0.5) = 0 roundNear(0.6) = 1 roundNear(1.5) = 2 roundNear(-1.5) = -2
    • roundNear(0.5) = 0
    • roundNear(0.6) = 1
    • roundNear(1.5) = 2
    • roundNear(-1.5) = -2
  • MUPP_ROUND_NEAREST_TIES_TO_EVEN
    • Alias name for MUPP_RND_NEAR.
  • MUPP_RND_FINANCIAL
    • Round according to financial rule. All fractional numbers are rounded to their nearest integer. The ambiguous cases (i.e. <integer>.5) are rounded away from zero. E.g. roundFinancial(0.4) = 0 roundFinancial(0.5) = 1 roundFinancial(-1.5) = -2
    • roundFinancial(0.4) = 0
    • roundFinancial(0.5) = 1
    • roundFinancial(-1.5) = -2
  • MUPP_ROUND_NEAREST_TIES_AWAY_FROM_ZERO
    • Alias name for MUPP_RND_FINANCIAL.
  • MUPP_RND_ZERO
    • Round towards zero (truncation). All fractional numbers of the form <integer>.<decimals> are truncated to <integer>. roundZero(1.5) = 1 roundZero(1.9) = 1 roundZero(-2.5) = -2
    • roundZero(1.5) = 1
    • roundZero(1.9) = 1
    • roundZero(-2.5) = -2
  • MUPP_ROUND_TOWARD_ZERO
    • Alias name for MUPP_RND_ZERO.

MUppiBorderType

  • Kind: enum
MUppiBorderType

Enum Values

  • MUPP_BORDER_UNDEFINED
  • MUPP_BORDER_NONE
  • MUPP_BORDER_CONSTANT
  • MUPP_BORDER_REPLICATE
  • MUPP_BORDER_WRAP
  • MUPP_BORDER_MIRROR

MUppHintAlgorithm

  • Kind: enum
MUppHintAlgorithm

Enum Values

  • MUPP_ALG_HINT_NONE
  • MUPP_ALG_HINT_FAST
  • MUPP_ALG_HINT_ACCURATE

MUppiAlphaOp

  • Kind: enum
MUppiAlphaOp

Enum Values

  • MUPPI_OP_ALPHA_OVER
  • MUPPI_OP_ALPHA_IN
  • MUPPI_OP_ALPHA_OUT
  • MUPPI_OP_ALPHA_ATOP
  • MUPPI_OP_ALPHA_XOR
  • MUPPI_OP_ALPHA_PLUS
  • MUPPI_OP_ALPHA_OVER_PREMUL
  • MUPPI_OP_ALPHA_IN_PREMUL
  • MUPPI_OP_ALPHA_OUT_PREMUL
  • MUPPI_OP_ALPHA_ATOP_PREMUL
  • MUPPI_OP_ALPHA_XOR_PREMUL
  • MUPPI_OP_ALPHA_PLUS_PREMUL
  • MUPPI_OP_ALPHA_PREMUL

MUppiNorm

  • Kind: enum
MUppiNorm

Enum Values

  • muppiNormMinMax
    • MinMax
  • muppiNormInf
    • maximum
  • muppiNormL1
    • sum
  • muppiNormL2
    • square root of sum of squares

MUppiWatershedSegmentBoundaryType

  • Kind: enum
MUppiWatershedSegmentBoundaryType

Details

  • Provides control of the type of segment boundaries, if any, added to the image generated by the watershed segmentation function.

Enum Values

  • MUPP_WATERSHED_SEGMENT_BOUNDARIES_NONE
  • MUPP_WATERSHED_SEGMENT_BOUNDARIES_BLACK
  • MUPP_WATERSHED_SEGMENT_BOUNDARIES_WHITE
  • MUPP_WATERSHED_SEGMENT_BOUNDARIES_CONTRAST
  • MUPP_WATERSHED_SEGMENT_BOUNDARIES_ONLY

MUppiInterpolationMode

  • Kind: enum
MUppiInterpolationMode

Details

  • Filtering methods.

Enum Values

  • MUPPI_INTER_UNDEFINED
  • MUPPI_INTER_NN
    • Nearest neighbor filtering.
  • MUPPI_INTER_LINEAR
    • Linear interpolation.
  • MUPPI_INTER_CUBIC
    • Cubic interpolation.
  • MUPPI_INTER_CUBIC2P_BSPLINE
    • Two-parameter cubic filter (B=1, C=0)
  • MUPPI_INTER_CUBIC2P_CATMULLROM
  • MUPPI_INTER_CUBIC2P_B05C03
  • MUPPI_INTER_SUPER
    • Super sampling.
  • MUPPI_INTER_LANCZOS
    • Lanczos filtering.
  • MUPPI_INTER_LANCZOS3_ADVANCED
    • Smooth edge filtering.
  • MUPPI_SMOOTH_EDGE

MUppiCopyPaddingMode

  • Kind: enum
MUppiCopyPaddingMode

Details

  • Padding Mode used for Crop functions.

Enum Values

  • NONE
  • CONSTANT
  • REPLICATE
  • WRAP

MUppiBayerGridPosition

  • Kind: enum
MUppiBayerGridPosition

Details

  • Bayer Grid Position Registration.

Enum Values

  • MUPPI_BAYER_BGGR
    • Default registration position.
  • MUPPI_BAYER_RGGB
  • MUPPI_BAYER_GBRG
  • MUPPI_BAYER_GRBG

MUppiMaskSize

  • Kind: enum
MUppiMaskSize

Details

  • Fixed filter-kernel sizes.

Enum Values

  • MUPP_MASK_SIZE_1_X_3
  • MUPP_MASK_SIZE_1_X_5
  • MUPP_MASK_SIZE_3_X_1
  • MUPP_MASK_SIZE_5_X_1
  • MUPP_MASK_SIZE_3_X_3
  • MUPP_MASK_SIZE_5_X_5
  • MUPP_MASK_SIZE_7_X_7
  • MUPP_MASK_SIZE_9_X_9
  • MUPP_MASK_SIZE_11_X_11
  • MUPP_MASK_SIZE_13_X_13
  • MUPP_MASK_SIZE_15_X_15

MUppiDifferentialKernel

  • Kind: enum
MUppiDifferentialKernel

Details

  • Differential Filter types

Enum Values

  • MUPP_FILTER_SOBEL
  • MUPP_FILTER_SCHARR

MUppStatus

  • Kind: enum
MUppStatus

Details

  • Error Status Codes
  • Almost all MUPP function return error-status information using these return codes. Negative return codes indicate errors, positive return codes indicate warnings, a return code of 0 indicates success.

Enum Values

  • MUPP_NOT_SUPPORTED_MODE_ERROR
  • MUPP_INVALID_HOST_POINTER_ERROR
  • MUPP_INVALID_DEVICE_POINTER_ERROR
  • MUPP_LUT_PALETTE_BITSIZE_ERROR
  • MUPP_ZC_MODE_NOT_SUPPORTED_ERROR
    • ZeroCrossing mode not supported
  • MUPP_NOT_SUFFICIENT_COMPUTE_CAPABILITY
  • MUPP_TEXTURE_BIND_ERROR
  • MUPP_WRONG_INTERSECTION_ROI_ERROR
  • MUPP_HAAR_CLASSIFIER_PIXEL_MATCH_ERROR
  • MUPP_MEMFREE_ERROR
  • MUPP_MEMSET_ERROR
  • MUPP_MEMCPY_ERROR
  • MUPP_ALIGNMENT_ERROR
  • MUPP_MUSA_KERNEL_EXECUTION_ERROR
  • MUPP_ROUND_MODE_NOT_SUPPORTED_ERROR
    • Unsupported round mode
  • MUPP_QUALITY_INDEX_ERROR
    • Image pixels are constant for quality index
  • MUPP_RESIZE_NO_OPERATION_ERROR
    • One of the output image dimensions is less than 1 pixel
  • MUPP_OVERFLOW_ERROR
    • Number overflows the upper or lower limit of the data type
  • MUPP_NOT_EVEN_STEP_ERROR
    • Step value is not pixel multiple
  • MUPP_HISTOGRAM_NUMBER_OF_LEVELS_ERROR
    • Number of levels for histogram is less than 2
  • MUPP_LUT_NUMBER_OF_LEVELS_ERROR
    • Number of levels for LUT is less than 2
  • MUPP_CORRUPTED_DATA_ERROR
    • Processed data is corrupted
  • MUPP_CHANNEL_ORDER_ERROR
    • Wrong order of the destination channels
  • MUPP_ZERO_MASK_VALUE_ERROR
    • All values of the mask are zero The quadrangle is nonconvex or degenerates into triangle, line or point
  • MUPP_QUADRANGLE_ERROR
    • Size of the rectangle region is less than or equal to 1
  • MUPP_RECTANGLE_ERROR
    • Unallowable values of the transformation coefficients
  • MUPP_COEFFICIENT_ERROR
    • Bad or unsupported number of channels
  • MUPP_NUMBER_OF_CHANNELS_ERROR
  • MUPP_COI_ERROR
    • Channel of interest is not 1, 2, or 3
  • MUPP_DIVISOR_ERROR
    • Divisor is equal to zero
  • MUPP_CHANNEL_ERROR
    • Illegal channel index
  • MUPP_STRIDE_ERROR
    • Stride is less than the row length
  • MUPP_ANCHOR_ERROR
    • Anchor point is outside mask
  • MUPP_MASK_SIZE_ERROR
    • Lower bound is larger than upper bound
  • MUPP_RESIZE_FACTOR_ERROR
  • MUPP_INTERPOLATION_ERROR
  • MUPP_MIRROR_FLIP_ERROR
  • MUPP_MOMENT_00_ZERO_ERROR
  • MUPP_THRESHOLD_NEGATIVE_LEVEL_ERROR
  • MUPP_THRESHOLD_ERROR
  • MUPP_CONTEXT_MATCH_ERROR
  • MUPP_FFT_FLAG_ERROR
  • MUPP_FFT_ORDER_ERROR
  • MUPP_STEP_ERROR
    • Step is less or equal zero
  • MUPP_SCALE_RANGE_ERROR
  • MUPP_DATA_TYPE_ERROR
  • MUPP_OUT_OFF_RANGE_ERROR
  • MUPP_DIVIDE_BY_ZERO_ERROR
  • MUPP_MEMORY_ALLOCATION_ERR
  • MUPP_NULL_POINTER_ERROR
  • MUPP_RANGE_ERROR
  • MUPP_SIZE_ERROR
  • MUPP_BAD_ARGUMENT_ERROR
  • MUPP_NO_MEMORY_ERROR
  • MUPP_NOT_IMPLEMENTED_ERROR
  • MUPP_ERROR
  • MUPP_ERROR_RESERVED
  • MUPP_NO_ERROR
    • Error free operation Successful operation (same as MUPP_NO_ERROR)
  • MUPP_SUCCESS
  • MUPP_NO_OPERATION_WARNING
    • Indicates that no operation was performed Divisor is zero however does not terminate the execution
  • MUPP_DIVIDE_BY_ZERO_WARNING
    • Indicates that the quadrangle passed to one of affine warping functions doesn't have necessary properties. First 3 vertices are used, the fourth vertex discarded.
  • MUPP_AFFINE_QUAD_INCORRECT_WARNING
    • The given ROI has no interestion with either the source or destination ROI. Thus no operation was performed.
  • MUPP_WRONG_INTERSECTION_ROI_WARNING
    • The given quadrangle has no intersection with either the source or destination ROI. Thus no operation was performed.
  • MUPP_WRONG_INTERSECTION_QUAD_WARNING
    • Image size isn't multiple of two. Indicates that in case of 422/411/420 sampling the ROI width/height was modified for proper processing.
  • MUPP_DOUBLE_SIZE_WARNING
    • Speed reduction due to uncoalesced memory accesses warning.
  • MUPP_MISALIGNED_DST_ROI_WARNING

4.5 Selected Constants and Limits

These constants define numeric bounds that appear in the public muPP type layer.

MUPP_MIN_8U

  • Kind: define
MUPP_MIN_8U

Details

  • Minimum 8-bit unsigned integer

  • Initializer: (0)

MUPP_MAX_8U

  • Kind: define
MUPP_MAX_8U

Details

  • Maximum 8-bit unsigned integer

  • Initializer: (255)

MUPP_MIN_16U

  • Kind: define
MUPP_MIN_16U

Details

  • Minimum 16-bit unsigned integer

  • Initializer: (0)

MUPP_MAX_16U

  • Kind: define
MUPP_MAX_16U

Details

  • Maximum 16-bit unsigned integer

  • Initializer: (65535)

MUPP_MIN_32U

  • Kind: define
MUPP_MIN_32U

Details

  • Minimum 32-bit unsigned integer

  • Initializer: (0)

MUPP_MAX_32U

  • Kind: define
MUPP_MAX_32U

Details

  • Maximum 32-bit unsigned integer

  • Initializer: (4294967295U)

MUPP_MIN_64U

  • Kind: define
MUPP_MIN_64U

Details

  • Minimum 64-bit unsigned integer

  • Initializer: (0)

MUPP_MAX_64U

  • Kind: define
MUPP_MAX_64U

Details

  • Maximum 64-bit unsigned integer

  • Initializer: (18446744073709551615ULL)

MUPP_MIN_8S

  • Kind: define
MUPP_MIN_8S

Details

  • Minimum 8-bit signed integer

  • Initializer: (-127 - 1)

MUPP_MAX_8S

  • Kind: define
MUPP_MAX_8S

Details

  • Maximum 8-bit signed integer

  • Initializer: (127)

MUPP_MIN_16S

  • Kind: define
MUPP_MIN_16S

Details

  • Minimum 16-bit signed integer

  • Initializer: (-32767 - 1)

MUPP_MAX_16S

  • Kind: define
MUPP_MAX_16S

Details

  • Maximum 16-bit signed integer

  • Initializer: (32767)

MUPP_MIN_32S

  • Kind: define
MUPP_MIN_32S

Details

  • Minimum 32-bit signed integer

  • Initializer: (-2147483647 - 1)

MUPP_MAX_32S

  • Kind: define
MUPP_MAX_32S

Details

  • Maximum 32-bit signed integer

  • Initializer: (2147483647)

MUPP_MAX_64S

  • Kind: define
MUPP_MAX_64S

Details

  • Maximum 64-bit signed integer

  • Initializer: (9223372036854775807LL)

MUPP_MIN_64S

  • Kind: define
MUPP_MIN_64S

Details

  • Minimum 64-bit signed integer Smallest positive 32-bit floating point value

  • Initializer: (-9223372036854775807LL - 1)

MUPP_MINABS_32F

  • Kind: define
MUPP_MINABS_32F

Details

  • Largest positive 32-bit floating point value

  • Initializer: (1.175494351e-38f)

MUPP_MAXABS_32F

  • Kind: define
MUPP_MAXABS_32F

Details

  • Smallest positive 64-bit floating point value

  • Initializer: (3.402823466e+38f)

MUPP_MINABS_64F

  • Kind: define
MUPP_MINABS_64F

Details

  • Largest positive 64-bit floating point value

  • Initializer: (2.2250738585072014e-308)

MUPP_MAXABS_64F

  • Kind: define
MUPP_MAXABS_64F
  • Initializer: (1.7976931348623158e+308)

5. API Reference

This chapter groups the supported muPP image-processing APIs into ten task-oriented sections so you can go directly to the family that matches your workflow.

The sections progress from arithmetic and color conversion to data exchange, filtering, geometry transforms, linear transforms, morphology, statistics, threshold and comparison operations, and image memory management. Each family keeps the exact function entries together with their signatures, parameters, and return-status details.

5.1 Image Arithmetic And Logical Operations

This section covers pointwise image arithmetic, logical operations, and alpha-composition families available in MUSA SDK 5.2.

AddC

muppiAddC_32f_C1R

MUppStatus muppiAddC_32f_C1R(const MUpp32f *pSrc1, int nSrc1Step, const MUpp32f nConstant, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32f *)
  • nSrc1Step (int)
  • nConstant (const MUpp32f)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAddC_32f_C1IR

MUppStatus muppiAddC_32f_C1IR(const MUpp32f nConstant, MUpp32f *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • nConstant (const MUpp32f)
  • pSrcDst (MUpp32f *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAddC_32f_C3R

MUppStatus muppiAddC_32f_C3R(const MUpp32f *pSrc1, int nSrc1Step, const MUpp32f aConstants[3], MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32f *)
  • nSrc1Step (int)
  • aConstants (const MUpp32f)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAddC_32f_C3IR

MUppStatus muppiAddC_32f_C3IR(const MUpp32f aConstants[3], MUpp32f *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp32f)
  • pSrcDst (MUpp32f *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

SubC

muppiSubC_32f_C1R

MUppStatus muppiSubC_32f_C1R(const MUpp32f *pSrc1, int nSrc1Step, const MUpp32f nConstant, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32f *)
  • nSrc1Step (int)
  • nConstant (const MUpp32f)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiSubC_32f_C1IR

MUppStatus muppiSubC_32f_C1IR(const MUpp32f nConstant, MUpp32f *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • nConstant (const MUpp32f)
  • pSrcDst (MUpp32f *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiSubC_32f_C3R

MUppStatus muppiSubC_32f_C3R(const MUpp32f *pSrc1, int nSrc1Step, const MUpp32f aConstants[3], MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32f *)
  • nSrc1Step (int)
  • aConstants (const MUpp32f)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiSubC_32f_C3IR

MUppStatus muppiSubC_32f_C3IR(const MUpp32f aConstants[3], MUpp32f *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp32f)
  • pSrcDst (MUpp32f *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

DivC

muppiDivC_32f_C1R

MUppStatus muppiDivC_32f_C1R(const MUpp32f *pSrc1, int nSrc1Step, const MUpp32f nConstant, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32f *)
  • nSrc1Step (int)
  • nConstant (const MUpp32f)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiDivC_32f_C1IR

MUppStatus muppiDivC_32f_C1IR(const MUpp32f nConstant, MUpp32f *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • nConstant (const MUpp32f)
  • pSrcDst (MUpp32f *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiDivC_32f_C3R

MUppStatus muppiDivC_32f_C3R(const MUpp32f *pSrc1, int nSrc1Step, const MUpp32f aConstants[3], MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32f *)
  • nSrc1Step (int)
  • aConstants (const MUpp32f)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiDivC_32f_C3IR

MUppStatus muppiDivC_32f_C3IR(const MUpp32f aConstants[3], MUpp32f *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp32f)
  • pSrcDst (MUpp32f *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

Mul

muppiMul_32fc_C1R_Ctx

MUppStatus muppiMul_32fc_C1R_Ctx(const MUpp32fc *pSrc1, int nSrc1Step, const MUpp32fc *pSrc2, int nSrc2Step, MUpp32fc *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image multiplication.

Parameters

  • pSrc1 (const MUpp32fc *): source image pointer
  • nSrc1Step (int): source image line step
  • pSrc2 (const MUpp32fc *): source image pointer
  • nSrc2Step (int): source image line step
  • pDst (MUpp32fc *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiMul_32fc_C1R

MUppStatus muppiMul_32fc_C1R(const MUpp32fc *pSrc1, int nSrc1Step, const MUpp32fc *pSrc2, int nSrc2Step, MUpp32fc *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32fc *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp32fc *)
  • nSrc2Step (int)
  • pDst (MUpp32fc *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiMul_32fc_C1IR_Ctx

MUppStatus muppiMul_32fc_C1IR_Ctx(const MUpp32fc *pSrc, int nSrcStep, MUpp32fc *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image multiplication.

Parameters

  • pSrc (const MUpp32fc *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp32fc *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiMul_32fc_C1IR

MUppStatus muppiMul_32fc_C1IR(const MUpp32fc *pSrc, int nSrcStep, MUpp32fc *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32fc *)
  • nSrcStep (int)
  • pSrcDst (MUpp32fc *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiMul_32fc_C3R_Ctx

MUppStatus muppiMul_32fc_C3R_Ctx(const MUpp32fc *pSrc1, int nSrc1Step, const MUpp32fc *pSrc2, int nSrc2Step, MUpp32fc *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image multiplication.

Parameters

  • pSrc1 (const MUpp32fc *): source image pointer
  • nSrc1Step (int): source image line step
  • pSrc2 (const MUpp32fc *): source image pointer
  • nSrc2Step (int): source image line step
  • pDst (MUpp32fc *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiMul_32fc_C3R

MUppStatus muppiMul_32fc_C3R(const MUpp32fc *pSrc1, int nSrc1Step, const MUpp32fc *pSrc2, int nSrc2Step, MUpp32fc *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32fc *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp32fc *)
  • nSrc2Step (int)
  • pDst (MUpp32fc *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiMul_32fc_C3IR_Ctx

MUppStatus muppiMul_32fc_C3IR_Ctx(const MUpp32fc *pSrc, int nSrcStep, MUpp32fc *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image multiplication.

Parameters

  • pSrc (const MUpp32fc *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp32fc *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiMul_32fc_C3IR

MUppStatus muppiMul_32fc_C3IR(const MUpp32fc *pSrc, int nSrcStep, MUpp32fc *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32fc *)
  • nSrcStep (int)
  • pSrcDst (MUpp32fc *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiMul_32fc_AC4R_Ctx

MUppStatus muppiMul_32fc_AC4R_Ctx(const MUpp32fc *pSrc1, int nSrc1Step, const MUpp32fc *pSrc2, int nSrc2Step, MUpp32fc *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha image multiplication.

Parameters

  • pSrc1 (const MUpp32fc *): source image pointer
  • nSrc1Step (int): source image line step
  • pSrc2 (const MUpp32fc *): source image pointer
  • nSrc2Step (int): source image line step
  • pDst (MUpp32fc *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiMul_32fc_AC4R

MUppStatus muppiMul_32fc_AC4R(const MUpp32fc *pSrc1, int nSrc1Step, const MUpp32fc *pSrc2, int nSrc2Step, MUpp32fc *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32fc *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp32fc *)
  • nSrc2Step (int)
  • pDst (MUpp32fc *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiMul_32fc_AC4IR_Ctx

MUppStatus muppiMul_32fc_AC4IR_Ctx(const MUpp32fc *pSrc, int nSrcStep, MUpp32fc *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image multiplication.

Parameters

  • pSrc (const MUpp32fc *): source image pointer
  • nSrcStep (int): source image line step
  • pSrcDst (MUpp32fc *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiMul_32fc_AC4IR

MUppStatus muppiMul_32fc_AC4IR(const MUpp32fc *pSrc, int nSrcStep, MUpp32fc *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32fc *)
  • nSrcStep (int)
  • pSrcDst (MUpp32fc *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiMul_32fc_C4R_Ctx

MUppStatus muppiMul_32fc_C4R_Ctx(const MUpp32fc *pSrc1, int nSrc1Step, const MUpp32fc *pSrc2, int nSrc2Step, MUpp32fc *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image multiplication.

Parameters

  • pSrc1 (const MUpp32fc *): source image pointer
  • nSrc1Step (int): source image line step
  • pSrc2 (const MUpp32fc *): source image pointer
  • nSrc2Step (int): source image line step
  • pDst (MUpp32fc *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiMul_32fc_C4R

MUppStatus muppiMul_32fc_C4R(const MUpp32fc *pSrc1, int nSrc1Step, const MUpp32fc *pSrc2, int nSrc2Step, MUpp32fc *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32fc *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp32fc *)
  • nSrc2Step (int)
  • pDst (MUpp32fc *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiMul_32fc_C4IR_Ctx

MUppStatus muppiMul_32fc_C4IR_Ctx(const MUpp32fc *pSrc, int nSrcStep, MUpp32fc *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image multiplication.

Parameters

  • pSrc (const MUpp32fc *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp32fc *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiMul_32fc_C4IR

MUppStatus muppiMul_32fc_C4IR(const MUpp32fc *pSrc, int nSrcStep, MUpp32fc *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32fc *)
  • nSrcStep (int)
  • pSrcDst (MUpp32fc *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

AbsDiff

muppiAbsDiff_8u_C1R

MUppStatus muppiAbsDiff_8u_C1R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp8u *)
  • nSrc2Step (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAbsDiff_8u_C3R

MUppStatus muppiAbsDiff_8u_C3R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp8u *)
  • nSrc2Step (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAbsDiff_8u_C4R

MUppStatus muppiAbsDiff_8u_C4R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp8u *)
  • nSrc2Step (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAbsDiff_16u_C1R

MUppStatus muppiAbsDiff_16u_C1R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp16u *)
  • nSrc2Step (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAbsDiff_32f_C1R

MUppStatus muppiAbsDiff_32f_C1R(const MUpp32f *pSrc1, int nSrc1Step, const MUpp32f *pSrc2, int nSrc2Step, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32f *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp32f *)
  • nSrc2Step (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

AndC

muppiAndC_8u_C1R_Ctx

MUppStatus muppiAndC_8u_C1R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u nConstant, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 8-bit unsigned char channel image logical and with constant.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • nConstant (const MUpp8u): Constant.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAndC_8u_C1R

MUppStatus muppiAndC_8u_C1R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u nConstant, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • nConstant (const MUpp8u)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_8u_C1IR_Ctx

MUppStatus muppiAndC_8u_C1IR_Ctx(const MUpp8u nConstant, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 8-bit unsigned char channel in place image logical and with constant.

Parameters

  • nConstant (const MUpp8u): Constant.
  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAndC_8u_C1IR

MUppStatus muppiAndC_8u_C1IR(const MUpp8u nConstant, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • nConstant (const MUpp8u)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_8u_C3R_Ctx

MUppStatus muppiAndC_8u_C3R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u aConstants[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 8-bit unsigned char channel image logical and with constant.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • aConstants (const MUpp8u): fixed size array of constant values, one per channel.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAndC_8u_C3R

MUppStatus muppiAndC_8u_C3R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u aConstants[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • aConstants (const MUpp8u)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_8u_C3IR_Ctx

MUppStatus muppiAndC_8u_C3IR_Ctx(const MUpp8u aConstants[3], MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 8-bit unsigned char channel in place image logical and with constant.

Parameters

  • aConstants (const MUpp8u): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAndC_8u_C3IR

MUppStatus muppiAndC_8u_C3IR(const MUpp8u aConstants[3], MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp8u)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_8u_AC4R_Ctx

MUppStatus muppiAndC_8u_AC4R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u aConstants[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel image logical and with constant with unmodified alpha.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer
  • nSrc1Step (int): source image line step
  • aConstants (const MUpp8u): fixed size array of constant values, one per channel
  • pDst (MUpp8u *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiAndC_8u_AC4R

MUppStatus muppiAndC_8u_AC4R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u aConstants[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • aConstants (const MUpp8u)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_8u_AC4IR_Ctx

MUppStatus muppiAndC_8u_AC4IR_Ctx(const MUpp8u aConstants[3], MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel in place image logical and with constant with unmodified alpha.

Parameters

  • aConstants (const MUpp8u): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp8u *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiAndC_8u_AC4IR

MUppStatus muppiAndC_8u_AC4IR(const MUpp8u aConstants[3], MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp8u)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_8u_C4R_Ctx

MUppStatus muppiAndC_8u_C4R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u aConstants[4], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel image logical and with constant.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • aConstants (const MUpp8u): fixed size array of constant values, one per channel.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAndC_8u_C4R

MUppStatus muppiAndC_8u_C4R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u aConstants[4], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • aConstants (const MUpp8u)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_8u_C4IR_Ctx

MUppStatus muppiAndC_8u_C4IR_Ctx(const MUpp8u aConstants[4], MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel in place image logical and with constant.

Parameters

  • aConstants (const MUpp8u): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAndC_8u_C4IR

MUppStatus muppiAndC_8u_C4IR(const MUpp8u aConstants[4], MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp8u)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_16u_C1R_Ctx

MUppStatus muppiAndC_16u_C1R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u nConstant, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 16-bit unsigned short channel image logical and with constant.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • nConstant (const MUpp16u): Constant.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAndC_16u_C1R

MUppStatus muppiAndC_16u_C1R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u nConstant, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • nConstant (const MUpp16u)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_16u_C1IR_Ctx

MUppStatus muppiAndC_16u_C1IR_Ctx(const MUpp16u nConstant, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 16-bit unsigned short channel in place image logical and with constant.

Parameters

  • nConstant (const MUpp16u): Constant.
  • pSrcDst (MUpp16u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAndC_16u_C1IR

MUppStatus muppiAndC_16u_C1IR(const MUpp16u nConstant, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • nConstant (const MUpp16u)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_16u_C3R_Ctx

MUppStatus muppiAndC_16u_C3R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u aConstants[3], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 16-bit unsigned short channel image logical and with constant.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • aConstants (const MUpp16u): fixed size array of constant values, one per channel.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAndC_16u_C3R

MUppStatus muppiAndC_16u_C3R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u aConstants[3], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • aConstants (const MUpp16u)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_16u_C3IR_Ctx

MUppStatus muppiAndC_16u_C3IR_Ctx(const MUpp16u aConstants[3], MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 16-bit unsigned short channel in place image logical and with constant.

Parameters

  • aConstants (const MUpp16u): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp16u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAndC_16u_C3IR

MUppStatus muppiAndC_16u_C3IR(const MUpp16u aConstants[3], MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp16u)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_16u_AC4R_Ctx

MUppStatus muppiAndC_16u_AC4R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u aConstants[3], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel image logical and with constant with unmodified alpha.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer
  • nSrc1Step (int): source image line step
  • aConstants (const MUpp16u): fixed size array of constant values, one per channel
  • pDst (MUpp16u *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiAndC_16u_AC4R

MUppStatus muppiAndC_16u_AC4R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u aConstants[3], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • aConstants (const MUpp16u)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_16u_AC4IR_Ctx

MUppStatus muppiAndC_16u_AC4IR_Ctx(const MUpp16u aConstants[3], MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel in place image logical and with constant with unmodified alpha.

Parameters

  • aConstants (const MUpp16u): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp16u *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiAndC_16u_AC4IR

MUppStatus muppiAndC_16u_AC4IR(const MUpp16u aConstants[3], MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp16u)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_16u_C4R_Ctx

MUppStatus muppiAndC_16u_C4R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u aConstants[4], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel image logical and with constant.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • aConstants (const MUpp16u): fixed size array of constant values, one per channel.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAndC_16u_C4R

MUppStatus muppiAndC_16u_C4R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u aConstants[4], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • aConstants (const MUpp16u)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_16u_C4IR_Ctx

MUppStatus muppiAndC_16u_C4IR_Ctx(const MUpp16u aConstants[4], MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel in place image logical and with constant.

Parameters

  • aConstants (const MUpp16u): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp16u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAndC_16u_C4IR

MUppStatus muppiAndC_16u_C4IR(const MUpp16u aConstants[4], MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp16u)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_32s_C1R_Ctx

MUppStatus muppiAndC_32s_C1R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s nConstant, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 32-bit signed integer channel image logical and with constant.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer.
  • nSrc1Step (int): source image line step.
  • nConstant (const MUpp32s): Constant.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAndC_32s_C1R

MUppStatus muppiAndC_32s_C1R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s nConstant, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • nConstant (const MUpp32s)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_32s_C1IR_Ctx

MUppStatus muppiAndC_32s_C1IR_Ctx(const MUpp32s nConstant, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 32-bit signed integer channel in place image logical and with constant.

Parameters

  • nConstant (const MUpp32s): Constant.
  • pSrcDst (MUpp32s *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAndC_32s_C1IR

MUppStatus muppiAndC_32s_C1IR(const MUpp32s nConstant, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • nConstant (const MUpp32s)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_32s_C3R_Ctx

MUppStatus muppiAndC_32s_C3R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s aConstants[3], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 32-bit signed integer channel image logical and with constant.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer.
  • nSrc1Step (int): source image line step.
  • aConstants (const MUpp32s): fixed size array of constant values, one per channel.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAndC_32s_C3R

MUppStatus muppiAndC_32s_C3R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s aConstants[3], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • aConstants (const MUpp32s)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_32s_C3IR_Ctx

MUppStatus muppiAndC_32s_C3IR_Ctx(const MUpp32s aConstants[3], MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 32-bit signed integer channel in place image logical and with constant.

Parameters

  • aConstants (const MUpp32s): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp32s *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAndC_32s_C3IR

MUppStatus muppiAndC_32s_C3IR(const MUpp32s aConstants[3], MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp32s)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_32s_AC4R_Ctx

MUppStatus muppiAndC_32s_AC4R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s aConstants[3], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel image logical and with constant with unmodified alpha.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer
  • nSrc1Step (int): source image line step
  • aConstants (const MUpp32s): fixed size array of constant values, one per channel
  • pDst (MUpp32s *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiAndC_32s_AC4R

MUppStatus muppiAndC_32s_AC4R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s aConstants[3], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • aConstants (const MUpp32s)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_32s_AC4IR_Ctx

MUppStatus muppiAndC_32s_AC4IR_Ctx(const MUpp32s aConstants[3], MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel in place image logical and with constant with unmodified alpha.

Parameters

  • aConstants (const MUpp32s): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp32s *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiAndC_32s_AC4IR

MUppStatus muppiAndC_32s_AC4IR(const MUpp32s aConstants[3], MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp32s)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_32s_C4R_Ctx

MUppStatus muppiAndC_32s_C4R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s aConstants[4], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel image logical and with constant.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer.
  • nSrc1Step (int): source image line step.
  • aConstants (const MUpp32s): fixed size array of constant values, one per channel.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAndC_32s_C4R

MUppStatus muppiAndC_32s_C4R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s aConstants[4], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • aConstants (const MUpp32s)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAndC_32s_C4IR_Ctx

MUppStatus muppiAndC_32s_C4IR_Ctx(const MUpp32s aConstants[4], MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel in place image logical and with constant.

Parameters

  • aConstants (const MUpp32s): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp32s *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAndC_32s_C4IR

MUppStatus muppiAndC_32s_C4IR(const MUpp32s aConstants[4], MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp32s)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

OrC

muppiOrC_8u_C1R_Ctx

MUppStatus muppiOrC_8u_C1R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u nConstant, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 8-bit unsigned char channel image logical or with constant.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • nConstant (const MUpp8u): Constant.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOrC_8u_C1R

MUppStatus muppiOrC_8u_C1R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u nConstant, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • nConstant (const MUpp8u)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_8u_C1IR_Ctx

MUppStatus muppiOrC_8u_C1IR_Ctx(const MUpp8u nConstant, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 8-bit unsigned char channel in place image logical or with constant.

Parameters

  • nConstant (const MUpp8u): Constant.
  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOrC_8u_C1IR

MUppStatus muppiOrC_8u_C1IR(const MUpp8u nConstant, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • nConstant (const MUpp8u)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_8u_C3R_Ctx

MUppStatus muppiOrC_8u_C3R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u aConstants[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 8-bit unsigned char channel image logical or with constant.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • aConstants (const MUpp8u): fixed size array of constant values, one per channel.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOrC_8u_C3R

MUppStatus muppiOrC_8u_C3R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u aConstants[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • aConstants (const MUpp8u)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_8u_C3IR_Ctx

MUppStatus muppiOrC_8u_C3IR_Ctx(const MUpp8u aConstants[3], MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 8-bit unsigned char channel in place image logical or with constant.

Parameters

  • aConstants (const MUpp8u): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOrC_8u_C3IR

MUppStatus muppiOrC_8u_C3IR(const MUpp8u aConstants[3], MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp8u)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_8u_AC4R_Ctx

MUppStatus muppiOrC_8u_AC4R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u aConstants[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel image logical or with constant with unmodified alpha.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer
  • nSrc1Step (int): source image line step
  • aConstants (const MUpp8u): fixed size array of constant values, one per channel
  • pDst (MUpp8u *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiOrC_8u_AC4R

MUppStatus muppiOrC_8u_AC4R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u aConstants[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • aConstants (const MUpp8u)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_8u_AC4IR_Ctx

MUppStatus muppiOrC_8u_AC4IR_Ctx(const MUpp8u aConstants[3], MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel in place image logical or with constant with unmodified alpha.

Parameters

  • aConstants (const MUpp8u): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp8u *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiOrC_8u_AC4IR

MUppStatus muppiOrC_8u_AC4IR(const MUpp8u aConstants[3], MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp8u)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_8u_C4R_Ctx

MUppStatus muppiOrC_8u_C4R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u aConstants[4], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel image logical or with constant.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • aConstants (const MUpp8u): fixed size array of constant values, one per channel.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOrC_8u_C4R

MUppStatus muppiOrC_8u_C4R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u aConstants[4], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • aConstants (const MUpp8u)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_8u_C4IR_Ctx

MUppStatus muppiOrC_8u_C4IR_Ctx(const MUpp8u aConstants[4], MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel in place image logical or with constant.

Parameters

  • aConstants (const MUpp8u): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOrC_8u_C4IR

MUppStatus muppiOrC_8u_C4IR(const MUpp8u aConstants[4], MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp8u)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_16u_C1R_Ctx

MUppStatus muppiOrC_16u_C1R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u nConstant, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 16-bit unsigned short channel image logical or with constant.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • nConstant (const MUpp16u): Constant.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOrC_16u_C1R

MUppStatus muppiOrC_16u_C1R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u nConstant, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • nConstant (const MUpp16u)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_16u_C1IR_Ctx

MUppStatus muppiOrC_16u_C1IR_Ctx(const MUpp16u nConstant, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 16-bit unsigned short channel in place image logical or with constant.

Parameters

  • nConstant (const MUpp16u): Constant.
  • pSrcDst (MUpp16u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOrC_16u_C1IR

MUppStatus muppiOrC_16u_C1IR(const MUpp16u nConstant, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • nConstant (const MUpp16u)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_16u_C3R_Ctx

MUppStatus muppiOrC_16u_C3R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u aConstants[3], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 16-bit unsigned short channel image logical or with constant.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • aConstants (const MUpp16u): fixed size array of constant values, one per channel.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOrC_16u_C3R

MUppStatus muppiOrC_16u_C3R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u aConstants[3], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • aConstants (const MUpp16u)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_16u_C3IR_Ctx

MUppStatus muppiOrC_16u_C3IR_Ctx(const MUpp16u aConstants[3], MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 16-bit unsigned short channel in place image logical or with constant.

Parameters

  • aConstants (const MUpp16u): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp16u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOrC_16u_C3IR

MUppStatus muppiOrC_16u_C3IR(const MUpp16u aConstants[3], MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp16u)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_16u_AC4R_Ctx

MUppStatus muppiOrC_16u_AC4R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u aConstants[3], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel image logical or with constant with unmodified alpha.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer
  • nSrc1Step (int): source image line step
  • aConstants (const MUpp16u): fixed size array of constant values, one per channel
  • pDst (MUpp16u *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiOrC_16u_AC4R

MUppStatus muppiOrC_16u_AC4R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u aConstants[3], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • aConstants (const MUpp16u)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_16u_AC4IR_Ctx

MUppStatus muppiOrC_16u_AC4IR_Ctx(const MUpp16u aConstants[3], MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel in place image logical or with constant with unmodified alpha.

Parameters

  • aConstants (const MUpp16u): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp16u *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiOrC_16u_AC4IR

MUppStatus muppiOrC_16u_AC4IR(const MUpp16u aConstants[3], MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp16u)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_16u_C4R_Ctx

MUppStatus muppiOrC_16u_C4R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u aConstants[4], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel image logical or with constant.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • aConstants (const MUpp16u): fixed size array of constant values, one per channel.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOrC_16u_C4R

MUppStatus muppiOrC_16u_C4R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u aConstants[4], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • aConstants (const MUpp16u)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_16u_C4IR_Ctx

MUppStatus muppiOrC_16u_C4IR_Ctx(const MUpp16u aConstants[4], MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel in place image logical or with constant.

Parameters

  • aConstants (const MUpp16u): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp16u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOrC_16u_C4IR

MUppStatus muppiOrC_16u_C4IR(const MUpp16u aConstants[4], MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp16u)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_32s_C1R_Ctx

MUppStatus muppiOrC_32s_C1R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s nConstant, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 32-bit signed integer channel image logical or with constant.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer.
  • nSrc1Step (int): source image line step.
  • nConstant (const MUpp32s): Constant.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOrC_32s_C1R

MUppStatus muppiOrC_32s_C1R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s nConstant, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • nConstant (const MUpp32s)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_32s_C1IR_Ctx

MUppStatus muppiOrC_32s_C1IR_Ctx(const MUpp32s nConstant, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 32-bit signed integer channel in place image logical or with constant.

Parameters

  • nConstant (const MUpp32s): Constant.
  • pSrcDst (MUpp32s *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOrC_32s_C1IR

MUppStatus muppiOrC_32s_C1IR(const MUpp32s nConstant, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • nConstant (const MUpp32s)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_32s_C3R_Ctx

MUppStatus muppiOrC_32s_C3R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s aConstants[3], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 32-bit signed integer channel image logical or with constant.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer.
  • nSrc1Step (int): source image line step.
  • aConstants (const MUpp32s): fixed size array of constant values, one per channel.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOrC_32s_C3R

MUppStatus muppiOrC_32s_C3R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s aConstants[3], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • aConstants (const MUpp32s)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_32s_C3IR_Ctx

MUppStatus muppiOrC_32s_C3IR_Ctx(const MUpp32s aConstants[3], MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 32-bit signed integer channel in place image logical or with constant.

Parameters

  • aConstants (const MUpp32s): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp32s *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOrC_32s_C3IR

MUppStatus muppiOrC_32s_C3IR(const MUpp32s aConstants[3], MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp32s)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_32s_AC4R_Ctx

MUppStatus muppiOrC_32s_AC4R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s aConstants[3], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel image logical or with constant with unmodified alpha.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer
  • nSrc1Step (int): source image line step
  • aConstants (const MUpp32s): fixed size array of constant values, one per channel
  • pDst (MUpp32s *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiOrC_32s_AC4R

MUppStatus muppiOrC_32s_AC4R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s aConstants[3], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • aConstants (const MUpp32s)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_32s_AC4IR_Ctx

MUppStatus muppiOrC_32s_AC4IR_Ctx(const MUpp32s aConstants[3], MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel in place image logical or with constant with unmodified alpha.

Parameters

  • aConstants (const MUpp32s): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp32s *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiOrC_32s_AC4IR

MUppStatus muppiOrC_32s_AC4IR(const MUpp32s aConstants[3], MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp32s)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_32s_C4R_Ctx

MUppStatus muppiOrC_32s_C4R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s aConstants[4], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel image logical or with constant.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer.
  • nSrc1Step (int): source image line step.
  • aConstants (const MUpp32s): fixed size array of constant values, one per channel.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOrC_32s_C4R

MUppStatus muppiOrC_32s_C4R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s aConstants[4], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • aConstants (const MUpp32s)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOrC_32s_C4IR_Ctx

MUppStatus muppiOrC_32s_C4IR_Ctx(const MUpp32s aConstants[4], MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel in place image logical or with constant.

Parameters

  • aConstants (const MUpp32s): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp32s *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOrC_32s_C4IR

MUppStatus muppiOrC_32s_C4IR(const MUpp32s aConstants[4], MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp32s)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

XorC

muppiXorC_8u_C1R_Ctx

MUppStatus muppiXorC_8u_C1R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u nConstant, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 8-bit unsigned char channel image logical exclusive or with constant.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • nConstant (const MUpp8u): Constant.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXorC_8u_C1R

MUppStatus muppiXorC_8u_C1R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u nConstant, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • nConstant (const MUpp8u)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_8u_C1IR_Ctx

MUppStatus muppiXorC_8u_C1IR_Ctx(const MUpp8u nConstant, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 8-bit unsigned char channel in place image logical exclusive or with constant.

Parameters

  • nConstant (const MUpp8u): Constant.
  • pSrcDst (MUpp8u *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXorC_8u_C1IR

MUppStatus muppiXorC_8u_C1IR(const MUpp8u nConstant, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • nConstant (const MUpp8u)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_8u_C3R_Ctx

MUppStatus muppiXorC_8u_C3R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u aConstants[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 8-bit unsigned char channel image logical exclusive or with constant.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • aConstants (const MUpp8u): fixed size array of constant values, one per channel.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXorC_8u_C3R

MUppStatus muppiXorC_8u_C3R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u aConstants[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • aConstants (const MUpp8u)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_8u_C3IR_Ctx

MUppStatus muppiXorC_8u_C3IR_Ctx(const MUpp8u aConstants[3], MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 8-bit unsigned char channel in place image logical exclusive or with constant.

Parameters

  • aConstants (const MUpp8u): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp8u *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiXorC_8u_C3IR

MUppStatus muppiXorC_8u_C3IR(const MUpp8u aConstants[3], MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp8u)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_8u_AC4R_Ctx

MUppStatus muppiXorC_8u_AC4R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u aConstants[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel image logical exclusive or with constant with unmodified alpha.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer
  • nSrc1Step (int): source image line step
  • aConstants (const MUpp8u): fixed size array of constant values, one per channel
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXorC_8u_AC4R

MUppStatus muppiXorC_8u_AC4R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u aConstants[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • aConstants (const MUpp8u)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_8u_AC4IR_Ctx

MUppStatus muppiXorC_8u_AC4IR_Ctx(const MUpp8u aConstants[3], MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel in place image logical exclusive or with constant with unmodified alpha.

Parameters

  • aConstants (const MUpp8u): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXorC_8u_AC4IR

MUppStatus muppiXorC_8u_AC4IR(const MUpp8u aConstants[3], MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp8u)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_8u_C4R_Ctx

MUppStatus muppiXorC_8u_C4R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u aConstants[4], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel image logical exclusive or with constant.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • aConstants (const MUpp8u): fixed size array of constant values, one per channel.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXorC_8u_C4R

MUppStatus muppiXorC_8u_C4R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u aConstants[4], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • aConstants (const MUpp8u)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_8u_C4IR_Ctx

MUppStatus muppiXorC_8u_C4IR_Ctx(const MUpp8u aConstants[4], MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel in place image logical exclusive or with constant.

Parameters

  • aConstants (const MUpp8u): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp8u *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiXorC_8u_C4IR

MUppStatus muppiXorC_8u_C4IR(const MUpp8u aConstants[4], MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp8u)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_16u_C1R_Ctx

MUppStatus muppiXorC_16u_C1R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u nConstant, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 16-bit unsigned short channel image logical exclusive or with constant.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • nConstant (const MUpp16u): Constant.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXorC_16u_C1R

MUppStatus muppiXorC_16u_C1R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u nConstant, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • nConstant (const MUpp16u)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_16u_C1IR_Ctx

MUppStatus muppiXorC_16u_C1IR_Ctx(const MUpp16u nConstant, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 16-bit unsigned short channel in place image logical exclusive or with constant.

Parameters

  • nConstant (const MUpp16u): Constant.
  • pSrcDst (MUpp16u *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXorC_16u_C1IR

MUppStatus muppiXorC_16u_C1IR(const MUpp16u nConstant, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • nConstant (const MUpp16u)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_16u_C3R_Ctx

MUppStatus muppiXorC_16u_C3R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u aConstants[3], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 16-bit unsigned short channel image logical exclusive or with constant.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • aConstants (const MUpp16u): fixed size array of constant values, one per channel.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXorC_16u_C3R

MUppStatus muppiXorC_16u_C3R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u aConstants[3], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • aConstants (const MUpp16u)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_16u_C3IR_Ctx

MUppStatus muppiXorC_16u_C3IR_Ctx(const MUpp16u aConstants[3], MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 16-bit unsigned short channel in place image logical exclusive or with constant.

Parameters

  • aConstants (const MUpp16u): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp16u *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiXorC_16u_C3IR

MUppStatus muppiXorC_16u_C3IR(const MUpp16u aConstants[3], MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp16u)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_16u_AC4R_Ctx

MUppStatus muppiXorC_16u_AC4R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u aConstants[3], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel image logical exclusive or with constant with unmodified alpha.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer
  • nSrc1Step (int): source image line step
  • aConstants (const MUpp16u): fixed size array of constant values, one per channel
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXorC_16u_AC4R

MUppStatus muppiXorC_16u_AC4R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u aConstants[3], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • aConstants (const MUpp16u)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_16u_AC4IR_Ctx

MUppStatus muppiXorC_16u_AC4IR_Ctx(const MUpp16u aConstants[3], MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel in place image logical exclusive or with constant with unmodified alpha.

Parameters

  • aConstants (const MUpp16u): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp16u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXorC_16u_AC4IR

MUppStatus muppiXorC_16u_AC4IR(const MUpp16u aConstants[3], MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp16u)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_16u_C4R_Ctx

MUppStatus muppiXorC_16u_C4R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u aConstants[4], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel image logical exclusive or with constant.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • aConstants (const MUpp16u): fixed size array of constant values, one per channel.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXorC_16u_C4R

MUppStatus muppiXorC_16u_C4R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u aConstants[4], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • aConstants (const MUpp16u)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_16u_C4IR_Ctx

MUppStatus muppiXorC_16u_C4IR_Ctx(const MUpp16u aConstants[4], MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel in place image logical exclusive or with constant.

Parameters

  • aConstants (const MUpp16u): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp16u *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiXorC_16u_C4IR

MUppStatus muppiXorC_16u_C4IR(const MUpp16u aConstants[4], MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp16u)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_32s_C1R_Ctx

MUppStatus muppiXorC_32s_C1R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s nConstant, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 32-bit signed integer channel image logical exclusive or with constant.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer.
  • nSrc1Step (int): source image line step.
  • nConstant (const MUpp32s): Constant.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXorC_32s_C1R

MUppStatus muppiXorC_32s_C1R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s nConstant, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • nConstant (const MUpp32s)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_32s_C1IR_Ctx

MUppStatus muppiXorC_32s_C1IR_Ctx(const MUpp32s nConstant, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 32-bit signed integer channel in place image logical exclusive or with constant.

Parameters

  • nConstant (const MUpp32s): Constant.
  • pSrcDst (MUpp32s *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXorC_32s_C1IR

MUppStatus muppiXorC_32s_C1IR(const MUpp32s nConstant, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • nConstant (const MUpp32s)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_32s_C3R_Ctx

MUppStatus muppiXorC_32s_C3R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s aConstants[3], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 32-bit signed integer channel image logical exclusive or with constant.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer.
  • nSrc1Step (int): source image line step.
  • aConstants (const MUpp32s): fixed size array of constant values, one per channel.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXorC_32s_C3R

MUppStatus muppiXorC_32s_C3R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s aConstants[3], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • aConstants (const MUpp32s)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_32s_C3IR_Ctx

MUppStatus muppiXorC_32s_C3IR_Ctx(const MUpp32s aConstants[3], MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 32-bit signed integer channel in place image logical exclusive or with constant.

Parameters

  • aConstants (const MUpp32s): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp32s *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiXorC_32s_C3IR

MUppStatus muppiXorC_32s_C3IR(const MUpp32s aConstants[3], MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp32s)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_32s_AC4R_Ctx

MUppStatus muppiXorC_32s_AC4R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s aConstants[3], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel image logical exclusive or with constant with unmodified alpha.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer
  • nSrc1Step (int): source image line step
  • aConstants (const MUpp32s): fixed size array of constant values, one per channel
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXorC_32s_AC4R

MUppStatus muppiXorC_32s_AC4R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s aConstants[3], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • aConstants (const MUpp32s)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_32s_AC4IR_Ctx

MUppStatus muppiXorC_32s_AC4IR_Ctx(const MUpp32s aConstants[3], MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel in place image logical exclusive or with constant with unmodified alpha.

Parameters

  • aConstants (const MUpp32s): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp32s *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXorC_32s_AC4IR

MUppStatus muppiXorC_32s_AC4IR(const MUpp32s aConstants[3], MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp32s)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_32s_C4R_Ctx

MUppStatus muppiXorC_32s_C4R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s aConstants[4], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel image logical exclusive or with constant.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer.
  • nSrc1Step (int): source image line step.
  • aConstants (const MUpp32s): fixed size array of constant values, one per channel.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXorC_32s_C4R

MUppStatus muppiXorC_32s_C4R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s aConstants[4], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • aConstants (const MUpp32s)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXorC_32s_C4IR_Ctx

MUppStatus muppiXorC_32s_C4IR_Ctx(const MUpp32s aConstants[4], MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel in place image logical exclusive or with constant.

Parameters

  • aConstants (const MUpp32s): fixed size array of constant values, one per channel.
  • pSrcDst (MUpp32s *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiXorC_32s_C4IR

MUppStatus muppiXorC_32s_C4IR(const MUpp32s aConstants[4], MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • aConstants (const MUpp32s)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

RShiftC

muppiRShiftC_8u_C1R

MUppStatus muppiRShiftC_8u_C1R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp32u nConstant, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • nConstant (const MUpp32u)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRShiftC_8u_C3R

MUppStatus muppiRShiftC_8u_C3R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp32u aConstants[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • aConstants (const MUpp32u)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRShiftC_8u_C4R

MUppStatus muppiRShiftC_8u_C4R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp32u aConstants[4], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • aConstants (const MUpp32u)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRShiftC_8s_C1R

MUppStatus muppiRShiftC_8s_C1R(const MUpp8s *pSrc1, int nSrc1Step, const MUpp32u nConstant, MUpp8s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8s *)
  • nSrc1Step (int)
  • nConstant (const MUpp32u)
  • pDst (MUpp8s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRShiftC_8s_C1IR

MUppStatus muppiRShiftC_8s_C1IR(const MUpp32u nConstant, MUpp8s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • nConstant (const MUpp32u)
  • pSrcDst (MUpp8s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRShiftC_8s_C3R

MUppStatus muppiRShiftC_8s_C3R(const MUpp8s *pSrc1, int nSrc1Step, const MUpp32u aConstants[3], MUpp8s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8s *)
  • nSrc1Step (int)
  • aConstants (const MUpp32u)
  • pDst (MUpp8s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRShiftC_8s_C4R

MUppStatus muppiRShiftC_8s_C4R(const MUpp8s *pSrc1, int nSrc1Step, const MUpp32u aConstants[4], MUpp8s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8s *)
  • nSrc1Step (int)
  • aConstants (const MUpp32u)
  • pDst (MUpp8s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRShiftC_16u_C1R

MUppStatus muppiRShiftC_16u_C1R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp32u nConstant, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • nConstant (const MUpp32u)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRShiftC_16u_C3R

MUppStatus muppiRShiftC_16u_C3R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp32u aConstants[3], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • aConstants (const MUpp32u)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRShiftC_16u_C4R

MUppStatus muppiRShiftC_16u_C4R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp32u aConstants[4], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • aConstants (const MUpp32u)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRShiftC_16s_C1R

MUppStatus muppiRShiftC_16s_C1R(const MUpp16s *pSrc1, int nSrc1Step, const MUpp32u nConstant, MUpp16s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16s *)
  • nSrc1Step (int)
  • nConstant (const MUpp32u)
  • pDst (MUpp16s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRShiftC_16s_C3R

MUppStatus muppiRShiftC_16s_C3R(const MUpp16s *pSrc1, int nSrc1Step, const MUpp32u aConstants[3], MUpp16s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16s *)
  • nSrc1Step (int)
  • aConstants (const MUpp32u)
  • pDst (MUpp16s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRShiftC_16s_C4R

MUppStatus muppiRShiftC_16s_C4R(const MUpp16s *pSrc1, int nSrc1Step, const MUpp32u aConstants[4], MUpp16s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16s *)
  • nSrc1Step (int)
  • aConstants (const MUpp32u)
  • pDst (MUpp16s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRShiftC_32s_C1R

MUppStatus muppiRShiftC_32s_C1R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32u nConstant, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • nConstant (const MUpp32u)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRShiftC_32s_C3R

MUppStatus muppiRShiftC_32s_C3R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32u aConstants[3], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • aConstants (const MUpp32u)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRShiftC_32s_C4R

MUppStatus muppiRShiftC_32s_C4R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32u aConstants[4], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • aConstants (const MUpp32u)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

LShiftC

muppiLShiftC_8u_C1R

MUppStatus muppiLShiftC_8u_C1R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp32u nConstant, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • nConstant (const MUpp32u)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiLShiftC_8u_C3R

MUppStatus muppiLShiftC_8u_C3R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp32u aConstants[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • aConstants (const MUpp32u)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiLShiftC_8u_C4R

MUppStatus muppiLShiftC_8u_C4R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp32u aConstants[4], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • aConstants (const MUpp32u)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiLShiftC_16u_C1R

MUppStatus muppiLShiftC_16u_C1R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp32u nConstant, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • nConstant (const MUpp32u)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiLShiftC_16u_C3R

MUppStatus muppiLShiftC_16u_C3R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp32u aConstants[3], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • aConstants (const MUpp32u)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiLShiftC_16u_C4R

MUppStatus muppiLShiftC_16u_C4R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp32u aConstants[4], MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • aConstants (const MUpp32u)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiLShiftC_32s_C1R

MUppStatus muppiLShiftC_32s_C1R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32u nConstant, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • nConstant (const MUpp32u)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiLShiftC_32s_C3R

MUppStatus muppiLShiftC_32s_C3R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32u aConstants[3], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • aConstants (const MUpp32u)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiLShiftC_32s_C4R

MUppStatus muppiLShiftC_32s_C4R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32u aConstants[4], MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • aConstants (const MUpp32u)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

And

muppiAnd_8u_C1R_Ctx

MUppStatus muppiAnd_8u_C1R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 8-bit unsigned char channel image logical and.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp8u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_8u_C1R

MUppStatus muppiAnd_8u_C1R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp8u *)
  • nSrc2Step (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_8u_C1IR_Ctx

MUppStatus muppiAnd_8u_C1IR_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 8-bit unsigned char channel in place image logical and.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_8u_C1IR

MUppStatus muppiAnd_8u_C1IR(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_8u_C3R_Ctx

MUppStatus muppiAnd_8u_C3R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 8-bit unsigned char channel image logical and.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp8u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_8u_C3R

MUppStatus muppiAnd_8u_C3R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp8u *)
  • nSrc2Step (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_8u_C3IR_Ctx

MUppStatus muppiAnd_8u_C3IR_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 8-bit unsigned char channel in place image logical and.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_8u_C3IR

MUppStatus muppiAnd_8u_C3IR(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_8u_AC4R_Ctx

MUppStatus muppiAnd_8u_AC4R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel image logical and with unmodified alpha.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp8u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_8u_AC4R

MUppStatus muppiAnd_8u_AC4R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp8u *)
  • nSrc2Step (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_8u_AC4IR_Ctx

MUppStatus muppiAnd_8u_AC4IR_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel in place image logical and with unmodified alpha.

Parameters

  • pSrc (const MUpp8u *): source image pointer
  • nSrcStep (int): source image line step
  • pSrcDst (MUpp8u *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiAnd_8u_AC4IR

MUppStatus muppiAnd_8u_AC4IR(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_8u_C4R_Ctx

MUppStatus muppiAnd_8u_C4R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel image logical and.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp8u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_8u_C4R

MUppStatus muppiAnd_8u_C4R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp8u *)
  • nSrc2Step (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_8u_C4IR_Ctx

MUppStatus muppiAnd_8u_C4IR_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel in place image logical and.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_8u_C4IR

MUppStatus muppiAnd_8u_C4IR(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_16u_C1R_Ctx

MUppStatus muppiAnd_16u_C1R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 16-bit unsigned short channel image logical and.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp16u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_16u_C1R

MUppStatus muppiAnd_16u_C1R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp16u *)
  • nSrc2Step (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_16u_C1IR_Ctx

MUppStatus muppiAnd_16u_C1IR_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 16-bit unsigned short channel in place image logical and.

Parameters

  • pSrc (const MUpp16u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp16u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_16u_C1IR

MUppStatus muppiAnd_16u_C1IR(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_16u_C3R_Ctx

MUppStatus muppiAnd_16u_C3R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 16-bit unsigned short channel image logical and.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp16u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_16u_C3R

MUppStatus muppiAnd_16u_C3R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp16u *)
  • nSrc2Step (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_16u_C3IR_Ctx

MUppStatus muppiAnd_16u_C3IR_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 16-bit unsigned short channel in place image logical and.

Parameters

  • pSrc (const MUpp16u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp16u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_16u_C3IR

MUppStatus muppiAnd_16u_C3IR(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_16u_AC4R_Ctx

MUppStatus muppiAnd_16u_AC4R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel image logical and with unmodified alpha.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp16u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_16u_AC4R

MUppStatus muppiAnd_16u_AC4R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp16u *)
  • nSrc2Step (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_16u_AC4IR_Ctx

MUppStatus muppiAnd_16u_AC4IR_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel in place image logical and with unmodified alpha.

Parameters

  • pSrc (const MUpp16u *): source image pointer
  • nSrcStep (int): source image line step
  • pSrcDst (MUpp16u *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiAnd_16u_AC4IR

MUppStatus muppiAnd_16u_AC4IR(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_16u_C4R_Ctx

MUppStatus muppiAnd_16u_C4R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel image logical and.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp16u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_16u_C4R

MUppStatus muppiAnd_16u_C4R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp16u *)
  • nSrc2Step (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_16u_C4IR_Ctx

MUppStatus muppiAnd_16u_C4IR_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel in place image logical and.

Parameters

  • pSrc (const MUpp16u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp16u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_16u_C4IR

MUppStatus muppiAnd_16u_C4IR(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_32s_C1R_Ctx

MUppStatus muppiAnd_32s_C1R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 32-bit signed integer channel image logical and.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp32s *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_32s_C1R

MUppStatus muppiAnd_32s_C1R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp32s *)
  • nSrc2Step (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_32s_C1IR_Ctx

MUppStatus muppiAnd_32s_C1IR_Ctx(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 32-bit signed integer channel in place image logical and.

Parameters

  • pSrc (const MUpp32s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp32s *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_32s_C1IR

MUppStatus muppiAnd_32s_C1IR(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_32s_C3R_Ctx

MUppStatus muppiAnd_32s_C3R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 32-bit signed integer channel image logical and.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp32s *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_32s_C3R

MUppStatus muppiAnd_32s_C3R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp32s *)
  • nSrc2Step (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_32s_C3IR_Ctx

MUppStatus muppiAnd_32s_C3IR_Ctx(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 32-bit signed integer channel in place image logical and.

Parameters

  • pSrc (const MUpp32s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp32s *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_32s_C3IR

MUppStatus muppiAnd_32s_C3IR(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_32s_AC4R_Ctx

MUppStatus muppiAnd_32s_AC4R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel image logical and with unmodified alpha.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp32s *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_32s_AC4R

MUppStatus muppiAnd_32s_AC4R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp32s *)
  • nSrc2Step (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_32s_AC4IR_Ctx

MUppStatus muppiAnd_32s_AC4IR_Ctx(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel in place image logical and with unmodified alpha.

Parameters

  • pSrc (const MUpp32s *): source image pointer
  • nSrcStep (int): source image line step
  • pSrcDst (MUpp32s *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiAnd_32s_AC4IR

MUppStatus muppiAnd_32s_AC4IR(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_32s_C4R_Ctx

MUppStatus muppiAnd_32s_C4R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel image logical and.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp32s *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_32s_C4R

MUppStatus muppiAnd_32s_C4R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp32s *)
  • nSrc2Step (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiAnd_32s_C4IR_Ctx

MUppStatus muppiAnd_32s_C4IR_Ctx(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel in place image logical and.

Parameters

  • pSrc (const MUpp32s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp32s *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiAnd_32s_C4IR

MUppStatus muppiAnd_32s_C4IR(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

Or

muppiOr_8u_C1R_Ctx

MUppStatus muppiOr_8u_C1R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 8-bit unsigned char channel image logical or.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp8u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_8u_C1R

MUppStatus muppiOr_8u_C1R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp8u *)
  • nSrc2Step (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_8u_C1IR_Ctx

MUppStatus muppiOr_8u_C1IR_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 8-bit unsigned char channel in place image logical or.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_8u_C1IR

MUppStatus muppiOr_8u_C1IR(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_8u_C3R_Ctx

MUppStatus muppiOr_8u_C3R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 8-bit unsigned char channel image logical or.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp8u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_8u_C3R

MUppStatus muppiOr_8u_C3R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp8u *)
  • nSrc2Step (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_8u_C3IR_Ctx

MUppStatus muppiOr_8u_C3IR_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 8-bit unsigned char channel in place image logical or.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_8u_C3IR

MUppStatus muppiOr_8u_C3IR(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_8u_AC4R_Ctx

MUppStatus muppiOr_8u_AC4R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel image logical or with unmodified alpha.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp8u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_8u_AC4R

MUppStatus muppiOr_8u_AC4R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp8u *)
  • nSrc2Step (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_8u_AC4IR_Ctx

MUppStatus muppiOr_8u_AC4IR_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel in place image logical or with unmodified alpha.

Parameters

  • pSrc (const MUpp8u *): source image pointer
  • nSrcStep (int): source image line step
  • pSrcDst (MUpp8u *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiOr_8u_AC4IR

MUppStatus muppiOr_8u_AC4IR(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_8u_C4R_Ctx

MUppStatus muppiOr_8u_C4R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel image logical or.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp8u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_8u_C4R

MUppStatus muppiOr_8u_C4R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp8u *)
  • nSrc2Step (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_8u_C4IR_Ctx

MUppStatus muppiOr_8u_C4IR_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel in place image logical or.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_8u_C4IR

MUppStatus muppiOr_8u_C4IR(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_16u_C1R_Ctx

MUppStatus muppiOr_16u_C1R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 16-bit unsigned short channel image logical or.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp16u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_16u_C1R

MUppStatus muppiOr_16u_C1R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp16u *)
  • nSrc2Step (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_16u_C1IR_Ctx

MUppStatus muppiOr_16u_C1IR_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 16-bit unsigned short channel in place image logical or.

Parameters

  • pSrc (const MUpp16u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp16u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_16u_C1IR

MUppStatus muppiOr_16u_C1IR(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_16u_C3R_Ctx

MUppStatus muppiOr_16u_C3R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 16-bit unsigned short channel image logical or.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp16u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_16u_C3R

MUppStatus muppiOr_16u_C3R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp16u *)
  • nSrc2Step (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_16u_C3IR_Ctx

MUppStatus muppiOr_16u_C3IR_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 16-bit unsigned short channel in place image logical or.

Parameters

  • pSrc (const MUpp16u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp16u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_16u_C3IR

MUppStatus muppiOr_16u_C3IR(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_16u_AC4R_Ctx

MUppStatus muppiOr_16u_AC4R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel image logical or with unmodified alpha.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp16u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_16u_AC4R

MUppStatus muppiOr_16u_AC4R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp16u *)
  • nSrc2Step (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_16u_AC4IR_Ctx

MUppStatus muppiOr_16u_AC4IR_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel in place image logical or with unmodified alpha.

Parameters

  • pSrc (const MUpp16u *): source image pointer
  • nSrcStep (int): source image line step
  • pSrcDst (MUpp16u *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiOr_16u_AC4IR

MUppStatus muppiOr_16u_AC4IR(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_16u_C4R_Ctx

MUppStatus muppiOr_16u_C4R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel image logical or.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp16u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_16u_C4R

MUppStatus muppiOr_16u_C4R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp16u *)
  • nSrc2Step (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_16u_C4IR_Ctx

MUppStatus muppiOr_16u_C4IR_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel in place image logical or.

Parameters

  • pSrc (const MUpp16u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp16u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_16u_C4IR

MUppStatus muppiOr_16u_C4IR(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_32s_C1R_Ctx

MUppStatus muppiOr_32s_C1R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 32-bit signed integer channel image logical or.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp32s *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_32s_C1R

MUppStatus muppiOr_32s_C1R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp32s *)
  • nSrc2Step (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_32s_C1IR_Ctx

MUppStatus muppiOr_32s_C1IR_Ctx(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 32-bit signed integer channel in place image logical or.

Parameters

  • pSrc (const MUpp32s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp32s *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_32s_C1IR

MUppStatus muppiOr_32s_C1IR(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_32s_C3R_Ctx

MUppStatus muppiOr_32s_C3R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 32-bit signed integer channel image logical or.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp32s *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_32s_C3R

MUppStatus muppiOr_32s_C3R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp32s *)
  • nSrc2Step (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_32s_C3IR_Ctx

MUppStatus muppiOr_32s_C3IR_Ctx(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 32-bit signed integer channel in place image logical or.

Parameters

  • pSrc (const MUpp32s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp32s *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_32s_C3IR

MUppStatus muppiOr_32s_C3IR(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_32s_AC4R_Ctx

MUppStatus muppiOr_32s_AC4R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel image logical or with unmodified alpha.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp32s *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_32s_AC4R

MUppStatus muppiOr_32s_AC4R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp32s *)
  • nSrc2Step (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_32s_AC4IR_Ctx

MUppStatus muppiOr_32s_AC4IR_Ctx(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel in place image logical or with unmodified alpha.

Parameters

  • pSrc (const MUpp32s *): source image pointer
  • nSrcStep (int): source image line step
  • pSrcDst (MUpp32s *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiOr_32s_AC4IR

MUppStatus muppiOr_32s_AC4IR(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_32s_C4R_Ctx

MUppStatus muppiOr_32s_C4R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel image logical or.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp32s *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_32s_C4R

MUppStatus muppiOr_32s_C4R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp32s *)
  • nSrc2Step (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiOr_32s_C4IR_Ctx

MUppStatus muppiOr_32s_C4IR_Ctx(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel in place image logical or.

Parameters

  • pSrc (const MUpp32s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp32s *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiOr_32s_C4IR

MUppStatus muppiOr_32s_C4IR(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

Xor

muppiXor_8u_C1R_Ctx

MUppStatus muppiXor_8u_C1R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 8-bit unsigned char channel image logical exclusive or.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp8u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_8u_C1R

MUppStatus muppiXor_8u_C1R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp8u *)
  • nSrc2Step (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_8u_C1IR_Ctx

MUppStatus muppiXor_8u_C1IR_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 8-bit unsigned char channel in place image logical exclusive or.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_8u_C1IR

MUppStatus muppiXor_8u_C1IR(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_8u_C3R_Ctx

MUppStatus muppiXor_8u_C3R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 8-bit unsigned char channel image logical exclusive or.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp8u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_8u_C3R

MUppStatus muppiXor_8u_C3R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp8u *)
  • nSrc2Step (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_8u_C3IR_Ctx

MUppStatus muppiXor_8u_C3IR_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 8-bit unsigned char channel in place image logical exclusive or.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_8u_C3IR

MUppStatus muppiXor_8u_C3IR(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_8u_AC4R_Ctx

MUppStatus muppiXor_8u_AC4R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel image logical exclusive or with unmodified alpha.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer
  • nSrc1Step (int): source image line step
  • pSrc2 (const MUpp8u *): source image pointer
  • nSrc2Step (int): source image line step
  • pDst (MUpp8u *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_8u_AC4R

MUppStatus muppiXor_8u_AC4R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp8u *)
  • nSrc2Step (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_8u_AC4IR_Ctx

MUppStatus muppiXor_8u_AC4IR_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel in place image logical exclusive or with unmodified alpha.

Parameters

  • pSrc (const MUpp8u *): source image pointer
  • nSrcStep (int): source image line step
  • pSrcDst (MUpp8u *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiXor_8u_AC4IR

MUppStatus muppiXor_8u_AC4IR(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_8u_C4R_Ctx

MUppStatus muppiXor_8u_C4R_Ctx(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel image logical exclusive or.

Parameters

  • pSrc1 (const MUpp8u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp8u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_8u_C4R

MUppStatus muppiXor_8u_C4R(const MUpp8u *pSrc1, int nSrc1Step, const MUpp8u *pSrc2, int nSrc2Step, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp8u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp8u *)
  • nSrc2Step (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_8u_C4IR_Ctx

MUppStatus muppiXor_8u_C4IR_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel in place image logical exclusive or.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_8u_C4IR

MUppStatus muppiXor_8u_C4IR(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_16u_C1R_Ctx

MUppStatus muppiXor_16u_C1R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 16-bit unsigned short channel image logical exclusive or.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp16u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_16u_C1R

MUppStatus muppiXor_16u_C1R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp16u *)
  • nSrc2Step (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_16u_C1IR_Ctx

MUppStatus muppiXor_16u_C1IR_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 16-bit unsigned short channel in place image logical exclusive or.

Parameters

  • pSrc (const MUpp16u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp16u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_16u_C1IR

MUppStatus muppiXor_16u_C1IR(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_16u_C3R_Ctx

MUppStatus muppiXor_16u_C3R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 16-bit unsigned short channel image logical exclusive or.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp16u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_16u_C3R

MUppStatus muppiXor_16u_C3R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp16u *)
  • nSrc2Step (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_16u_C3IR_Ctx

MUppStatus muppiXor_16u_C3IR_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 16-bit unsigned short channel in place image logical exclusive or.

Parameters

  • pSrc (const MUpp16u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp16u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_16u_C3IR

MUppStatus muppiXor_16u_C3IR(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_16u_AC4R_Ctx

MUppStatus muppiXor_16u_AC4R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel image logical exclusive or with unmodified alpha.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer
  • nSrc1Step (int): source image line step
  • pSrc2 (const MUpp16u *): source image pointer
  • nSrc2Step (int): source image line step
  • pDst (MUpp16u *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_16u_AC4R

MUppStatus muppiXor_16u_AC4R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp16u *)
  • nSrc2Step (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_16u_AC4IR_Ctx

MUppStatus muppiXor_16u_AC4IR_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel in place image logical exclusive or with unmodified alpha.

Parameters

  • pSrc (const MUpp16u *): source image pointer
  • nSrcStep (int): source image line step
  • pSrcDst (MUpp16u *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiXor_16u_AC4IR

MUppStatus muppiXor_16u_AC4IR(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_16u_C4R_Ctx

MUppStatus muppiXor_16u_C4R_Ctx(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel image logical exclusive or.

Parameters

  • pSrc1 (const MUpp16u *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp16u *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_16u_C4R

MUppStatus muppiXor_16u_C4R(const MUpp16u *pSrc1, int nSrc1Step, const MUpp16u *pSrc2, int nSrc2Step, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp16u *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp16u *)
  • nSrc2Step (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_16u_C4IR_Ctx

MUppStatus muppiXor_16u_C4IR_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 16-bit unsigned short channel in place image logical exclusive or.

Parameters

  • pSrc (const MUpp16u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp16u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_16u_C4IR

MUppStatus muppiXor_16u_C4IR(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_32s_C1R_Ctx

MUppStatus muppiXor_32s_C1R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 32-bit signed integer channel image logical exclusive or.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp32s *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_32s_C1R

MUppStatus muppiXor_32s_C1R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp32s *)
  • nSrc2Step (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_32s_C1IR_Ctx

MUppStatus muppiXor_32s_C1IR_Ctx(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 32-bit signed integer channel in place image logical exclusive or.

Parameters

  • pSrc (const MUpp32s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp32s *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_32s_C1IR

MUppStatus muppiXor_32s_C1IR(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_32s_C3R_Ctx

MUppStatus muppiXor_32s_C3R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 32-bit signed integer channel image logical exclusive or.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp32s *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_32s_C3R

MUppStatus muppiXor_32s_C3R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp32s *)
  • nSrc2Step (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_32s_C3IR_Ctx

MUppStatus muppiXor_32s_C3IR_Ctx(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 32-bit signed integer channel in place image logical exclusive or.

Parameters

  • pSrc (const MUpp32s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp32s *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_32s_C3IR

MUppStatus muppiXor_32s_C3IR(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_32s_AC4R_Ctx

MUppStatus muppiXor_32s_AC4R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel image logical exclusive or with unmodified alpha.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer
  • nSrc1Step (int): source image line step
  • pSrc2 (const MUpp32s *): source image pointer
  • nSrc2Step (int): source image line step
  • pDst (MUpp32s *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_32s_AC4R

MUppStatus muppiXor_32s_AC4R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp32s *)
  • nSrc2Step (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_32s_AC4IR_Ctx

MUppStatus muppiXor_32s_AC4IR_Ctx(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel in place image logical exclusive or with unmodified alpha.

Parameters

  • pSrc (const MUpp32s *): source image pointer
  • nSrcStep (int): source image line step
  • pSrcDst (MUpp32s *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiXor_32s_AC4IR

MUppStatus muppiXor_32s_AC4IR(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_32s_C4R_Ctx

MUppStatus muppiXor_32s_C4R_Ctx(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel image logical exclusive or.

Parameters

  • pSrc1 (const MUpp32s *): source image pointer.
  • nSrc1Step (int): source image line step.
  • pSrc2 (const MUpp32s *): source image pointer.
  • nSrc2Step (int): source image line step.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_32s_C4R

MUppStatus muppiXor_32s_C4R(const MUpp32s *pSrc1, int nSrc1Step, const MUpp32s *pSrc2, int nSrc2Step, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc1 (const MUpp32s *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp32s *)
  • nSrc2Step (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiXor_32s_C4IR_Ctx

MUppStatus muppiXor_32s_C4IR_Ctx(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 32-bit signed integer channel in place image logical exclusive or.

Parameters

  • pSrc (const MUpp32s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSrcDst (MUpp32s *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiXor_32s_C4IR

MUppStatus muppiXor_32s_C4IR(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

Not

muppiNot_8u_C1R_Ctx

MUppStatus muppiNot_8u_C1R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 8-bit unsigned char channel image logical not.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiNot_8u_C1R

MUppStatus muppiNot_8u_C1R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiNot_8u_C1IR_Ctx

MUppStatus muppiNot_8u_C1IR_Ctx(MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • One 8-bit unsigned char channel in place image logical not.

Parameters

  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiNot_8u_C1IR

MUppStatus muppiNot_8u_C1IR(MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiNot_8u_C3R_Ctx

MUppStatus muppiNot_8u_C3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 8-bit unsigned char channel image logical not.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiNot_8u_C3R

MUppStatus muppiNot_8u_C3R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiNot_8u_C3IR_Ctx

MUppStatus muppiNot_8u_C3IR_Ctx(MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three 8-bit unsigned char channel in place image logical not.

Parameters

  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiNot_8u_C3IR

MUppStatus muppiNot_8u_C3IR(MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiNot_8u_AC4R_Ctx

MUppStatus muppiNot_8u_AC4R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel image logical not with unmodified alpha.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiNot_8u_AC4R

MUppStatus muppiNot_8u_AC4R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiNot_8u_AC4IR_Ctx

MUppStatus muppiNot_8u_AC4IR_Ctx(MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel in place image logical not with unmodified alpha.

Parameters

  • pSrcDst (MUpp8u *): in-place image pointer
  • nSrcDstStep (int): in-place image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiNot_8u_AC4IR

MUppStatus muppiNot_8u_AC4IR(MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiNot_8u_C4R_Ctx

MUppStatus muppiNot_8u_C4R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel image logical not.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiNot_8u_C4R

MUppStatus muppiNot_8u_C4R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiNot_8u_C4IR_Ctx

MUppStatus muppiNot_8u_C4IR_Ctx(MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four 8-bit unsigned char channel in place image logical not.

Parameters

  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiNot_8u_C4IR

MUppStatus muppiNot_8u_C4IR(MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI)

Parameters

  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

AlphaComp

muppiAlphaComp_32f_AC1R

MUppStatus muppiAlphaComp_32f_AC1R(const MUpp32f *pSrc1, int nSrc1Step, const MUpp32f *pSrc2, int nSrc2Step, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, MUppiAlphaOp eAlphaOp)

Parameters

  • pSrc1 (const MUpp32f *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp32f *)
  • nSrc2Step (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • eAlphaOp (MUppiAlphaOp)

Returns

  • Return type: MUppStatus.

muppiAlphaComp_32f_AC4R

MUppStatus muppiAlphaComp_32f_AC4R(const MUpp32f *pSrc1, int nSrc1Step, const MUpp32f *pSrc2, int nSrc2Step, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, MUppiAlphaOp eAlphaOp)

Parameters

  • pSrc1 (const MUpp32f *)
  • nSrc1Step (int)
  • pSrc2 (const MUpp32f *)
  • nSrc2Step (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • eAlphaOp (MUppiAlphaOp)

Returns

  • Return type: MUppStatus.

5.2 Image Color Conversion Functions

This section covers color-space conversion, channel mixing, debayering, and lookup-table based image color operations.

RGBToYUV

muppiRGBToYUV_8u_C3R_Ctx

MUppStatus muppiRGBToYUV_8u_C3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned packed YUV color conversion.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiRGBToYUV_8u_C3R

MUppStatus muppiRGBToYUV_8u_C3R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRGBToYUV_8u_P3R_Ctx

MUppStatus muppiRGBToYUV_8u_P3R_Ctx(const MUpp8u *const pSrc[3], int nSrcStep, MUpp8u *pDst[3], int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned planar RGB to 3 channel 8-bit unsigned planar YUV color conversion.

Parameters

  • pSrc (const MUpp8u *const): source planar image pointer array.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination planar image pointer array.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiRGBToYUV_8u_P3R

MUppStatus muppiRGBToYUV_8u_P3R(const MUpp8u *const pSrc[3], int nSrcStep, MUpp8u *pDst[3], int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *const)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

BGRToYUV

muppiBGRToYUV_8u_C3R_Ctx

MUppStatus muppiBGRToYUV_8u_C3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned packed YUV color conversion.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiBGRToYUV_8u_C3R

MUppStatus muppiBGRToYUV_8u_C3R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

YUVToRGB

muppiYUVToRGB_8u_C3R_Ctx

MUppStatus muppiYUVToRGB_8u_C3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned packed YUV to 3 channel 8-bit unsigned packed RGB color conversion.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiYUVToRGB_8u_C3R

MUppStatus muppiYUVToRGB_8u_C3R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiYUVToRGB_8u_P3R_Ctx

MUppStatus muppiYUVToRGB_8u_P3R_Ctx(const MUpp8u *const pSrc[3], int nSrcStep, MUpp8u *pDst[3], int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned planar YUV to 3 channel 8-bit unsigned planar RGB color conversion.

Parameters

  • pSrc (const MUpp8u *const): source planar image pointer array.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination planar image pointer array.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiYUVToRGB_8u_P3R

MUppStatus muppiYUVToRGB_8u_P3R(const MUpp8u *const pSrc[3], int nSrcStep, MUpp8u *pDst[3], int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *const)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

YUVToBGR

muppiYUVToBGR_8u_C3R_Ctx

MUppStatus muppiYUVToBGR_8u_C3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned packed YUV to 3 channel 8-bit unsigned packed BGR color conversion.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiYUVToBGR_8u_C3R

MUppStatus muppiYUVToBGR_8u_C3R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

RGBToYUV420

muppiRGBToYUV420_8u_P3R_Ctx

MUppStatus muppiRGBToYUV420_8u_P3R_Ctx(const MUpp8u *const pSrc[3], int nSrcStep, MUpp8u *pDst[3], int rDstStep[3], MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned planar RGB to 3 channel 8-bit unsigned planar YUV420 color conversion. images.

Parameters

  • pSrc (const MUpp8u *const): source planar image pointer array.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination planar image pointer array.
  • rDstStep (int): destination planar image line step array.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiRGBToYUV420_8u_P3R

MUppStatus muppiRGBToYUV420_8u_P3R(const MUpp8u *const pSrc[3], int nSrcStep, MUpp8u *pDst[3], int rDstStep[3], MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *const)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • rDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRGBToYUV420_8u_C3P3R_Ctx

MUppStatus muppiRGBToYUV420_8u_C3P3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst[3], int rDstStep[3], MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned planar YUV420 color conversion.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination planar image pointer array.
  • rDstStep (int): destination planar image line step array.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiRGBToYUV420_8u_C3P3R

MUppStatus muppiRGBToYUV420_8u_C3P3R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst[3], int rDstStep[3], MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • rDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

YUV420ToRGB

muppiYUV420ToRGB_8u_P3R_Ctx

MUppStatus muppiYUV420ToRGB_8u_P3R_Ctx(const MUpp8u *const pSrc[3], int rSrcStep[3], MUpp8u *pDst[3], int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned planar YUV420 to 3 channel 8-bit unsigned planar RGB color conversion.

Parameters

  • pSrc (const MUpp8u *const): source planar image pointer array.
  • rSrcStep (int): source planar image line step array.
  • pDst (MUpp8u *): destination planar image pointer array.
  • nDstStep (int): destination planar image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiYUV420ToRGB_8u_P3R

MUppStatus muppiYUV420ToRGB_8u_P3R(const MUpp8u *const pSrc[3], int rSrcStep[3], MUpp8u *pDst[3], int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *const)
  • rSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiYUV420ToRGB_8u_P3C3R_Ctx

MUppStatus muppiYUV420ToRGB_8u_P3C3R_Ctx(const MUpp8u *const pSrc[3], int rSrcStep[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned planar YUV420 to 3 channel 8-bit unsigned packed RGB color conversion.

Parameters

  • pSrc (const MUpp8u *const): source planar image pointer array.
  • rSrcStep (int): source planar image line step array.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiYUV420ToRGB_8u_P3C3R

MUppStatus muppiYUV420ToRGB_8u_P3C3R(const MUpp8u *const pSrc[3], int rSrcStep[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *const)
  • rSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

NV12ToRGB

muppiNV12ToRGB_8u_P2C3R_Ctx

MUppStatus muppiNV12ToRGB_8u_P2C3R_Ctx(const MUpp8u *const pSrc[2], int rSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 2 channel 8-bit unsigned planar NV12 to 3 channel 8-bit unsigned packed RGB color conversion.

Parameters

  • pSrc (const MUpp8u *const): source planar image pointer array (one for Y plane, one for UV plane).
  • rSrcStep (int): source planar image line step. Same value is used for each source plane.
  • pDst (MUpp8u *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiNV12ToRGB_8u_P2C3R

MUppStatus muppiNV12ToRGB_8u_P2C3R(const MUpp8u *const pSrc[2], int rSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *const)
  • rSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

YUV420ToBGR

muppiYUV420ToBGR_8u_P3C3R_Ctx

MUppStatus muppiYUV420ToBGR_8u_P3C3R_Ctx(const MUpp8u *const pSrc[3], int rSrcStep[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned planar YUV420 to 3 channel 8-bit unsigned packed BGR color conversion.

Parameters

  • pSrc (const MUpp8u *const): source planar image pointer array.
  • rSrcStep (int): source planar image line step array.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiYUV420ToBGR_8u_P3C3R

MUppStatus muppiYUV420ToBGR_8u_P3C3R(const MUpp8u *const pSrc[3], int rSrcStep[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *const)
  • rSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

NV12ToBGR

muppiNV12ToBGR_8u_P2C3R_Ctx

MUppStatus muppiNV12ToBGR_8u_P2C3R_Ctx(const MUpp8u *const pSrc[2], int rSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 2 channel 8-bit unsigned planar NV12 to 3 channel 8-bit unsigned packed BGR color conversion.

Parameters

  • pSrc (const MUpp8u *const): source planar image pointer array (one for Y plane, one for UV plane).
  • rSrcStep (int): source planar image line step. Same value is used for each plane.
  • pDst (MUpp8u *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiNV12ToBGR_8u_P2C3R

MUppStatus muppiNV12ToBGR_8u_P2C3R(const MUpp8u *const pSrc[2], int rSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *const)
  • rSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

RGBToYCbCr

muppiRGBToYCbCr_8u_C3R_Ctx

MUppStatus muppiRGBToYCbCr_8u_C3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned packed RGB to 3 channel unsigned 8-bit packed YCbCr color conversion.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiRGBToYCbCr_8u_C3R

MUppStatus muppiRGBToYCbCr_8u_C3R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRGBToYCbCr_8u_P3R_Ctx

MUppStatus muppiRGBToYCbCr_8u_P3R_Ctx(const MUpp8u *const pSrc[3], int nSrcStep, MUpp8u *pDst[3], int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel planar 8-bit unsigned RGB to 3 channel planar 8-bit YCbCr color conversion.

Parameters

  • pSrc (const MUpp8u *const): source planar image pointer array.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination planar image pointer array.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiRGBToYCbCr_8u_P3R

MUppStatus muppiRGBToYCbCr_8u_P3R(const MUpp8u *const pSrc[3], int nSrcStep, MUpp8u *pDst[3], int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *const)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

YCbCrToRGB

muppiYCbCrToRGB_8u_C3R_Ctx

MUppStatus muppiYCbCrToRGB_8u_C3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned packed YCbCr to 3 channel 8-bit unsigned packed RGB color conversion.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiYCbCrToRGB_8u_C3R

MUppStatus muppiYCbCrToRGB_8u_C3R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiYCbCrToRGB_8u_P3R_Ctx

MUppStatus muppiYCbCrToRGB_8u_P3R_Ctx(const MUpp8u *const pSrc[3], int nSrcStep, MUpp8u *pDst[3], int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned planar YCbCr to 3 channel 8-bit unsigned planar RGB color conversion.

Parameters

  • pSrc (const MUpp8u *const): source planar image pointer array.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination planar image pointer array.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiYCbCrToRGB_8u_P3R

MUppStatus muppiYCbCrToRGB_8u_P3R(const MUpp8u *const pSrc[3], int nSrcStep, MUpp8u *pDst[3], int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *const)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

RGBToYCbCr420

muppiRGBToYCbCr420_8u_C3P3R_Ctx

MUppStatus muppiRGBToYCbCr420_8u_C3P3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst[3], int rDstStep[3], MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned planar YCbCr420 color conversion. images.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination planar image pointer array.
  • rDstStep (int): destination planar image line step array.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiRGBToYCbCr420_8u_C3P3R

MUppStatus muppiRGBToYCbCr420_8u_C3P3R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst[3], int rDstStep[3], MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • rDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

YCbCr420ToRGB

muppiYCbCr420ToRGB_8u_P3C3R_Ctx

MUppStatus muppiYCbCr420ToRGB_8u_P3C3R_Ctx(const MUpp8u *const pSrc[3], int rSrcStep[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned planar YCbCr420 to 3 channel 8-bit unsigned packed RGB color conversion.

Parameters

  • pSrc (const MUpp8u *const): source planar image pointer array.
  • rSrcStep (int): source planar image line step array.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiYCbCr420ToRGB_8u_P3C3R

MUppStatus muppiYCbCr420ToRGB_8u_P3C3R(const MUpp8u *const pSrc[3], int rSrcStep[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *const)
  • rSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

BGRToYCbCr420

muppiBGRToYCbCr420_8u_C3P3R_Ctx

MUppStatus muppiBGRToYCbCr420_8u_C3P3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst[3], int rDstStep[3], MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCbCr420 color conversion. images.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination planar image pointer array.
  • rDstStep (int): destination planar image line step array.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiBGRToYCbCr420_8u_C3P3R

MUppStatus muppiBGRToYCbCr420_8u_C3P3R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst[3], int rDstStep[3], MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • rDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

YCbCr420ToBGR

muppiYCbCr420ToBGR_8u_P3C3R_Ctx

MUppStatus muppiYCbCr420ToBGR_8u_P3C3R_Ctx(const MUpp8u *const pSrc[3], int rSrcStep[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned planar YCbCr420 to 3 channel 8-bit unsigned packed BGR color conversion.

Parameters

  • pSrc (const MUpp8u *const): source planar image pointer array.
  • rSrcStep (int): source planar image line step array.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiYCbCr420ToBGR_8u_P3C3R

MUppStatus muppiYCbCr420ToBGR_8u_P3C3R(const MUpp8u *const pSrc[3], int rSrcStep[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *const)
  • rSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

ColorToGray Conversion

muppiRGBToGray_8u_C3C1R_Ctx

MUppStatus muppiRGBToGray_8u_C3C1R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned packed RGB to 1 channel 8-bit unsigned packed Gray conversion.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiRGBToGray_8u_C3C1R

MUppStatus muppiRGBToGray_8u_C3C1R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRGBToGray_8u_AC4C1R_Ctx

MUppStatus muppiRGBToGray_8u_AC4C1R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 8-bit unsigned packed RGB with alpha to 1 channel 8-bit unsigned packed Gray conversion.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiRGBToGray_8u_AC4C1R

MUppStatus muppiRGBToGray_8u_AC4C1R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRGBToGray_16u_C3C1R_Ctx

MUppStatus muppiRGBToGray_16u_C3C1R_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 16-bit unsigned packed RGB to 1 channel 16-bit unsigned packed Gray conversion.

Parameters

  • pSrc (const MUpp16u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiRGBToGray_16u_C3C1R

MUppStatus muppiRGBToGray_16u_C3C1R(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRGBToGray_16u_AC4C1R_Ctx

MUppStatus muppiRGBToGray_16u_AC4C1R_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 16-bit unsigned packed RGB with alpha to 1 channel 16-bit unsigned packed Gray conversion.

Parameters

  • pSrc (const MUpp16u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp16u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiRGBToGray_16u_AC4C1R

MUppStatus muppiRGBToGray_16u_AC4C1R(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRGBToGray_16s_C3C1R_Ctx

MUppStatus muppiRGBToGray_16s_C3C1R_Ctx(const MUpp16s *pSrc, int nSrcStep, MUpp16s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 16-bit signed packed RGB to 1 channel 16-bit signed packed Gray conversion.

Parameters

  • pSrc (const MUpp16s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp16s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiRGBToGray_16s_C3C1R

MUppStatus muppiRGBToGray_16s_C3C1R(const MUpp16s *pSrc, int nSrcStep, MUpp16s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp16s *)
  • nSrcStep (int)
  • pDst (MUpp16s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRGBToGray_16s_AC4C1R_Ctx

MUppStatus muppiRGBToGray_16s_AC4C1R_Ctx(const MUpp16s *pSrc, int nSrcStep, MUpp16s *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 16-bit signed packed RGB with alpha to 1 channel 16-bit signed packed Gray conversion.

Parameters

  • pSrc (const MUpp16s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp16s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiRGBToGray_16s_AC4C1R

MUppStatus muppiRGBToGray_16s_AC4C1R(const MUpp16s *pSrc, int nSrcStep, MUpp16s *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp16s *)
  • nSrcStep (int)
  • pDst (MUpp16s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRGBToGray_32f_C3C1R_Ctx

MUppStatus muppiRGBToGray_32f_C3C1R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 32-bit floating point packed RGB to 1 channel 32-bit floating point packed Gray conversion.

Parameters

  • pSrc (const MUpp32f *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp32f *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiRGBToGray_32f_C3C1R

MUppStatus muppiRGBToGray_32f_C3C1R(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiRGBToGray_32f_AC4C1R_Ctx

MUppStatus muppiRGBToGray_32f_AC4C1R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 32-bit floating point packed RGB with alpha to 1 channel 32-bit floating point packed Gray conversion.

Parameters

  • pSrc (const MUpp32f *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp32f *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiRGBToGray_32f_AC4C1R

MUppStatus muppiRGBToGray_32f_AC4C1R(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

ColorDebayer

muppiCFAToRGB_8u_C1C3R_Ctx

MUppStatus muppiCFAToRGB_8u_C1C3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUppiSize oSrcSize, MUppiRect oSrcROI, MUpp8u *pDst, int nDstStep, MUppiBayerGridPosition eGrid, MUppiInterpolationMode eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 8-bit unsigned packed CFA grayscale Bayer pattern to 3 channel 8-bit unsigned packed RGB conversion.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • oSrcSize (MUppiSize): full source image width and height relative to pSrc.
  • oSrcROI (MUppiRect): rectangle specifying starting source image pixel x and y location relative to pSrc and ROI width and height.
  • pDst (MUpp8u *): destination image pointer
  • nDstStep (int): destination image line step
  • eGrid (MUppiBayerGridPosition): enumeration value specifying bayer grid registration position at location oSrcROI.x, oSrcROI.y relative to pSrc.
  • eInterpolation (MUppiInterpolationMode): MUST be MUPPI_INTER_UNDEFINED
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiCFAToRGB_8u_C1C3R

MUppStatus muppiCFAToRGB_8u_C1C3R(const MUpp8u *pSrc, int nSrcStep, MUppiSize oSrcSize, MUppiRect oSrcROI, MUpp8u *pDst, int nDstStep, MUppiBayerGridPosition eGrid, MUppiInterpolationMode eInterpolation)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • oSrcSize (MUppiSize)
  • oSrcROI (MUppiRect)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • eGrid (MUppiBayerGridPosition)
  • eInterpolation (MUppiInterpolationMode)

Returns

  • Return type: MUppStatus.

muppiCFAToRGB_16u_C1C3R_Ctx

MUppStatus muppiCFAToRGB_16u_C1C3R_Ctx(const MUpp16u *pSrc, int nSrcStep, MUppiSize oSrcSize, MUppiRect oSrcROI, MUpp16u *pDst, int nDstStep, MUppiBayerGridPosition eGrid, MUppiInterpolationMode eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 16-bit unsigned packed CFA grayscale Bayer pattern to 3 channel 16-bit unsigned packed RGB conversion.

Parameters

  • pSrc (const MUpp16u *): source image pointer.
  • nSrcStep (int): source image line step.
  • oSrcSize (MUppiSize): full source image width and height relative to pSrc.
  • oSrcROI (MUppiRect): rectangle specifying starting source image pixel x and y location relative to pSrc and ROI width and height.
  • pDst (MUpp16u *): destination image pointer
  • nDstStep (int): destination image line step
  • eGrid (MUppiBayerGridPosition): enumeration value specifying bayer grid registration position at location oSrcROI.x, oSrcROI.y relative to pSrc.
  • eInterpolation (MUppiInterpolationMode): MUST be MUPPI_INTER_UNDEFINED
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiCFAToRGB_16u_C1C3R

MUppStatus muppiCFAToRGB_16u_C1C3R(const MUpp16u *pSrc, int nSrcStep, MUppiSize oSrcSize, MUppiRect oSrcROI, MUpp16u *pDst, int nDstStep, MUppiBayerGridPosition eGrid, MUppiInterpolationMode eInterpolation)

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • oSrcSize (MUppiSize)
  • oSrcROI (MUppiRect)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • eGrid (MUppiBayerGridPosition)
  • eInterpolation (MUppiInterpolationMode)

Returns

  • Return type: MUppStatus.

ColorTwist

muppiColorTwist32f_8u_C1R_Ctx

MUppStatus muppiColorTwist32f_8u_C1R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const MUpp32f aTwist[3][4], MUppStreamContext muppStreamCtx)

Description

  • 1 channel 8-bit unsigned color twist.
  • An input color twist matrix with floating-point coefficient values is applied within ROI.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aTwist (const MUpp32f): The color twist matrix with floating-point coefficient values.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwist32f_8u_C1R

MUppStatus muppiColorTwist32f_8u_C1R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const MUpp32f aTwist[3][4])

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aTwist (const MUpp32f)

Returns

  • Return type: MUppStatus.

muppiColorTwist32f_8u_C1IR_Ctx

MUppStatus muppiColorTwist32f_8u_C1IR_Ctx(MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const MUpp32f aTwist[3][4], MUppStreamContext muppStreamCtx)

Description

  • 1 channel 8-bit unsigned in place color twist.
  • An input color twist matrix with floating-point coefficient values is applied within ROI.

Parameters

  • pSrcDst (MUpp8u *): in place packed pixel format image pointer.
  • nSrcDstStep (int): in place packed pixel format image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aTwist (const MUpp32f): The color twist matrix with floating-point coefficient values.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwist32f_8u_C1IR

MUppStatus muppiColorTwist32f_8u_C1IR(MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const MUpp32f aTwist[3][4])

Parameters

  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)
  • aTwist (const MUpp32f)

Returns

  • Return type: MUppStatus.

muppiColorTwist32f_8u_C3R_Ctx

MUppStatus muppiColorTwist32f_8u_C3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const MUpp32f aTwist[3][4], MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned color twist.
  • An input color twist matrix with floating-point coefficient values is applied within ROI.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aTwist (const MUpp32f): The color twist matrix with floating-point coefficient values.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwist32f_8u_C3R

MUppStatus muppiColorTwist32f_8u_C3R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const MUpp32f aTwist[3][4])

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aTwist (const MUpp32f)

Returns

  • Return type: MUppStatus.

ColorTwistBatch

muppiColorTwistBatch32f_8u_C1R_Ctx

MUppStatus muppiColorTwistBatch32f_8u_C1R_Ctx(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 8-bit unsigned integer color twist batch.
  • An input color twist matrix with floating-point coefficient values is applied within the ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

Parameters

  • nMin (MUpp32f): Minimum clamp value.
  • nMax (MUpp32f): Maximum saturation and clamp value.
  • oSizeROI (MUppiSize): ROI specification.
  • pBatchList (MUppiColorTwistBatchCXR *): Device memory pointer to nBatchSize list of MUppiColorTwistBatchCXR structures.
  • nBatchSize (int): Number of MUppiColorTwistBatchCXR structures in this call (must be > 1).
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwistBatch32f_8u_C1R

MUppStatus muppiColorTwistBatch32f_8u_C1R(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize)

Parameters

  • nMin (MUpp32f)
  • nMax (MUpp32f)
  • oSizeROI (MUppiSize)
  • pBatchList (MUppiColorTwistBatchCXR *)
  • nBatchSize (int)

Returns

  • Return type: MUppStatus.

muppiColorTwistBatch32f_8u_C1IR_Ctx

MUppStatus muppiColorTwistBatch32f_8u_C1IR_Ctx(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 8-bit unsigned integer in place color twist batch.
  • An input color twist matrix with floating-point coefficient values is applied within ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

Parameters

  • nMin (MUpp32f): Minimum clamp value.
  • nMax (MUpp32f): Maximum saturation and clamp value.
  • oSizeROI (MUppiSize): ROI specification.
  • pBatchList (MUppiColorTwistBatchCXR *): Device memory pointer to nBatchSize list of MUppiColorTwistBatchCXR structures.
  • nBatchSize (int): Number of MUppiColorTwistBatchCXR structures in this call (must be > 1).
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwistBatch32f_8u_C1IR

MUppStatus muppiColorTwistBatch32f_8u_C1IR(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize)

Parameters

  • nMin (MUpp32f)
  • nMax (MUpp32f)
  • oSizeROI (MUppiSize)
  • pBatchList (MUppiColorTwistBatchCXR *)
  • nBatchSize (int)

Returns

  • Return type: MUppStatus.

muppiColorTwistBatch32f_8u_C3R_Ctx

MUppStatus muppiColorTwistBatch32f_8u_C3R_Ctx(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned integer color twist batch.
  • An input color twist matrix with floating-point coefficient values is applied within the ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

Parameters

  • nMin (MUpp32f): Minimum clamp value.
  • nMax (MUpp32f): Maximum saturation and clamp value.
  • oSizeROI (MUppiSize): ROI specification.
  • pBatchList (MUppiColorTwistBatchCXR *): Device memory pointer to nBatchSize list of MUppiColorTwistBatchCXR structures.
  • nBatchSize (int): Number of MUppiColorTwistBatchCXR structures in this call (must be > 1).
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwistBatch32f_8u_C3R

MUppStatus muppiColorTwistBatch32f_8u_C3R(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize)

Parameters

  • nMin (MUpp32f)
  • nMax (MUpp32f)
  • oSizeROI (MUppiSize)
  • pBatchList (MUppiColorTwistBatchCXR *)
  • nBatchSize (int)

Returns

  • Return type: MUppStatus.

muppiColorTwistBatch32f_8u_C3IR_Ctx

MUppStatus muppiColorTwistBatch32f_8u_C3IR_Ctx(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned integer in place color twist batch.
  • An input color twist matrix with floating-point coefficient values is applied within ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

Parameters

  • nMin (MUpp32f): Minimum clamp value.
  • nMax (MUpp32f): Maximum saturation and clamp value.
  • oSizeROI (MUppiSize): ROI specification.
  • pBatchList (MUppiColorTwistBatchCXR *): Device memory pointer to nBatchSize list of MUppiColorTwistBatchCXR structures.
  • nBatchSize (int): Number of MUppiColorTwistBatchCXR structures in this call (must be > 1).
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwistBatch32f_8u_C3IR

MUppStatus muppiColorTwistBatch32f_8u_C3IR(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize)

Parameters

  • nMin (MUpp32f)
  • nMax (MUpp32f)
  • oSizeROI (MUppiSize)
  • pBatchList (MUppiColorTwistBatchCXR *)
  • nBatchSize (int)

Returns

  • Return type: MUppStatus.

muppiColorTwistBatch32f_8u_C4R_Ctx

MUppStatus muppiColorTwistBatch32f_8u_C4R_Ctx(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 8-bit unsigned integer color twist batch.
  • An input color twist matrix with floating-point coefficient values is applied within the ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

Parameters

  • nMin (MUpp32f): Minimum clamp value.
  • nMax (MUpp32f): Maximum saturation and clamp value.
  • oSizeROI (MUppiSize): ROI specification.
  • pBatchList (MUppiColorTwistBatchCXR *): Device memory pointer to nBatchSize list of MUppiColorTwistBatchCXR structures.
  • nBatchSize (int): Number of MUppiColorTwistBatchCXR structures in this call (must be > 1).
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwistBatch32f_8u_C4R

MUppStatus muppiColorTwistBatch32f_8u_C4R(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize)

Parameters

  • nMin (MUpp32f)
  • nMax (MUpp32f)
  • oSizeROI (MUppiSize)
  • pBatchList (MUppiColorTwistBatchCXR *)
  • nBatchSize (int)

Returns

  • Return type: MUppStatus.

muppiColorTwistBatch32f_8u_C4IR_Ctx

MUppStatus muppiColorTwistBatch32f_8u_C4IR_Ctx(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 8-bit unsigned integer in place color twist batch.
  • An input color twist matrix with floating-point coefficient values is applied within ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

Parameters

  • nMin (MUpp32f): Minimum clamp value.
  • nMax (MUpp32f): Maximum saturation and clamp value.
  • oSizeROI (MUppiSize): ROI specification.
  • pBatchList (MUppiColorTwistBatchCXR *): Device memory pointer to nBatchSize list of MUppiColorTwistBatchCXR structures.
  • nBatchSize (int): Number of MUppiColorTwistBatchCXR structures in this call (must be > 1).
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwistBatch32f_8u_C4IR

MUppStatus muppiColorTwistBatch32f_8u_C4IR(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize)

Parameters

  • nMin (MUpp32f)
  • nMax (MUpp32f)
  • oSizeROI (MUppiSize)
  • pBatchList (MUppiColorTwistBatchCXR *)
  • nBatchSize (int)

Returns

  • Return type: MUppStatus.

muppiColorTwistBatch32f_8u_AC4R_Ctx

MUppStatus muppiColorTwistBatch32f_8u_AC4R_Ctx(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 8-bit unsigned integer color twist batch, not affecting Alpha.
  • An input color twist matrix with floating-point coefficient values is applied within the ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

Parameters

  • nMin (MUpp32f): Minimum clamp value.
  • nMax (MUpp32f): Maximum saturation and clamp value.
  • oSizeROI (MUppiSize): ROI specification.
  • pBatchList (MUppiColorTwistBatchCXR *): Device memory pointer to nBatchSize list of MUppiColorTwistBatchCXR structures.
  • nBatchSize (int): Number of MUppiColorTwistBatchCXR structures in this call (must be > 1).
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwistBatch32f_8u_AC4R

MUppStatus muppiColorTwistBatch32f_8u_AC4R(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize)

Parameters

  • nMin (MUpp32f)
  • nMax (MUpp32f)
  • oSizeROI (MUppiSize)
  • pBatchList (MUppiColorTwistBatchCXR *)
  • nBatchSize (int)

Returns

  • Return type: MUppStatus.

muppiColorTwistBatch32f_8u_AC4IR_Ctx

MUppStatus muppiColorTwistBatch32f_8u_AC4IR_Ctx(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 8-bit unsigned integer in place color twist batch, not affecting Alpha.
  • An input color twist matrix with floating-point coefficient values is applied within ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

Parameters

  • nMin (MUpp32f): Minimum clamp value.
  • nMax (MUpp32f): Maximum saturation and clamp value.
  • oSizeROI (MUppiSize): ROI specification.
  • pBatchList (MUppiColorTwistBatchCXR *): Device memory pointer to nBatchSize list of MUppiColorTwistBatchCXR structures.
  • nBatchSize (int): Number of MUppiColorTwistBatchCXR structures in this call (must be > 1).
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwistBatch32f_8u_AC4IR

MUppStatus muppiColorTwistBatch32f_8u_AC4IR(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize)

Parameters

  • nMin (MUpp32f)
  • nMax (MUpp32f)
  • oSizeROI (MUppiSize)
  • pBatchList (MUppiColorTwistBatchCXR *)
  • nBatchSize (int)

Returns

  • Return type: MUppStatus.

muppiColorTwistBatch32fC_8u_C4R_Ctx

MUppStatus muppiColorTwistBatch32fC_8u_C4R_Ctx(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 8-bit unsigned integer color twist with 4x5 matrix including a constant vector (20 coefficients total).
  • An input 4x5 color twist matrix with floating-point coefficient values including a constant (in the fourth column) vector is applied within ROI. For this particular version of the function the result is generated as shown below.
  • dst[0]=aTwist[0][0]*src[0]+aTwist[0][1]src[1]+aTwist[0][2] src[2]+aTwist[0][3]*src[3]+aTwist[0][4]dst[1]=aTwist[1][0]*src[0] +aTwist[1][1]*src[1]+aTwist[1][2]*src[2]+aTwist[1][3]*src[3]+ aTwist[1][4]dst[2]=aTwist[2][0]*src[0]+aTwist[2][1]*src[1]+ aTwist[2][2]*src[2]+aTwist[2][3]*src[3]+aTwist[2][4]dst[3]= aTwist[3][0]*src[0]+aTwist[3][1]*src[1]+aTwist[3][2]*src[2]+ aTwist[3][3]*src[3]+aTwist[3][4]
  • An input color twist matrix with floating-point coefficient values is applied within ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

Parameters

  • nMin (MUpp32f): Minimum clamp value.
  • nMax (MUpp32f): Maximum saturation and clamp value.
  • oSizeROI (MUppiSize): ROI specification.
  • pBatchList (MUppiColorTwistBatchCXR *): Device memory pointer to nBatchSize list of MUppiColorTwistBatchCXR structures.
  • nBatchSize (int): Number of MUppiColorTwistBatchCXR structures in this call (must be > 1).
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwistBatch32fC_8u_C4R

MUppStatus muppiColorTwistBatch32fC_8u_C4R(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize)

Parameters

  • nMin (MUpp32f)
  • nMax (MUpp32f)
  • oSizeROI (MUppiSize)
  • pBatchList (MUppiColorTwistBatchCXR *)
  • nBatchSize (int)

Returns

  • Return type: MUppStatus.

muppiColorTwistBatch32fC_8u_C4IR_Ctx

MUppStatus muppiColorTwistBatch32fC_8u_C4IR_Ctx(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 8-bit unsigned integer in place color twist with 4x5 matrix including a constant vector (20 coefficients total).
  • An input 4x5 color twist matrix with floating-point coefficient values including a constant (in the fourth column) vector is applied within ROI. For this particular version of the function the result is generated as shown below.
  • dst[0]=aTwist[0][0]*src[0]+aTwist[0][1]src[1]+aTwist[0][2] src[2]+aTwist[0][3]*src[3]+aTwist[0][4]dst[1]=aTwist[1][0]*src[0] +aTwist[1][1]*src[1]+aTwist[1][2]*src[2]+aTwist[1][3]*src[3]+ aTwist[1][4]dst[2]=aTwist[2][0]*src[0]+aTwist[2][1]*src[1]+ aTwist[2][2]*src[2]+aTwist[2][3]*src[3]+aTwist[2][4]dst[3]= aTwist[3][0]*src[0]+aTwist[3][1]*src[1]+aTwist[3][2]*src[2]+ aTwist[3][3]*src[3]+aTwist[3][4]
  • An input color twist matrix with floating-point coefficient values is applied within ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

Parameters

  • nMin (MUpp32f): Minimum clamp value.
  • nMax (MUpp32f): Maximum saturation and clamp value.
  • oSizeROI (MUppiSize): ROI specification.
  • pBatchList (MUppiColorTwistBatchCXR *): Device memory pointer to nBatchSize list of MUppiColorTwistBatchCXR structures.
  • nBatchSize (int): Number of MUppiColorTwistBatchCXR structures in this call (must be > 1).
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwistBatch32fC_8u_C4IR

MUppStatus muppiColorTwistBatch32fC_8u_C4IR(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize)

Parameters

  • nMin (MUpp32f)
  • nMax (MUpp32f)
  • oSizeROI (MUppiSize)
  • pBatchList (MUppiColorTwistBatchCXR *)
  • nBatchSize (int)

Returns

  • Return type: MUppStatus.

muppiColorTwistBatch_32f_C1R_Ctx

MUppStatus muppiColorTwistBatch_32f_C1R_Ctx(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 32-bit floating point color twist batch.
  • An input color twist matrix with floating-point coefficient values is applied within the ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

Parameters

  • nMin (MUpp32f): Minimum clamp value.
  • nMax (MUpp32f): Maximum saturation and clamp value.
  • oSizeROI (MUppiSize): ROI specification.
  • pBatchList (MUppiColorTwistBatchCXR *): Device memory pointer to nBatchSize list of MUppiColorTwistBatchCXR structures.
  • nBatchSize (int): Number of MUppiColorTwistBatchCXR structures in this call (must be > 1).
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwistBatch_32f_C1R

MUppStatus muppiColorTwistBatch_32f_C1R(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize)

Parameters

  • nMin (MUpp32f)
  • nMax (MUpp32f)
  • oSizeROI (MUppiSize)
  • pBatchList (MUppiColorTwistBatchCXR *)
  • nBatchSize (int)

Returns

  • Return type: MUppStatus.

muppiColorTwistBatch_32f_C1IR_Ctx

MUppStatus muppiColorTwistBatch_32f_C1IR_Ctx(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 32-bit floating point in place color twist batch.
  • An input color twist matrix with floating-point coefficient values is applied within ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

Parameters

  • nMin (MUpp32f): Minimum clamp value.
  • nMax (MUpp32f): Maximum saturation and clamp value.
  • oSizeROI (MUppiSize): ROI specification.
  • pBatchList (MUppiColorTwistBatchCXR *): Device memory pointer to nBatchSize list of MUppiColorTwistBatchCXR structures.
  • nBatchSize (int): Number of MUppiColorTwistBatchCXR structures in this call (must be > 1).
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwistBatch_32f_C1IR

MUppStatus muppiColorTwistBatch_32f_C1IR(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize)

Parameters

  • nMin (MUpp32f)
  • nMax (MUpp32f)
  • oSizeROI (MUppiSize)
  • pBatchList (MUppiColorTwistBatchCXR *)
  • nBatchSize (int)

Returns

  • Return type: MUppStatus.

muppiColorTwistBatch_32f_C3R_Ctx

MUppStatus muppiColorTwistBatch_32f_C3R_Ctx(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 32-bit floating point color twist batch.
  • An input color twist matrix with floating-point coefficient values is applied within the ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

Parameters

  • nMin (MUpp32f): Minimum clamp value.
  • nMax (MUpp32f): Maximum saturation and clamp value.
  • oSizeROI (MUppiSize): ROI specification.
  • pBatchList (MUppiColorTwistBatchCXR *): Device memory pointer to nBatchSize list of MUppiColorTwistBatchCXR structures.
  • nBatchSize (int): Number of MUppiColorTwistBatchCXR structures in this call (must be > 1).
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwistBatch_32f_C3R

MUppStatus muppiColorTwistBatch_32f_C3R(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize)

Parameters

  • nMin (MUpp32f)
  • nMax (MUpp32f)
  • oSizeROI (MUppiSize)
  • pBatchList (MUppiColorTwistBatchCXR *)
  • nBatchSize (int)

Returns

  • Return type: MUppStatus.

muppiColorTwistBatch_32f_C3IR_Ctx

MUppStatus muppiColorTwistBatch_32f_C3IR_Ctx(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 32-bit floating point in place color twist batch.
  • An input color twist matrix with floating-point coefficient values is applied within ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

Parameters

  • nMin (MUpp32f): Minimum clamp value.
  • nMax (MUpp32f): Maximum saturation and clamp value.
  • oSizeROI (MUppiSize): ROI specification.
  • pBatchList (MUppiColorTwistBatchCXR *): Device memory pointer to nBatchSize list of MUppiColorTwistBatchCXR structures.
  • nBatchSize (int): Number of MUppiColorTwistBatchCXR structures in this call (must be > 1).
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwistBatch_32f_C3IR

MUppStatus muppiColorTwistBatch_32f_C3IR(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize)

Parameters

  • nMin (MUpp32f)
  • nMax (MUpp32f)
  • oSizeROI (MUppiSize)
  • pBatchList (MUppiColorTwistBatchCXR *)
  • nBatchSize (int)

Returns

  • Return type: MUppStatus.

muppiColorTwistBatch_32f_C4R_Ctx

MUppStatus muppiColorTwistBatch_32f_C4R_Ctx(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 32-bit floating point color twist batch.
  • An input color twist matrix with floating-point coefficient values is applied within the ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

Parameters

  • nMin (MUpp32f): Minimum clamp value.
  • nMax (MUpp32f): Maximum saturation and clamp value.
  • oSizeROI (MUppiSize): ROI specification.
  • pBatchList (MUppiColorTwistBatchCXR *): Device memory pointer to nBatchSize list of MUppiColorTwistBatchCXR structures.
  • nBatchSize (int): Number of MUppiColorTwistBatchCXR structures in this call (must be > 1).
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwistBatch_32f_C4R

MUppStatus muppiColorTwistBatch_32f_C4R(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize)

Parameters

  • nMin (MUpp32f)
  • nMax (MUpp32f)
  • oSizeROI (MUppiSize)
  • pBatchList (MUppiColorTwistBatchCXR *)
  • nBatchSize (int)

Returns

  • Return type: MUppStatus.

muppiColorTwistBatch_32f_C4IR_Ctx

MUppStatus muppiColorTwistBatch_32f_C4IR_Ctx(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 32-bit floating point in place color twist batch.
  • An input color twist matrix with floating-point coefficient values is applied within ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

Parameters

  • nMin (MUpp32f): Minimum clamp value.
  • nMax (MUpp32f): Maximum saturation and clamp value.
  • oSizeROI (MUppiSize): ROI specification.
  • pBatchList (MUppiColorTwistBatchCXR *): Device memory pointer to nBatchSize list of MUppiColorTwistBatchCXR structures.
  • nBatchSize (int): Number of MUppiColorTwistBatchCXR structures in this call (must be > 1).
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwistBatch_32f_C4IR

MUppStatus muppiColorTwistBatch_32f_C4IR(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize)

Parameters

  • nMin (MUpp32f)
  • nMax (MUpp32f)
  • oSizeROI (MUppiSize)
  • pBatchList (MUppiColorTwistBatchCXR *)
  • nBatchSize (int)

Returns

  • Return type: MUppStatus.

muppiColorTwistBatch_32f_AC4R_Ctx

MUppStatus muppiColorTwistBatch_32f_AC4R_Ctx(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 32-bit floating point color twist batch, not affecting Alpha.
  • An input color twist matrix with floating-point coefficient values is applied within the ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

Parameters

  • nMin (MUpp32f): Minimum clamp value.
  • nMax (MUpp32f): Maximum saturation and clamp value.
  • oSizeROI (MUppiSize): ROI specification.
  • pBatchList (MUppiColorTwistBatchCXR *): Device memory pointer to nBatchSize list of MUppiColorTwistBatchCXR structures.
  • nBatchSize (int): Number of MUppiColorTwistBatchCXR structures in this call (must be > 1).
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwistBatch_32f_AC4R

MUppStatus muppiColorTwistBatch_32f_AC4R(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize)

Parameters

  • nMin (MUpp32f)
  • nMax (MUpp32f)
  • oSizeROI (MUppiSize)
  • pBatchList (MUppiColorTwistBatchCXR *)
  • nBatchSize (int)

Returns

  • Return type: MUppStatus.

muppiColorTwistBatch_32f_AC4IR_Ctx

MUppStatus muppiColorTwistBatch_32f_AC4IR_Ctx(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 32-bit floating point in place color twist batch, not affecting Alpha.
  • An input color twist matrix with floating-point coefficient values is applied within ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

Parameters

  • nMin (MUpp32f): Minimum clamp value.
  • nMax (MUpp32f): Maximum saturation and clamp value.
  • oSizeROI (MUppiSize): ROI specification.
  • pBatchList (MUppiColorTwistBatchCXR *): Device memory pointer to nBatchSize list of MUppiColorTwistBatchCXR structures.
  • nBatchSize (int): Number of MUppiColorTwistBatchCXR structures in this call (must be > 1).
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwistBatch_32f_AC4IR

MUppStatus muppiColorTwistBatch_32f_AC4IR(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize)

Parameters

  • nMin (MUpp32f)
  • nMax (MUpp32f)
  • oSizeROI (MUppiSize)
  • pBatchList (MUppiColorTwistBatchCXR *)
  • nBatchSize (int)

Returns

  • Return type: MUppStatus.

muppiColorTwistBatch_32fC_C4R_Ctx

MUppStatus muppiColorTwistBatch_32fC_C4R_Ctx(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 32-bit floating point color twist with 4x5 matrix including a constant vector (20 coefficients total).
  • An input 4x5 color twist matrix with floating-point coefficient values including a constant (in the fourth column) vector is applied within ROI. For this particular version of the function the result is generated as shown below.
  • dst[0]=aTwist[0][0]*src[0]+aTwist[0][1]src[1]+aTwist[0][2] src[2]+aTwist[0][3]*src[3]+aTwist[0][4]dst[1]=aTwist[1][0]*src[0] +aTwist[1][1]*src[1]+aTwist[1][2]*src[2]+aTwist[1][3]*src[3]+ aTwist[1][4]dst[2]=aTwist[2][0]*src[0]+aTwist[2][1]*src[1]+ aTwist[2][2]*src[2]+aTwist[2][3]*src[3]+aTwist[2][4]dst[3]= aTwist[3][0]*src[0]+aTwist[3][1]*src[1]+aTwist[3][2]*src[2]+ aTwist[3][3]*src[3]+aTwist[3][4]
  • An input color twist matrix with floating-point coefficient values is applied within ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

Parameters

  • nMin (MUpp32f): Minimum clamp value.
  • nMax (MUpp32f): Maximum saturation and clamp value.
  • oSizeROI (MUppiSize): ROI specification.
  • pBatchList (MUppiColorTwistBatchCXR *): Device memory pointer to nBatchSize list of MUppiColorTwistBatchCXR structures.
  • nBatchSize (int): Number of MUppiColorTwistBatchCXR structures in this call (must be > 1).
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwistBatch_32fC_C4R

MUppStatus muppiColorTwistBatch_32fC_C4R(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize)

Parameters

  • nMin (MUpp32f)
  • nMax (MUpp32f)
  • oSizeROI (MUppiSize)
  • pBatchList (MUppiColorTwistBatchCXR *)
  • nBatchSize (int)

Returns

  • Return type: MUppStatus.

muppiColorTwistBatch_32fC_C4IR_Ctx

MUppStatus muppiColorTwistBatch_32fC_C4IR_Ctx(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 4 channel in place 32-bit floating point color twist with 4x5 matrix including a constant vector (20 coefficients total).
  • An input 4x5 color twist matrix with floating-point coefficient values including a constant (in the fourth column) vector is applied within ROI. For this particular version of the function the result is generated as shown below.
  • dst[0]=aTwist[0][0]*src[0]+aTwist[0][1]src[1]+aTwist[0][2] src[2]+aTwist[0][3]*src[3]+aTwist[0][4]dst[1]=aTwist[1][0]*src[0] +aTwist[1][1]*src[1]+aTwist[1][2]*src[2]+aTwist[1][3]*src[3]+ aTwist[1][4]dst[2]=aTwist[2][0]*src[0]+aTwist[2][1]*src[1]+ aTwist[2][2]*src[2]+aTwist[2][3]*src[3]+aTwist[2][4]dst[3]= aTwist[3][0]*src[0]+aTwist[3][1]*src[1]+aTwist[3][2]*src[2]+ aTwist[3][3]*src[3]+aTwist[3][4]
  • An input color twist matrix with floating-point coefficient values is applied within ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

Parameters

  • nMin (MUpp32f): Minimum clamp value.
  • nMax (MUpp32f): Maximum saturation and clamp value.
  • oSizeROI (MUppiSize): ROI specification.
  • pBatchList (MUppiColorTwistBatchCXR *): Device memory pointer to nBatchSize list of MUppiColorTwistBatchCXR structures.
  • nBatchSize (int): Number of MUppiColorTwistBatchCXR structures in this call (must be > 1).
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiColorTwistBatch_32fC_C4IR

MUppStatus muppiColorTwistBatch_32fC_C4IR(MUpp32f nMin, MUpp32f nMax, MUppiSize oSizeROI, MUppiColorTwistBatchCXR *pBatchList, int nBatchSize)

Parameters

  • nMin (MUpp32f)
  • nMax (MUpp32f)
  • oSizeROI (MUppiSize)
  • pBatchList (MUppiColorTwistBatchCXR *)
  • nBatchSize (int)

Returns

  • Return type: MUppStatus.

ColorLUTLinear

muppiLUT_Linear_8u_C1R_Ctx

MUppStatus muppiLUT_Linear_8u_C1R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const MUpp32s *pValues, const MUpp32s *pLevels, int nLevels, MUppStreamContext muppStreamCtx)

Description

  • 8-bit unsigned linear interpolated look-up-table color conversion.
  • The LUT is derived from a set of user defined mapping points through linear interpolation.
  • NOTE: As of the 5.0 release of MUPP, the pValues and pLevels pointers need to be device memory pointers.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • pValues (const MUpp32s *): Pointer to an array of user defined OUTPUT values (this is now a device memory pointer)
  • pLevels (const MUpp32s *): Pointer to an array of user defined INPUT values (this is now a device memory pointer)
  • nLevels (int): Number of user defined number of input/output mapping points (levels)
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

  • MUPP_LUT_NUMBER_OF_LEVELS_ERROR: if the number of levels is less than 2 or greater than 256.

muppiLUT_Linear_8u_C1R

MUppStatus muppiLUT_Linear_8u_C1R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const MUpp32s *pValues, const MUpp32s *pLevels, int nLevels)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • pValues (const MUpp32s *)
  • pLevels (const MUpp32s *)
  • nLevels (int)

Returns

  • Return type: MUppStatus.

muppiLUT_Linear_8u_C3R_Ctx

MUppStatus muppiLUT_Linear_8u_C3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const MUpp32s *pValues[3], const MUpp32s *pLevels[3], int nLevels[3], MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned linear interpolated look-up-table color conversion.
  • The LUT is derived from a set of user defined mapping points through linear interpolation.
  • NOTE: As of the 5.0 release of MUPP, the pValues and pLevels pointers need to be host memory pointers to arrays of device memory pointers.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • pValues (const MUpp32s *): Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values.
  • pLevels (const MUpp32s *): Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values.
  • nLevels (int): Host pointer to an array of 3 user defined number of input/output mapping points, one per color CHANNEL.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

  • MUPP_LUT_NUMBER_OF_LEVELS_ERROR: if the number of levels is less than 2 or greater than 256.

muppiLUT_Linear_8u_C3R

MUppStatus muppiLUT_Linear_8u_C3R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const MUpp32s *pValues[3], const MUpp32s *pLevels[3], int nLevels[3])

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • pValues (const MUpp32s *)
  • pLevels (const MUpp32s *)
  • nLevels (int)

Returns

  • Return type: MUppStatus.

5.3 Image Data Exchange And Initialization Functions

This section covers initialization, copy, layout conversion, transpose, and channel-routing operations for image data in device memory.

Set

muppiSet_8u_C1R

MUppStatus muppiSet_8u_C1R(const MUpp8u nValue, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • nValue (const MUpp8u)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiSet_8u_C3R

MUppStatus muppiSet_8u_C3R(const MUpp8u aValue[3], MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • aValue (const MUpp8u)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiSet_32f_C1R

MUppStatus muppiSet_32f_C1R(const MUpp32f nValue, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • nValue (const MUpp32f)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiSet_32f_C3R

MUppStatus muppiSet_32f_C3R(const MUpp32f aValue[3], MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • aValue (const MUpp32f)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

Masked Set

muppiSet_32f_C1MR

MUppStatus muppiSet_32f_C1MR(MUpp32f nValue, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, int nMaskStep)

Parameters

  • nValue (MUpp32f)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • nMaskStep (int)

Returns

  • Return type: MUppStatus.

muppiSet_32f_C3MR

MUppStatus muppiSet_32f_C3MR(const MUpp32f aValue[3], MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, int nMaskStep)

Parameters

  • aValue (const MUpp32f)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • nMaskStep (int)

Returns

  • Return type: MUppStatus.

Copy

muppiCopy_8u_C1R_Ctx

MUppStatus muppiCopy_8u_C1R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 8-bit unsigned image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_8u_C1R

MUppStatus muppiCopy_8u_C1R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiCopy_8u_C3R_Ctx

MUppStatus muppiCopy_8u_C3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three channel 8-bit unsigned image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_8u_C3R

MUppStatus muppiCopy_8u_C3R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiCopy_8u_C4R_Ctx

MUppStatus muppiCopy_8u_C4R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 8-bit unsigned image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_8u_C4R

MUppStatus muppiCopy_8u_C4R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiCopy_32f_C1R_Ctx

MUppStatus muppiCopy_32f_C1R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 32-bit floating point image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_32f_C1R

MUppStatus muppiCopy_32f_C1R(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiCopy_32f_C3R_Ctx

MUppStatus muppiCopy_32f_C3R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three channel 32-bit floating point image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_32f_C3R

MUppStatus muppiCopy_32f_C3R(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiCopy_32fc_C1R_Ctx

MUppStatus muppiCopy_32fc_C1R_Ctx(const MUpp32fc *pSrc, int nSrcStep, MUpp32fc *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 32-bit floating-point complex image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy functions.

Parameters

  • pSrc (const MUpp32fc *)
  • nSrcStep (int)
  • pDst (MUpp32fc *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_32fc_C1R

MUppStatus muppiCopy_32fc_C1R(const MUpp32fc *pSrc, int nSrcStep, MUpp32fc *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32fc *)
  • nSrcStep (int)
  • pDst (MUpp32fc *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiCopy_32fc_C2R_Ctx

MUppStatus muppiCopy_32fc_C2R_Ctx(const MUpp32fc *pSrc, int nSrcStep, MUpp32fc *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Two-channel 32-bit floating-point complex image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy functions.

Parameters

  • pSrc (const MUpp32fc *)
  • nSrcStep (int)
  • pDst (MUpp32fc *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_32fc_C2R

MUppStatus muppiCopy_32fc_C2R(const MUpp32fc *pSrc, int nSrcStep, MUpp32fc *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32fc *)
  • nSrcStep (int)
  • pDst (MUpp32fc *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiCopy_32fc_C3R_Ctx

MUppStatus muppiCopy_32fc_C3R_Ctx(const MUpp32fc *pSrc, int nSrcStep, MUpp32fc *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 32-bit floating-point complex image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy functions.

Parameters

  • pSrc (const MUpp32fc *)
  • nSrcStep (int)
  • pDst (MUpp32fc *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_32fc_C3R

MUppStatus muppiCopy_32fc_C3R(const MUpp32fc *pSrc, int nSrcStep, MUpp32fc *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32fc *)
  • nSrcStep (int)
  • pDst (MUpp32fc *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiCopy_32fc_C4R_Ctx

MUppStatus muppiCopy_32fc_C4R_Ctx(const MUpp32fc *pSrc, int nSrcStep, MUpp32fc *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four-channel 32-bit floating-point complex image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy functions.

Parameters

  • pSrc (const MUpp32fc *)
  • nSrcStep (int)
  • pDst (MUpp32fc *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_32fc_C4R

MUppStatus muppiCopy_32fc_C4R(const MUpp32fc *pSrc, int nSrcStep, MUpp32fc *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32fc *)
  • nSrcStep (int)
  • pDst (MUpp32fc *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

Extract Channel Copy

muppiCopy_8u_C3C1R_Ctx

MUppStatus muppiCopy_8u_C3C1R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three-channel to single-channel 8-bit unsigned image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy_CXC1 functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_8u_C3C1R

MUppStatus muppiCopy_8u_C3C1R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiCopy_8u_C4C1R_Ctx

MUppStatus muppiCopy_8u_C4C1R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four-channel to single-channel 8-bit unsigned image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy_CXC1 functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_8u_C4C1R

MUppStatus muppiCopy_8u_C4C1R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

Insert Channel Copy

muppiCopy_8u_C1C3R_Ctx

MUppStatus muppiCopy_8u_C1C3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Single-channel to three-channel 8-bit unsigned image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy_C1CX functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_8u_C1C3R

MUppStatus muppiCopy_8u_C1C3R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiCopy_8u_C1C4R_Ctx

MUppStatus muppiCopy_8u_C1C4R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Single-channel to four-channel 8-bit unsigned image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy_C1CX functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_8u_C1C4R

MUppStatus muppiCopy_8u_C1C4R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

Packed To Planar Channel Copy

muppiCopy_8u_C3P3R_Ctx

MUppStatus muppiCopy_8u_C3P3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *const aDst[3], int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 8-bit unsigned packed to planar image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy_CXPX functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • aDst (MUpp8u *const)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_8u_C3P3R

MUppStatus muppiCopy_8u_C3P3R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *const aDst[3], int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • aDst (MUpp8u *const)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiCopy_8u_C4P4R_Ctx

MUppStatus muppiCopy_8u_C4P4R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *const aDst[4], int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four-channel 8-bit unsigned packed to planar image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy_CXPX functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • aDst (MUpp8u *const)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_8u_C4P4R

MUppStatus muppiCopy_8u_C4P4R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *const aDst[4], int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • aDst (MUpp8u *const)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiCopy_32f_C3P3R_Ctx

MUppStatus muppiCopy_32f_C3P3R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUpp32f *const aDst[3], int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 32-bit float packed to planar image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy_CXPX functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • aDst (MUpp32f *const)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_32f_C3P3R

MUppStatus muppiCopy_32f_C3P3R(const MUpp32f *pSrc, int nSrcStep, MUpp32f *const aDst[3], int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • aDst (MUpp32f *const)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiCopy_32f_C4P4R_Ctx

MUppStatus muppiCopy_32f_C4P4R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUpp32f *const aDst[4], int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four-channel 32-bit float packed to planar image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy_CXPX functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • aDst (MUpp32f *const)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_32f_C4P4R

MUppStatus muppiCopy_32f_C4P4R(const MUpp32f *pSrc, int nSrcStep, MUpp32f *const aDst[4], int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • aDst (MUpp32f *const)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

Planar To Packed Channel Copy

muppiCopy_8u_P3C3R_Ctx

MUppStatus muppiCopy_8u_P3C3R_Ctx(const MUpp8u *const aSrc[3], int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 8-bit unsigned planar to packed image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy_PXCX functions.

Parameters

  • aSrc (const MUpp8u *const)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_8u_P3C3R

MUppStatus muppiCopy_8u_P3C3R(const MUpp8u *const aSrc[3], int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • aSrc (const MUpp8u *const)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiCopy_8u_P4C4R_Ctx

MUppStatus muppiCopy_8u_P4C4R_Ctx(const MUpp8u *const aSrc[4], int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four-channel 8-bit unsigned planar to packed image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy_PXCX functions.

Parameters

  • aSrc (const MUpp8u *const)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_8u_P4C4R

MUppStatus muppiCopy_8u_P4C4R(const MUpp8u *const aSrc[4], int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • aSrc (const MUpp8u *const)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiCopy_32f_P3C3R_Ctx

MUppStatus muppiCopy_32f_P3C3R_Ctx(const MUpp32f *const aSrc[3], int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 32-bit float planar to packed image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy_PXCX functions.

Parameters

  • aSrc (const MUpp32f *const)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_32f_P3C3R

MUppStatus muppiCopy_32f_P3C3R(const MUpp32f *const aSrc[3], int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • aSrc (const MUpp32f *const)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiCopy_32f_P4C4R_Ctx

MUppStatus muppiCopy_32f_P4C4R_Ctx(const MUpp32f *const aSrc[4], int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • Four-channel 32-bit float planar to packed image copy.
  • For common parameter descriptions, see Common parameters for muppiCopy_PXCX functions.

Parameters

  • aSrc (const MUpp32f *const)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCopy_32f_P4C4R

MUppStatus muppiCopy_32f_P4C4R(const MUpp32f *const aSrc[4], int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • aSrc (const MUpp32f *const)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

Copy Constant Border

muppiCopyConstBorder_8u_C1R

MUppStatus muppiCopyConstBorder_8u_C1R(const MUpp8u *pSrc, int nSrcStep, MUppiSize oSrcSizeROI, MUpp8u *pDst, int nDstStep, MUppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, MUpp8u nValue)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • oSrcSizeROI (MUppiSize)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • nTopBorderHeight (int)
  • nLeftBorderWidth (int)
  • nValue (MUpp8u)

Returns

  • Return type: MUppStatus.

muppiCopyConstBorder_8u_C3R

MUppStatus muppiCopyConstBorder_8u_C3R(const MUpp8u *pSrc, int nSrcStep, MUppiSize oSrcSizeROI, MUpp8u *pDst, int nDstStep, MUppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const MUpp8u aValue[3])

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • oSrcSizeROI (MUppiSize)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • nTopBorderHeight (int)
  • nLeftBorderWidth (int)
  • aValue (const MUpp8u)

Returns

  • Return type: MUppStatus.

muppiCopyConstBorder_32f_C1R

MUppStatus muppiCopyConstBorder_32f_C1R(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSrcSizeROI, MUpp32f *pDst, int nDstStep, MUppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, MUpp32f nValue)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSrcSizeROI (MUppiSize)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • nTopBorderHeight (int)
  • nLeftBorderWidth (int)
  • nValue (MUpp32f)

Returns

  • Return type: MUppStatus.

muppiCopyConstBorder_32f_C3R

MUppStatus muppiCopyConstBorder_32f_C3R(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSrcSizeROI, MUpp32f *pDst, int nDstStep, MUppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const MUpp32f aValue[3])

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSrcSizeROI (MUppiSize)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • nTopBorderHeight (int)
  • nLeftBorderWidth (int)
  • aValue (const MUpp32f)

Returns

  • Return type: MUppStatus.

Copy Replicate Border

muppiCopyReplicateBorder_32f_C1R

MUppStatus muppiCopyReplicateBorder_32f_C1R(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSrcSizeROI, MUpp32f *pDst, int nDstStep, MUppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSrcSizeROI (MUppiSize)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • nTopBorderHeight (int)
  • nLeftBorderWidth (int)

Returns

  • Return type: MUppStatus.

muppiCopyReplicateBorder_32f_C3R

MUppStatus muppiCopyReplicateBorder_32f_C3R(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSrcSizeROI, MUpp32f *pDst, int nDstStep, MUppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSrcSizeROI (MUppiSize)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • nTopBorderHeight (int)
  • nLeftBorderWidth (int)

Returns

  • Return type: MUppStatus.

Copy Wrap Border

muppiCopyWrapBorder_32f_C1R

MUppStatus muppiCopyWrapBorder_32f_C1R(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSrcSizeROI, MUpp32f *pDst, int nDstStep, MUppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSrcSizeROI (MUppiSize)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • nTopBorderHeight (int)
  • nLeftBorderWidth (int)

Returns

  • Return type: MUppStatus.

muppiCopyWrapBorder_32f_C3R

MUppStatus muppiCopyWrapBorder_32f_C3R(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSrcSizeROI, MUpp32f *pDst, int nDstStep, MUppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSrcSizeROI (MUppiSize)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • nTopBorderHeight (int)
  • nLeftBorderWidth (int)

Returns

  • Return type: MUppStatus.

Scale To Higher Bit Depth

muppiScale_8u32f_C3R

MUppStatus muppiScale_8u32f_C3R(const MUpp8u *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, MUpp32f nMin, MUpp32f nMax)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • nMin (MUpp32f)
  • nMax (MUpp32f)

Returns

  • Return type: MUppStatus.

Scale To Lower Bit Depth

muppiScale_32f8u_C3R

MUppStatus muppiScale_32f8u_C3R(const MUpp32f *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUpp32f nMin, MUpp32f nMax)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • nMin (MUpp32f)
  • nMax (MUpp32f)

Returns

  • Return type: MUppStatus.

Duplicate Channel

muppiDup_32f_C1C3R

MUppStatus muppiDup_32f_C1C3R(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oDstSizeROI)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

Transpose

muppiTranspose_8u_C1R_Ctx

MUppStatus muppiTranspose_8u_C1R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSrcROI, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 8-bit unsigned int image transpose.
  • For common parameter descriptions, see Common parameters for muppiTranspose functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiTranspose_8u_C1R

MUppStatus muppiTranspose_8u_C1R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSrcROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiTranspose_8u_C3R_Ctx

MUppStatus muppiTranspose_8u_C3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSrcROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned int image transpose.
  • For common parameter descriptions, see Common parameters for muppiTranspose functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiTranspose_8u_C3R

MUppStatus muppiTranspose_8u_C3R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSrcROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiTranspose_8u_C4R_Ctx

MUppStatus muppiTranspose_8u_C4R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSrcROI, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 8-bit unsigned int image transpose.
  • For common parameter descriptions, see Common parameters for muppiTranspose functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiTranspose_8u_C4R

MUppStatus muppiTranspose_8u_C4R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSrcROI)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiTranspose_16u_C1R_Ctx

MUppStatus muppiTranspose_16u_C1R_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pDst, int nDstStep, MUppiSize oSrcROI, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 16-bit unsigned int image transpose.
  • For common parameter descriptions, see Common parameters for muppiTranspose functions.

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiTranspose_16u_C1R

MUppStatus muppiTranspose_16u_C1R(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pDst, int nDstStep, MUppiSize oSrcROI)

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiTranspose_16u_C3R_Ctx

MUppStatus muppiTranspose_16u_C3R_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pDst, int nDstStep, MUppiSize oSrcROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 16-bit unsigned int image transpose.
  • For common parameter descriptions, see Common parameters for muppiTranspose functions.

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiTranspose_16u_C3R

MUppStatus muppiTranspose_16u_C3R(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pDst, int nDstStep, MUppiSize oSrcROI)

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiTranspose_16u_C4R_Ctx

MUppStatus muppiTranspose_16u_C4R_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pDst, int nDstStep, MUppiSize oSrcROI, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 16-bit unsigned int image transpose.
  • For common parameter descriptions, see Common parameters for muppiTranspose functions.

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiTranspose_16u_C4R

MUppStatus muppiTranspose_16u_C4R(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pDst, int nDstStep, MUppiSize oSrcROI)

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiTranspose_16s_C1R_Ctx

MUppStatus muppiTranspose_16s_C1R_Ctx(const MUpp16s *pSrc, int nSrcStep, MUpp16s *pDst, int nDstStep, MUppiSize oSrcROI, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 16-bit signed int image transpose.
  • For common parameter descriptions, see Common parameters for muppiTranspose functions.

Parameters

  • pSrc (const MUpp16s *)
  • nSrcStep (int)
  • pDst (MUpp16s *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiTranspose_16s_C1R

MUppStatus muppiTranspose_16s_C1R(const MUpp16s *pSrc, int nSrcStep, MUpp16s *pDst, int nDstStep, MUppiSize oSrcROI)

Parameters

  • pSrc (const MUpp16s *)
  • nSrcStep (int)
  • pDst (MUpp16s *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiTranspose_16s_C3R_Ctx

MUppStatus muppiTranspose_16s_C3R_Ctx(const MUpp16s *pSrc, int nSrcStep, MUpp16s *pDst, int nDstStep, MUppiSize oSrcROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 16-bit signed int image transpose.
  • For common parameter descriptions, see Common parameters for muppiTranspose functions.

Parameters

  • pSrc (const MUpp16s *)
  • nSrcStep (int)
  • pDst (MUpp16s *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiTranspose_16s_C3R

MUppStatus muppiTranspose_16s_C3R(const MUpp16s *pSrc, int nSrcStep, MUpp16s *pDst, int nDstStep, MUppiSize oSrcROI)

Parameters

  • pSrc (const MUpp16s *)
  • nSrcStep (int)
  • pDst (MUpp16s *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiTranspose_16s_C4R_Ctx

MUppStatus muppiTranspose_16s_C4R_Ctx(const MUpp16s *pSrc, int nSrcStep, MUpp16s *pDst, int nDstStep, MUppiSize oSrcROI, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 16-bit signed int image transpose.
  • For common parameter descriptions, see Common parameters for muppiTranspose functions.

Parameters

  • pSrc (const MUpp16s *)
  • nSrcStep (int)
  • pDst (MUpp16s *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiTranspose_16s_C4R

MUppStatus muppiTranspose_16s_C4R(const MUpp16s *pSrc, int nSrcStep, MUpp16s *pDst, int nDstStep, MUppiSize oSrcROI)

Parameters

  • pSrc (const MUpp16s *)
  • nSrcStep (int)
  • pDst (MUpp16s *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiTranspose_32s_C1R_Ctx

MUppStatus muppiTranspose_32s_C1R_Ctx(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pDst, int nDstStep, MUppiSize oSrcROI, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 32-bit signed int image transpose.
  • For common parameter descriptions, see Common parameters for muppiTranspose functions.

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiTranspose_32s_C1R

MUppStatus muppiTranspose_32s_C1R(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pDst, int nDstStep, MUppiSize oSrcROI)

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiTranspose_32s_C3R_Ctx

MUppStatus muppiTranspose_32s_C3R_Ctx(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pDst, int nDstStep, MUppiSize oSrcROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 32-bit signed int image transpose.
  • For common parameter descriptions, see Common parameters for muppiTranspose functions.

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiTranspose_32s_C3R

MUppStatus muppiTranspose_32s_C3R(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pDst, int nDstStep, MUppiSize oSrcROI)

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiTranspose_32s_C4R_Ctx

MUppStatus muppiTranspose_32s_C4R_Ctx(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pDst, int nDstStep, MUppiSize oSrcROI, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 32-bit signed int image transpose.
  • For common parameter descriptions, see Common parameters for muppiTranspose functions.

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiTranspose_32s_C4R

MUppStatus muppiTranspose_32s_C4R(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pDst, int nDstStep, MUppiSize oSrcROI)

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiTranspose_32f_C1R_Ctx

MUppStatus muppiTranspose_32f_C1R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSrcROI, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 32-bit floating point image transpose.
  • For common parameter descriptions, see Common parameters for muppiTranspose functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiTranspose_32f_C1R

MUppStatus muppiTranspose_32f_C1R(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSrcROI)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiTranspose_32f_C3R_Ctx

MUppStatus muppiTranspose_32f_C3R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSrcROI, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 32-bit floating point image transpose.
  • For common parameter descriptions, see Common parameters for muppiTranspose functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiTranspose_32f_C3R

MUppStatus muppiTranspose_32f_C3R(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSrcROI)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiTranspose_32f_C4R_Ctx

MUppStatus muppiTranspose_32f_C4R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSrcROI, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 32-bit floating point image transpose.
  • For common parameter descriptions, see Common parameters for muppiTranspose functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiTranspose_32f_C4R

MUppStatus muppiTranspose_32f_C4R(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSrcROI)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSrcROI (MUppiSize)

Returns

  • Return type: MUppStatus.

Swap Channels

muppiSwapChannels_8u_C3R_Ctx

MUppStatus muppiSwapChannels_8u_C3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3], MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned integer source image to 3 channel destination image.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [2,1,0] converts this to BGR channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_8u_C3R

MUppStatus muppiSwapChannels_8u_C3R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3])

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_8u_C3IR_Ctx

MUppStatus muppiSwapChannels_8u_C3IR_Ctx(MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const int aDstOrder[3], MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned integer in place image.

Parameters

  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [2,1,0] converts this to BGR channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_8u_C3IR

MUppStatus muppiSwapChannels_8u_C3IR(MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const int aDstOrder[3])

Parameters

  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_8u_C4C3R_Ctx

MUppStatus muppiSwapChannels_8u_C4C3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3], MUppStreamContext muppStreamCtx)

Description

  • 4 channel 8-bit unsigned integer source image to 3 channel destination image.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGBA image, aDstOrder = [2,1,0] converts this to a 3 channel BGR channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_8u_C4C3R

MUppStatus muppiSwapChannels_8u_C4C3R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3])

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_8u_C4R_Ctx

MUppStatus muppiSwapChannels_8u_C4R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[4], MUppStreamContext muppStreamCtx)

Description

  • 4 channel 8-bit unsigned integer source image to 4 channel destination image.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an ARGB image, aDstOrder = [3,2,1,0] converts this to BGRA channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_8u_C4R

MUppStatus muppiSwapChannels_8u_C4R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[4])

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_8u_C4IR_Ctx

MUppStatus muppiSwapChannels_8u_C4IR_Ctx(MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const int aDstOrder[4], MUppStreamContext muppStreamCtx)

Description

  • 4 channel 8-bit unsigned integer in place image.

Parameters

  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an ARGB image, aDstOrder = [3,2,1,0] converts this to BGRA channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_8u_C4IR

MUppStatus muppiSwapChannels_8u_C4IR(MUpp8u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const int aDstOrder[4])

Parameters

  • pSrcDst (MUpp8u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_8u_C3C4R_Ctx

MUppStatus muppiSwapChannels_8u_C3C4R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[4], const MUpp8u nValue, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned integer source image to 4 channel destination image.

Parameters

  • pSrc (const MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp8u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [3,2,1,0] converts this to VBGR channel order.
  • nValue (const MUpp8u): (V) Single channel constant value that can be replicated in one or more of the 4 destination channels. nValue is either written or not written to a particular channel depending on the aDstOrder entry for that destination channel. An aDstOrder value of 3 will output nValue to that channel, an aDstOrder value greater than 3 will leave that particular destination channel value unmodified.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_8u_C3C4R

MUppStatus muppiSwapChannels_8u_C3C4R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[4], const MUpp8u nValue)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)
  • nValue (const MUpp8u)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_8u_AC4R_Ctx

MUppStatus muppiSwapChannels_8u_AC4R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3], MUppStreamContext muppStreamCtx)

Description

  • 4 channel 8-bit unsigned integer source image to 4 channel destination image with destination alpha channel unaffected.

Parameters

  • pSrc (const MUpp8u *): source image pointer
  • nSrcStep (int): source image line step
  • pDst (MUpp8u *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [3,2,1,0] converts this to VBGR channel order. of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGBA image, aDstOrder = [2,1,0] converts this to BGRA channel order. In the AC4R case, the alpha channel is always assumed to be channel 3
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_8u_AC4R

MUppStatus muppiSwapChannels_8u_AC4R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3])

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_16u_C3R_Ctx

MUppStatus muppiSwapChannels_16u_C3R_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3], MUppStreamContext muppStreamCtx)

Description

  • 3 channel 16-bit unsigned integer source image to 3 channel destination image.

Parameters

  • pSrc (const MUpp16u *): source image pointer
  • nSrcStep (int): source image line step
  • pDst (MUpp16u *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [2,1,0] converts this to BGR channel order
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_16u_C3R

MUppStatus muppiSwapChannels_16u_C3R(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3])

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_16u_C3IR_Ctx

MUppStatus muppiSwapChannels_16u_C3IR_Ctx(MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const int aDstOrder[3], MUppStreamContext muppStreamCtx)

Description

  • 3 channel 16-bit unsigned integer in place image.

Parameters

  • pSrcDst (MUpp16u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [2,1,0] converts this to BGR channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_16u_C3IR

MUppStatus muppiSwapChannels_16u_C3IR(MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const int aDstOrder[3])

Parameters

  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_16u_C4C3R_Ctx

MUppStatus muppiSwapChannels_16u_C4C3R_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3], MUppStreamContext muppStreamCtx)

Description

  • 4 channel 16-bit unsigned integer source image to 3 channel destination image.

Parameters

  • pSrc (const MUpp16u *): source image pointer
  • nSrcStep (int): source image line step
  • pDst (MUpp16u *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGBA image, aDstOrder = [2,1,0] converts this to a 3 channel BGR channel order
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_16u_C4C3R

MUppStatus muppiSwapChannels_16u_C4C3R(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3])

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_16u_C4R_Ctx

MUppStatus muppiSwapChannels_16u_C4R_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[4], MUppStreamContext muppStreamCtx)

Description

  • 4 channel 16-bit unsigned integer source image to 4 channel destination image.

Parameters

  • pSrc (const MUpp16u *): source image pointer
  • nSrcStep (int): source image line step
  • pDst (MUpp16u *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an ARGB image, aDstOrder = [3,2,1,0] converts this to BGRA channel order
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_16u_C4R

MUppStatus muppiSwapChannels_16u_C4R(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[4])

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_16u_C4IR_Ctx

MUppStatus muppiSwapChannels_16u_C4IR_Ctx(MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const int aDstOrder[4], MUppStreamContext muppStreamCtx)

Description

  • 4 channel 16-bit unsigned integer in place image.

Parameters

  • pSrcDst (MUpp16u *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an ARGB image, aDstOrder = [3,2,1,0] converts this to BGRA channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_16u_C4IR

MUppStatus muppiSwapChannels_16u_C4IR(MUpp16u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const int aDstOrder[4])

Parameters

  • pSrcDst (MUpp16u *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_16u_C3C4R_Ctx

MUppStatus muppiSwapChannels_16u_C3C4R_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[4], const MUpp16u nValue, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 16-bit unsigned integer source image to 4 channel destination image.

Parameters

  • pSrc (const MUpp16u *): source image pointer
  • nSrcStep (int): source image line step
  • pDst (MUpp16u *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [3,2,1,0] converts this to VBGR channel order
  • nValue (const MUpp16u): (V) Single channel constant value that can be replicated in one or more of the 4 destination channels. nValue is either written or not written to a particular channel depending on the aDstOrder entry for that destination channel. An aDstOrder value of 3 will output nValue to that channel, an aDstOrder value greater than 3 will leave that particular destination channel value unmodified.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_16u_C3C4R

MUppStatus muppiSwapChannels_16u_C3C4R(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[4], const MUpp16u nValue)

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)
  • nValue (const MUpp16u)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_16u_AC4R_Ctx

MUppStatus muppiSwapChannels_16u_AC4R_Ctx(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3], MUppStreamContext muppStreamCtx)

Description

  • 4 channel 16-bit unsigned integer source image to 4 channel destination image with destination alpha channel unaffected.

Parameters

  • pSrc (const MUpp16u *): source image pointer
  • nSrcStep (int): source image line step
  • pDst (MUpp16u *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGBA image, aDstOrder = [2,1,0] converts this to BGRA channel order. In the AC4R case, the alpha channel is always assumed to be channel 3
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_16u_AC4R

MUppStatus muppiSwapChannels_16u_AC4R(const MUpp16u *pSrc, int nSrcStep, MUpp16u *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3])

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_16s_C3R_Ctx

MUppStatus muppiSwapChannels_16s_C3R_Ctx(const MUpp16s *pSrc, int nSrcStep, MUpp16s *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3], MUppStreamContext muppStreamCtx)

Description

  • 3 channel 16-bit signed integer source image to 3 channel destination image.

Parameters

  • pSrc (const MUpp16s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp16s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [2,1,0] converts this to BGR channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_16s_C3R

MUppStatus muppiSwapChannels_16s_C3R(const MUpp16s *pSrc, int nSrcStep, MUpp16s *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3])

Parameters

  • pSrc (const MUpp16s *)
  • nSrcStep (int)
  • pDst (MUpp16s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_16s_C3IR_Ctx

MUppStatus muppiSwapChannels_16s_C3IR_Ctx(MUpp16s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const int aDstOrder[3], MUppStreamContext muppStreamCtx)

Description

  • 3 channel 16-bit signed integer in place image.

Parameters

  • pSrcDst (MUpp16s *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [2,1,0] converts this to BGR channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_16s_C3IR

MUppStatus muppiSwapChannels_16s_C3IR(MUpp16s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const int aDstOrder[3])

Parameters

  • pSrcDst (MUpp16s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_16s_C4C3R_Ctx

MUppStatus muppiSwapChannels_16s_C4C3R_Ctx(const MUpp16s *pSrc, int nSrcStep, MUpp16s *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3], MUppStreamContext muppStreamCtx)

Description

  • 4 channel 16-bit signed integer source image to 3 channel destination image.

Parameters

  • pSrc (const MUpp16s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp16s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGBA image, aDstOrder = [2,1,0] converts this to a 3 channel BGR channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_16s_C4C3R

MUppStatus muppiSwapChannels_16s_C4C3R(const MUpp16s *pSrc, int nSrcStep, MUpp16s *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3])

Parameters

  • pSrc (const MUpp16s *)
  • nSrcStep (int)
  • pDst (MUpp16s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_16s_C4R_Ctx

MUppStatus muppiSwapChannels_16s_C4R_Ctx(const MUpp16s *pSrc, int nSrcStep, MUpp16s *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[4], MUppStreamContext muppStreamCtx)

Description

  • 4 channel 16-bit signed integer source image to 4 channel destination image.

Parameters

  • pSrc (const MUpp16s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp16s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an ARGB image, aDstOrder = [3,2,1,0] converts this to BGRA channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_16s_C4R

MUppStatus muppiSwapChannels_16s_C4R(const MUpp16s *pSrc, int nSrcStep, MUpp16s *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[4])

Parameters

  • pSrc (const MUpp16s *)
  • nSrcStep (int)
  • pDst (MUpp16s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_16s_C4IR_Ctx

MUppStatus muppiSwapChannels_16s_C4IR_Ctx(MUpp16s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const int aDstOrder[4], MUppStreamContext muppStreamCtx)

Description

  • 4 channel 16-bit signed integer in place image.

Parameters

  • pSrcDst (MUpp16s *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an ARGB image, aDstOrder = [3,2,1,0] converts this to BGRA channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_16s_C4IR

MUppStatus muppiSwapChannels_16s_C4IR(MUpp16s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const int aDstOrder[4])

Parameters

  • pSrcDst (MUpp16s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_16s_C3C4R_Ctx

MUppStatus muppiSwapChannels_16s_C3C4R_Ctx(const MUpp16s *pSrc, int nSrcStep, MUpp16s *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[4], const MUpp16s nValue, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 16-bit signed integer source image to 4 channel destination image.

Parameters

  • pSrc (const MUpp16s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp16s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [3,2,1,0] converts this to VBGR channel order.
  • nValue (const MUpp16s): (V) Single channel constant value that can be replicated in one or more of the 4 destination channels. nValue is either written or not written to a particular channel depending on the aDstOrder entry for that destination channel. An aDstOrder value of 3 will output nValue to that channel, an aDstOrder value greater than 3 will leave that particular destination channel value unmodified.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_16s_C3C4R

MUppStatus muppiSwapChannels_16s_C3C4R(const MUpp16s *pSrc, int nSrcStep, MUpp16s *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[4], const MUpp16s nValue)

Parameters

  • pSrc (const MUpp16s *)
  • nSrcStep (int)
  • pDst (MUpp16s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)
  • nValue (const MUpp16s)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_16s_AC4R_Ctx

MUppStatus muppiSwapChannels_16s_AC4R_Ctx(const MUpp16s *pSrc, int nSrcStep, MUpp16s *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3], MUppStreamContext muppStreamCtx)

Description

  • 4 channel 16-bit signed integer source image to 4 channel destination image with destination alpha channel unaffected.

Parameters

  • pSrc (const MUpp16s *): source image pointer
  • nSrcStep (int): source image line step
  • pDst (MUpp16s *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGBA image, aDstOrder = [2,1,0] converts this to BGRA channel order. In the AC4R case, the alpha channel is always assumed to be channel 3
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_16s_AC4R

MUppStatus muppiSwapChannels_16s_AC4R(const MUpp16s *pSrc, int nSrcStep, MUpp16s *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3])

Parameters

  • pSrc (const MUpp16s *)
  • nSrcStep (int)
  • pDst (MUpp16s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_32s_C3R_Ctx

MUppStatus muppiSwapChannels_32s_C3R_Ctx(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3], MUppStreamContext muppStreamCtx)

Description

  • 3 channel 32-bit signed integer source image to 3 channel destination image.

Parameters

  • pSrc (const MUpp32s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [2,1,0] converts this to BGR channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_32s_C3R

MUppStatus muppiSwapChannels_32s_C3R(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3])

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_32s_C3IR_Ctx

MUppStatus muppiSwapChannels_32s_C3IR_Ctx(MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const int aDstOrder[3], MUppStreamContext muppStreamCtx)

Description

  • 3 channel 32-bit signed integer in place image.

Parameters

  • pSrcDst (MUpp32s *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [2,1,0] converts this to BGR channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_32s_C3IR

MUppStatus muppiSwapChannels_32s_C3IR(MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const int aDstOrder[3])

Parameters

  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_32s_C4C3R_Ctx

MUppStatus muppiSwapChannels_32s_C4C3R_Ctx(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3], MUppStreamContext muppStreamCtx)

Description

  • 4 channel 32-bit signed integer source image to 3 channel destination image.

Parameters

  • pSrc (const MUpp32s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGBA image, aDstOrder = [2,1,0] converts this to a 3 channel BGR channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_32s_C4C3R

MUppStatus muppiSwapChannels_32s_C4C3R(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3])

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_32s_C4R_Ctx

MUppStatus muppiSwapChannels_32s_C4R_Ctx(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[4], MUppStreamContext muppStreamCtx)

Description

  • 4 channel 32-bit signed integer source image to 4 channel destination image.

Parameters

  • pSrc (const MUpp32s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an ARGB image, aDstOrder = [3,2,1,0] converts this to BGRA channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_32s_C4R

MUppStatus muppiSwapChannels_32s_C4R(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[4])

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_32s_C4IR_Ctx

MUppStatus muppiSwapChannels_32s_C4IR_Ctx(MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const int aDstOrder[4], MUppStreamContext muppStreamCtx)

Description

  • 4 channel 32-bit signed integer in place image.

Parameters

  • pSrcDst (MUpp32s *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an ARGB image, aDstOrder = [3,2,1,0] converts this to BGRA channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_32s_C4IR

MUppStatus muppiSwapChannels_32s_C4IR(MUpp32s *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const int aDstOrder[4])

Parameters

  • pSrcDst (MUpp32s *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_32s_C3C4R_Ctx

MUppStatus muppiSwapChannels_32s_C3C4R_Ctx(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[4], const MUpp32s nValue, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 32-bit signed integer source image to 4 channel destination image.

Parameters

  • pSrc (const MUpp32s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [3,2,1,0] converts this to VBGR channel order.
  • nValue (const MUpp32s): (V) Single channel constant value that can be replicated in one or more of the 4 destination channels. nValue is either written or not written to a particular channel depending on the aDstOrder entry for that destination channel. An aDstOrder value of 3 will output nValue to that channel, an aDstOrder value greater than 3 will leave that particular destination channel value unmodified.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_32s_C3C4R

MUppStatus muppiSwapChannels_32s_C3C4R(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[4], const MUpp32s nValue)

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)
  • nValue (const MUpp32s)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_32s_AC4R_Ctx

MUppStatus muppiSwapChannels_32s_AC4R_Ctx(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3], MUppStreamContext muppStreamCtx)

Description

  • 4 channel 32-bit signed integer source image to 4 channel destination image with destination alpha channel unaffected.

Parameters

  • pSrc (const MUpp32s *): source image pointer
  • nSrcStep (int): source image line step
  • pDst (MUpp32s *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGBA image, aDstOrder = [2,1,0] converts this to BGRA channel order. In the AC4R case, the alpha channel is always assumed to be channel 3
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_32s_AC4R

MUppStatus muppiSwapChannels_32s_AC4R(const MUpp32s *pSrc, int nSrcStep, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3])

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_32f_C3R_Ctx

MUppStatus muppiSwapChannels_32f_C3R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3], MUppStreamContext muppStreamCtx)

Description

  • 3 channel 32-bit floating point source image to 3 channel destination image.

Parameters

  • pSrc (const MUpp32f *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp32f *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [2,1,0] converts this to BGR channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_32f_C3R

MUppStatus muppiSwapChannels_32f_C3R(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3])

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_32f_C3IR_Ctx

MUppStatus muppiSwapChannels_32f_C3IR_Ctx(MUpp32f *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const int aDstOrder[3], MUppStreamContext muppStreamCtx)

Description

  • 3 channel 32-bit floating point in place image.

Parameters

  • pSrcDst (MUpp32f *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [2,1,0] converts this to BGR channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_32f_C3IR

MUppStatus muppiSwapChannels_32f_C3IR(MUpp32f *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const int aDstOrder[3])

Parameters

  • pSrcDst (MUpp32f *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_32f_C4C3R_Ctx

MUppStatus muppiSwapChannels_32f_C4C3R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3], MUppStreamContext muppStreamCtx)

Description

  • 4 channel 32-bit floating point source image to 3 channel destination image.

Parameters

  • pSrc (const MUpp32f *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp32f *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGBA image, aDstOrder = [2,1,0] converts this to a 3 channel BGR channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_32f_C4C3R

MUppStatus muppiSwapChannels_32f_C4C3R(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3])

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_32f_C4R_Ctx

MUppStatus muppiSwapChannels_32f_C4R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[4], MUppStreamContext muppStreamCtx)

Description

  • 4 channel 32-bit floating point source image to 4 channel destination image.

Parameters

  • pSrc (const MUpp32f *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp32f *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an ARGB image, aDstOrder = [3,2,1,0] converts this to BGRA channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_32f_C4R

MUppStatus muppiSwapChannels_32f_C4R(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[4])

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_32f_C4IR_Ctx

MUppStatus muppiSwapChannels_32f_C4IR_Ctx(MUpp32f *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const int aDstOrder[4], MUppStreamContext muppStreamCtx)

Description

  • 4 channel 32-bit floating point in place image.

Parameters

  • pSrcDst (MUpp32f *): in-place image pointer.
  • nSrcDstStep (int): in-place image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an ARGB image, aDstOrder = [3,2,1,0] converts this to BGRA channel order.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_32f_C4IR

MUppStatus muppiSwapChannels_32f_C4IR(MUpp32f *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, const int aDstOrder[4])

Parameters

  • pSrcDst (MUpp32f *)
  • nSrcDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_32f_C3C4R_Ctx

MUppStatus muppiSwapChannels_32f_C3C4R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[4], const MUpp32f nValue, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 32-bit floating point source image to 4 channel destination image.

Parameters

  • pSrc (const MUpp32f *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp32f *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [3,2,1,0] converts this to VBGR channel order.
  • nValue (const MUpp32f): (V) Single channel constant value that can be replicated in one or more of the 4 destination channels. nValue is either written or not written to a particular channel depending on the aDstOrder entry for that destination channel. An aDstOrder value of 3 will output nValue to that channel, an aDstOrder value greater than 3 will leave that particular destination channel value unmodified.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_32f_C3C4R

MUppStatus muppiSwapChannels_32f_C3C4R(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[4], const MUpp32f nValue)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)
  • nValue (const MUpp32f)

Returns

  • Return type: MUppStatus.

muppiSwapChannels_32f_AC4R_Ctx

MUppStatus muppiSwapChannels_32f_AC4R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3], MUppStreamContext muppStreamCtx)

Description

  • 4 channel 32-bit floating point source image to 4 channel destination image with destination alpha channel unaffected.

Parameters

  • pSrc (const MUpp32f *): source image pointer
  • nSrcStep (int): source image line step
  • pDst (MUpp32f *): destination image pointer
  • nDstStep (int): destination image line step
  • oSizeROI (MUppiSize): ROI specification
  • aDstOrder (const int): Host memory integer array describing how channel values are permuted. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGBA image, aDstOrder = [2,1,0] converts this to BGRA channel order. In the AC4R case, the alpha channel is always assumed to be channel 3
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiSwapChannels_32f_AC4R

MUppStatus muppiSwapChannels_32f_AC4R(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, const int aDstOrder[3])

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • aDstOrder (const int)

Returns

  • Return type: MUppStatus.

5.4 Image Filtering Functions

This section covers the image filtering, segmentation, and marker-processing families available in MUSA SDK 5.2.

FilterGauss

muppiFilterGauss_8u_C1R_Ctx

MUppStatus muppiFilterGauss_8u_C1R_Ctx(const MUpp8u *pSrc, MUpp32s nSrcStep, MUpp8u *pDst, MUpp32s nDstStep, MUppiSize oSizeROI, MUppiMaskSize eMaskSize, MUppStreamContext muppStreamCtx)

Description

  • Single channel 8-bit unsigned Gauss filter.
  • For common parameter descriptions, see Common parameters for muppiFilterGauss functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (MUpp32s)
  • pDst (MUpp8u *)
  • nDstStep (MUpp32s)
  • oSizeROI (MUppiSize)
  • eMaskSize (MUppiMaskSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiFilterGauss_8u_C3R_Ctx

MUppStatus muppiFilterGauss_8u_C3R_Ctx(const MUpp8u *pSrc, MUpp32s nSrcStep, MUpp8u *pDst, MUpp32s nDstStep, MUppiSize oSizeROI, MUppiMaskSize eMaskSize, MUppStreamContext muppStreamCtx)

Description

  • Three channel 8-bit unsigned Gauss filter.
  • For common parameter descriptions, see Common parameters for muppiFilterGauss functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (MUpp32s)
  • pDst (MUpp8u *)
  • nDstStep (MUpp32s)
  • oSizeROI (MUppiSize)
  • eMaskSize (MUppiMaskSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiFilterGauss_32f_C1R_Ctx

MUppStatus muppiFilterGauss_32f_C1R_Ctx(const MUpp32f *pSrc, MUpp32s nSrcStep, MUpp32f *pDst, MUpp32s nDstStep, MUppiSize oSizeROI, MUppiMaskSize eMaskSize, MUppStreamContext muppStreamCtx)

Description

  • Single channel 32-bit floating-point Gauss filter.
  • For common parameter descriptions, see Common parameters for muppiFilterGauss functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (MUpp32s)
  • pDst (MUpp32f *)
  • nDstStep (MUpp32s)
  • oSizeROI (MUppiSize)
  • eMaskSize (MUppiMaskSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiFilterGauss_32f_C3R_Ctx

MUppStatus muppiFilterGauss_32f_C3R_Ctx(const MUpp32f *pSrc, MUpp32s nSrcStep, MUpp32f *pDst, MUpp32s nDstStep, MUppiSize oSizeROI, MUppiMaskSize eMaskSize, MUppStreamContext muppStreamCtx)

Description

  • Three channel 32-bit floating-point Gauss filter.
  • For common parameter descriptions, see Common parameters for muppiFilterGauss functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (MUpp32s)
  • pDst (MUpp32f *)
  • nDstStep (MUpp32s)
  • oSizeROI (MUppiSize)
  • eMaskSize (MUppiMaskSize)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

FilterCannyBorder

muppiFilterCannyBorderGetBufferSize

MUppStatus muppiFilterCannyBorderGetBufferSize(MUppiSize oSizeROI, int *hpBufferSize)

Description

  • Calculate scratch buffer size needed for the FilterCannyBorder function based on destination image SizeROI width and height.

Parameters

  • oSizeROI (MUppiSize): ROI specification.
  • hpBufferSize (int *): Required buffer size. Important: hpBufferSize is a host pointer. general scratch buffer.

Returns

LabelMarkers

muppiLabelMarkersUFGetBufferSize_32u_C1R

MUppStatus muppiLabelMarkersUFGetBufferSize_32u_C1R(MUppiSize oSizeROI, int *hpBufferSize)

Description

  • Calculate scratch buffer size needed 1 channel 32-bit unsigned integer LabelMarkersUF function based on destination image oSizeROI width and height.

Parameters

  • oSizeROI (MUppiSize): ROI specification.
  • hpBufferSize (int *): Required buffer size in bytes.

Returns

  • Return type: MUppStatus.

muppiLabelMarkersUF_8u32u_C1R_Ctx

MUppStatus muppiLabelMarkersUF_8u32u_C1R_Ctx(MUpp8u *pSrc, int nSrcStep, MUpp32u *pDst, int nDstStep, MUppiSize oSizeROI, MUppiNorm eNorm, MUpp8u *pBuffer, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 8-bit to 32-bit unsigned integer label markers image generation.

Parameters

  • pSrc (MUpp8u *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp32u *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • eNorm (MUppiNorm): Type of pixel connectivity test to use, muppiNormInf will use 8 way connectivity and muppiNormL1 will use 4 way connectivity.
  • pBuffer (MUpp8u *): Pointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiLabelMarkersUFBatch_8u32u_C1R_Advanced_Ctx

MUppStatus muppiLabelMarkersUFBatch_8u32u_C1R_Advanced_Ctx(const MUppiImageDescriptor *pSrcBatchList, MUppiImageDescriptor *pDstBatchList, int nBatchSize, MUppiSize oMaxSizeROI, MUppiNorm eNorm, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 8-bit to 32-bit unsigned integer label markers image generation with per image destination ROI.

Parameters

  • pSrcBatchList (const MUppiImageDescriptor *): source batch images pointer device memory pointer to the list of device memory source image descriptors, oSize element is ignored.
  • pDstBatchList (MUppiImageDescriptor *): destination batch images pointer device memory pointer to the list of device memory destination image descriptors.
  • nBatchSize (int): Number of MUppiImageDescriptor structures processed in this call (must be > 1).
  • oMaxSizeROI (MUppiSize): ROI specification maximum ROI width and height of ALL images in the batch.
  • eNorm (MUppiNorm): Type of pixel connectivity test to use, muppiNormInf will use 8 way connectivity and muppiNormL1 will use 4 way connectivity for all images in batch.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

CompressMarkerLabels

muppiCompressMarkerLabelsGetBufferSize_32u_C1R

MUppStatus muppiCompressMarkerLabelsGetBufferSize_32u_C1R(int nStartingNumber, int *hpBufferSize)

Description

  • Calculate scratch buffer size needed for 1 channel 32-bit unsigned integer CompressMarkerLabels function based on the number returned in pNumber from a previous muppiLabelMarkers call. Note that this is the only function that supports the muppiCompressMarkerLabelsUF_32u function and that nStartingNumber MUST be ROI width * ROI height when used with that function.

Parameters

  • nStartingNumber (int): The value returned from a previous call to the muppiLabelMarkers_32u function or ROI width * ROI height for images generated by the muppiLabelMarkersUF function and those values MUST match the values used those used in that call.
  • hpBufferSize (int *): Required buffer size in bytes.

Returns

  • Return type: MUppStatus.

muppiCompressMarkerLabelsUF_32u_C1IR_Ctx

MUppStatus muppiCompressMarkerLabelsUF_32u_C1IR_Ctx(MUpp32u *pSrcDst, int nSrcDstStep, MUppiSize oSizeROI, int nStartingNumber, int *pNewNumber, MUpp8u *pBuffer, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 32-bit unsigned integer in place connected region marker label renumbering for output from muppiLabelMarkersUF functions only with numbering sparseness elimination.
  • Note that the image in this function must be allocated with musaMalloc() and NOT musaMallocPitch(). Also the pitch MUST be set to oSizeROI.width * sizeof(MUpp32u). And the image pointer and oSizeROI values MUST match those used when muppiLabelMarkersUF was called.

Parameters

  • pSrcDst (MUpp32u *): in-place image pointer.
  • nSrcDstStep (int): source image line step. NOTE THAT THIS VALUE MUST BE EQUAL TO oSizeROI.width * sizeof(MUpp32u).
  • oSizeROI (MUppiSize): ROI specification
  • nStartingNumber (int): MUST be ROI width * ROI height and MUST match ROI values used in the label markers generation function call
  • pNewNumber (int *): Pointer to host memory integer value where the maximum renumbered marker label ID will be returned.
  • pBuffer (MUpp8u *): Pointer to device memory scratch buffer at least as large as value returned by the corresponding CompressMarkerLabelsGetBufferSize call.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

WatershedSegmentation

muppiSegmentWatershedGetBufferSize_8u_C1R

MUppStatus muppiSegmentWatershedGetBufferSize_8u_C1R(MUppiSize oSizeROI, size_t *hpDeviceMemoryBufferSize)

Description

  • Calculate scratch buffer sizes needed for 1 channel 8-bit unsigned integer watershed segmentation function based on destination image oSizeROI width and height.

Parameters

  • oSizeROI (MUppiSize): ROI specification.
  • hpDeviceMemoryBufferSize (size_t *): Required device memory buffer size in bytes.

Returns

muppiSegmentWatershed_8u_C1IR_Ctx

MUppStatus muppiSegmentWatershed_8u_C1IR_Ctx(MUpp8u *pSrcDst, MUpp32s nSrcDstStep, MUpp32u *pMarkerLabels, MUpp32s nMarkerLabelsStep, MUppiNorm eNorm, MUppiWatershedSegmentBoundaryType eSegmentBoundaryType, MUppiSize oSizeROI, MUpp8u *pDeviceMemoryBuffer, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 8-bit unsigned integer in place image watershed segmentation generation.

Parameters

  • pSrcDst (MUpp8u *): in-place image pointer.
  • nSrcDstStep (MUpp32s): source image line step.
  • pMarkerLabels (MUpp32u *): Device memory pointer to optionally output the corresponding marker labels image, set to NULL if no marker labels image output is desired.
  • nMarkerLabelsStep (MUpp32s): Maker labels image line step,ignored if pMarkerLabels is NULL.
  • eNorm (MUppiNorm): Type of pixel connectivity test to use, muppiNormInf will use 8 way connectivity and muppiNormL1 will use 4 way connectivity.
  • eSegmentBoundaryType (MUppiWatershedSegmentBoundaryType): Type of segment boundaries, if any, to be added to output image.
  • oSizeROI (MUppiSize): ROI specification for both segmented image and corresponding marker labels image.
  • pDeviceMemoryBuffer (MUpp8u *): Pointer to device memory scratch buffer at least as large as value returned by the corresponding SegmentWatershedGetBufferSize call.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

5.5 Image Geometry Transforms Functions

This section covers resize, remap, affine, and perspective transform families together with geometry-side utility helpers.

Resize

muppiResize_8u_C1R_Ctx

MUppStatus muppiResize_8u_C1R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUppiSize oSrcSize, MUppiRect oSrcRectROI, MUpp8u *pDst, int nDstStep, MUppiSize oDstSize, MUppiRect oDstRectROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 8-bit unsigned image resize.
  • For common parameter descriptions, see Common parameters for muppiResize packed pixel functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • oSrcSize (MUppiSize)
  • oSrcRectROI (MUppiRect)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oDstSize (MUppiSize)
  • oDstRectROI (MUppiRect)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiResize_8u_C3R_Ctx

MUppStatus muppiResize_8u_C3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUppiSize oSrcSize, MUppiRect oSrcRectROI, MUpp8u *pDst, int nDstStep, MUppiSize oDstSize, MUppiRect oDstRectROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned image resize.
  • For common parameter descriptions, see Common parameters for muppiResize packed pixel functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • oSrcSize (MUppiSize)
  • oSrcRectROI (MUppiRect)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oDstSize (MUppiSize)
  • oDstRectROI (MUppiRect)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiResize_8u_C4R_Ctx

MUppStatus muppiResize_8u_C4R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUppiSize oSrcSize, MUppiRect oSrcRectROI, MUpp8u *pDst, int nDstStep, MUppiSize oDstSize, MUppiRect oDstRectROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 8-bit unsigned image resize.
  • For common parameter descriptions, see Common parameters for muppiResize packed pixel functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • oSrcSize (MUppiSize)
  • oSrcRectROI (MUppiRect)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oDstSize (MUppiSize)
  • oDstRectROI (MUppiRect)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiResize_16u_C1R_Ctx

MUppStatus muppiResize_16u_C1R_Ctx(const MUpp16u *pSrc, int nSrcStep, MUppiSize oSrcSize, MUppiRect oSrcRectROI, MUpp16u *pDst, int nDstStep, MUppiSize oDstSize, MUppiRect oDstRectROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 16-bit unsigned image resize.
  • For common parameter descriptions, see Common parameters for muppiResize packed pixel functions.

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • oSrcSize (MUppiSize)
  • oSrcRectROI (MUppiRect)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oDstSize (MUppiSize)
  • oDstRectROI (MUppiRect)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiResize_16u_C3R_Ctx

MUppStatus muppiResize_16u_C3R_Ctx(const MUpp16u *pSrc, int nSrcStep, MUppiSize oSrcSize, MUppiRect oSrcRectROI, MUpp16u *pDst, int nDstStep, MUppiSize oDstSize, MUppiRect oDstRectROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 16-bit unsigned image resize.
  • For common parameter descriptions, see Common parameters for muppiResize packed pixel functions.

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • oSrcSize (MUppiSize)
  • oSrcRectROI (MUppiRect)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oDstSize (MUppiSize)
  • oDstRectROI (MUppiRect)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiResize_16u_C4R_Ctx

MUppStatus muppiResize_16u_C4R_Ctx(const MUpp16u *pSrc, int nSrcStep, MUppiSize oSrcSize, MUppiRect oSrcRectROI, MUpp16u *pDst, int nDstStep, MUppiSize oDstSize, MUppiRect oDstRectROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 16-bit unsigned image resize.
  • For common parameter descriptions, see Common parameters for muppiResize packed pixel functions.

Parameters

  • pSrc (const MUpp16u *)
  • nSrcStep (int)
  • oSrcSize (MUppiSize)
  • oSrcRectROI (MUppiRect)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oDstSize (MUppiSize)
  • oDstRectROI (MUppiRect)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

ResizeBatch

muppiResizeBatch_8u_C1R_Ctx

MUppStatus muppiResizeBatch_8u_C1R_Ctx(MUppiSize oSmallestSrcSize, MUppiRect oSrcRectROI, MUppiSize oSmallestDstSize, MUppiRect oDstRectROI, int eInterpolation, MUppiResizeBatchCXR *pBatchList, unsigned int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 8-bit image resize batch.
  • For common parameter descriptions, see Common parameters for muppiResizeBatch functions.

Parameters

  • oSmallestSrcSize (MUppiSize)
  • oSrcRectROI (MUppiRect)
  • oSmallestDstSize (MUppiSize)
  • oDstRectROI (MUppiRect)
  • eInterpolation (int)
  • pBatchList (MUppiResizeBatchCXR *)
  • nBatchSize (unsigned int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiResizeBatch_8u_C3R_Ctx

MUppStatus muppiResizeBatch_8u_C3R_Ctx(MUppiSize oSmallestSrcSize, MUppiRect oSrcRectROI, MUppiSize oSmallestDstSize, MUppiRect oDstRectROI, int eInterpolation, MUppiResizeBatchCXR *pBatchList, unsigned int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit image resize batch.
  • For common parameter descriptions, see Common parameters for muppiResizeBatch functions.

Parameters

  • oSmallestSrcSize (MUppiSize)
  • oSrcRectROI (MUppiRect)
  • oSmallestDstSize (MUppiSize)
  • oDstRectROI (MUppiRect)
  • eInterpolation (int)
  • pBatchList (MUppiResizeBatchCXR *)
  • nBatchSize (unsigned int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiResizeBatch_8u_C4R_Ctx

MUppStatus muppiResizeBatch_8u_C4R_Ctx(MUppiSize oSmallestSrcSize, MUppiRect oSrcRectROI, MUppiSize oSmallestDstSize, MUppiRect oDstRectROI, int eInterpolation, MUppiResizeBatchCXR *pBatchList, unsigned int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 8-bit image resize batch.
  • For common parameter descriptions, see Common parameters for muppiResizeBatch functions.

Parameters

  • oSmallestSrcSize (MUppiSize)
  • oSrcRectROI (MUppiRect)
  • oSmallestDstSize (MUppiSize)
  • oDstRectROI (MUppiRect)
  • eInterpolation (int)
  • pBatchList (MUppiResizeBatchCXR *)
  • nBatchSize (unsigned int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiResizeBatch_32f_C1R_Ctx

MUppStatus muppiResizeBatch_32f_C1R_Ctx(MUppiSize oSmallestSrcSize, MUppiRect oSrcRectROI, MUppiSize oSmallestDstSize, MUppiRect oDstRectROI, int eInterpolation, MUppiResizeBatchCXR *pBatchList, unsigned int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 32-bit floating point image resize batch.
  • For common parameter descriptions, see Common parameters for muppiResizeBatch functions.

Parameters

  • oSmallestSrcSize (MUppiSize)
  • oSrcRectROI (MUppiRect)
  • oSmallestDstSize (MUppiSize)
  • oDstRectROI (MUppiRect)
  • eInterpolation (int)
  • pBatchList (MUppiResizeBatchCXR *)
  • nBatchSize (unsigned int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiResizeBatch_32f_C3R_Ctx

MUppStatus muppiResizeBatch_32f_C3R_Ctx(MUppiSize oSmallestSrcSize, MUppiRect oSrcRectROI, MUppiSize oSmallestDstSize, MUppiRect oDstRectROI, int eInterpolation, MUppiResizeBatchCXR *pBatchList, unsigned int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 32-bit floating point image resize batch.
  • For common parameter descriptions, see Common parameters for muppiResizeBatch functions.

Parameters

  • oSmallestSrcSize (MUppiSize)
  • oSrcRectROI (MUppiRect)
  • oSmallestDstSize (MUppiSize)
  • oDstRectROI (MUppiRect)
  • eInterpolation (int)
  • pBatchList (MUppiResizeBatchCXR *)
  • nBatchSize (unsigned int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiResizeBatch_32f_C4R_Ctx

MUppStatus muppiResizeBatch_32f_C4R_Ctx(MUppiSize oSmallestSrcSize, MUppiRect oSrcRectROI, MUppiSize oSmallestDstSize, MUppiRect oDstRectROI, int eInterpolation, MUppiResizeBatchCXR *pBatchList, unsigned int nBatchSize, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 32-bit floating point image resize batch.
  • For common parameter descriptions, see Common parameters for muppiResizeBatch functions.

Parameters

  • oSmallestSrcSize (MUppiSize)
  • oSrcRectROI (MUppiRect)
  • oSmallestDstSize (MUppiSize)
  • oDstRectROI (MUppiRect)
  • eInterpolation (int)
  • pBatchList (MUppiResizeBatchCXR *)
  • nBatchSize (unsigned int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

Remap

muppiRemap_8u_C1R_Ctx

MUppStatus muppiRemap_8u_C1R_Ctx(const MUpp8u *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, const MUpp32f *pXMap, int nXMapStep, const MUpp32f *pYMap, int nYMapStep, MUpp8u *pDst, int nDstStep, MUppiSize oDstSizeROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 8-bit unsigned image remap.
  • For common parameter descriptions, see Common parameters for muppiRemap packed pixel functions.

Parameters

  • pSrc (const MUpp8u *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pXMap (const MUpp32f *)
  • nXMapStep (int)
  • pYMap (const MUpp32f *)
  • nYMapStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiRemap_8u_C3R_Ctx

MUppStatus muppiRemap_8u_C3R_Ctx(const MUpp8u *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, const MUpp32f *pXMap, int nXMapStep, const MUpp32f *pYMap, int nYMapStep, MUpp8u *pDst, int nDstStep, MUppiSize oDstSizeROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 8-bit unsigned image remap.
  • For common parameter descriptions, see Common parameters for muppiRemap packed pixel functions.

Parameters

  • pSrc (const MUpp8u *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pXMap (const MUpp32f *)
  • nXMapStep (int)
  • pYMap (const MUpp32f *)
  • nYMapStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiRemap_8u_C4R_Ctx

MUppStatus muppiRemap_8u_C4R_Ctx(const MUpp8u *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, const MUpp32f *pXMap, int nXMapStep, const MUpp32f *pYMap, int nYMapStep, MUpp8u *pDst, int nDstStep, MUppiSize oDstSizeROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 8-bit unsigned image remap.
  • For common parameter descriptions, see Common parameters for muppiRemap packed pixel functions.

Parameters

  • pSrc (const MUpp8u *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pXMap (const MUpp32f *)
  • nXMapStep (int)
  • pYMap (const MUpp32f *)
  • nYMapStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiRemap_16u_C1R_Ctx

MUppStatus muppiRemap_16u_C1R_Ctx(const MUpp16u *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, const MUpp32f *pXMap, int nXMapStep, const MUpp32f *pYMap, int nYMapStep, MUpp16u *pDst, int nDstStep, MUppiSize oDstSizeROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 16-bit unsigned image remap.
  • For common parameter descriptions, see Common parameters for muppiRemap packed pixel functions.

Parameters

  • pSrc (const MUpp16u *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pXMap (const MUpp32f *)
  • nXMapStep (int)
  • pYMap (const MUpp32f *)
  • nYMapStep (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiRemap_16u_C3R_Ctx

MUppStatus muppiRemap_16u_C3R_Ctx(const MUpp16u *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, const MUpp32f *pXMap, int nXMapStep, const MUpp32f *pYMap, int nYMapStep, MUpp16u *pDst, int nDstStep, MUppiSize oDstSizeROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 16-bit unsigned image remap.
  • For common parameter descriptions, see Common parameters for muppiRemap packed pixel functions.

Parameters

  • pSrc (const MUpp16u *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pXMap (const MUpp32f *)
  • nXMapStep (int)
  • pYMap (const MUpp32f *)
  • nYMapStep (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiRemap_16u_C4R_Ctx

MUppStatus muppiRemap_16u_C4R_Ctx(const MUpp16u *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, const MUpp32f *pXMap, int nXMapStep, const MUpp32f *pYMap, int nYMapStep, MUpp16u *pDst, int nDstStep, MUppiSize oDstSizeROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 16-bit unsigned image remap.
  • For common parameter descriptions, see Common parameters for muppiRemap packed pixel functions.

Parameters

  • pSrc (const MUpp16u *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pXMap (const MUpp32f *)
  • nXMapStep (int)
  • pYMap (const MUpp32f *)
  • nYMapStep (int)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiRemap_16s_C1R_Ctx

MUppStatus muppiRemap_16s_C1R_Ctx(const MUpp16s *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, const MUpp32f *pXMap, int nXMapStep, const MUpp32f *pYMap, int nYMapStep, MUpp16s *pDst, int nDstStep, MUppiSize oDstSizeROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 16-bit signed image remap.
  • For common parameter descriptions, see Common parameters for muppiRemap packed pixel functions.

Parameters

  • pSrc (const MUpp16s *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pXMap (const MUpp32f *)
  • nXMapStep (int)
  • pYMap (const MUpp32f *)
  • nYMapStep (int)
  • pDst (MUpp16s *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiRemap_16s_C3R_Ctx

MUppStatus muppiRemap_16s_C3R_Ctx(const MUpp16s *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, const MUpp32f *pXMap, int nXMapStep, const MUpp32f *pYMap, int nYMapStep, MUpp16s *pDst, int nDstStep, MUppiSize oDstSizeROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 16-bit signed image remap.
  • For common parameter descriptions, see Common parameters for muppiRemap packed pixel functions.

Parameters

  • pSrc (const MUpp16s *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pXMap (const MUpp32f *)
  • nXMapStep (int)
  • pYMap (const MUpp32f *)
  • nYMapStep (int)
  • pDst (MUpp16s *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiRemap_16s_C4R_Ctx

MUppStatus muppiRemap_16s_C4R_Ctx(const MUpp16s *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, const MUpp32f *pXMap, int nXMapStep, const MUpp32f *pYMap, int nYMapStep, MUpp16s *pDst, int nDstStep, MUppiSize oDstSizeROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 16-bit signed image remap.
  • For common parameter descriptions, see Common parameters for muppiRemap packed pixel functions.

Parameters

  • pSrc (const MUpp16s *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pXMap (const MUpp32f *)
  • nXMapStep (int)
  • pYMap (const MUpp32f *)
  • nYMapStep (int)
  • pDst (MUpp16s *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiRemap_32f_C1R_Ctx

MUppStatus muppiRemap_32f_C1R_Ctx(const MUpp32f *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, const MUpp32f *pXMap, int nXMapStep, const MUpp32f *pYMap, int nYMapStep, MUpp32f *pDst, int nDstStep, MUppiSize oDstSizeROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 32-bit floating point image remap.
  • For common parameter descriptions, see Common parameters for muppiRemap packed pixel functions.

Parameters

  • pSrc (const MUpp32f *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pXMap (const MUpp32f *)
  • nXMapStep (int)
  • pYMap (const MUpp32f *)
  • nYMapStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiRemap_32f_C3R_Ctx

MUppStatus muppiRemap_32f_C3R_Ctx(const MUpp32f *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, const MUpp32f *pXMap, int nXMapStep, const MUpp32f *pYMap, int nYMapStep, MUpp32f *pDst, int nDstStep, MUppiSize oDstSizeROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 32-bit floating point image remap.
  • For common parameter descriptions, see Common parameters for muppiRemap packed pixel functions.

Parameters

  • pSrc (const MUpp32f *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pXMap (const MUpp32f *)
  • nXMapStep (int)
  • pYMap (const MUpp32f *)
  • nYMapStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiRemap_32f_C4R_Ctx

MUppStatus muppiRemap_32f_C4R_Ctx(const MUpp32f *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, const MUpp32f *pXMap, int nXMapStep, const MUpp32f *pYMap, int nYMapStep, MUpp32f *pDst, int nDstStep, MUppiSize oDstSizeROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 32-bit floating point image remap.
  • For common parameter descriptions, see Common parameters for muppiRemap packed pixel functions.

Parameters

  • pSrc (const MUpp32f *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pXMap (const MUpp32f *)
  • nXMapStep (int)
  • pYMap (const MUpp32f *)
  • nYMapStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiRemap_64f_C1R_Ctx

MUppStatus muppiRemap_64f_C1R_Ctx(const MUpp64f *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, const MUpp64f *pXMap, int nXMapStep, const MUpp64f *pYMap, int nYMapStep, MUpp64f *pDst, int nDstStep, MUppiSize oDstSizeROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 64-bit floating point image remap.
  • For common parameter descriptions, see Common parameters for muppiRemap packed pixel functions.

Parameters

  • pSrc (const MUpp64f *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pXMap (const MUpp64f *)
  • nXMapStep (int)
  • pYMap (const MUpp64f *)
  • nYMapStep (int)
  • pDst (MUpp64f *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiRemap_64f_C3R_Ctx

MUppStatus muppiRemap_64f_C3R_Ctx(const MUpp64f *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, const MUpp64f *pXMap, int nXMapStep, const MUpp64f *pYMap, int nYMapStep, MUpp64f *pDst, int nDstStep, MUppiSize oDstSizeROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 64-bit floating point image remap.
  • For common parameter descriptions, see Common parameters for muppiRemap packed pixel functions.

Parameters

  • pSrc (const MUpp64f *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pXMap (const MUpp64f *)
  • nXMapStep (int)
  • pYMap (const MUpp64f *)
  • nYMapStep (int)
  • pDst (MUpp64f *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiRemap_64f_C4R_Ctx

MUppStatus muppiRemap_64f_C4R_Ctx(const MUpp64f *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, const MUpp64f *pXMap, int nXMapStep, const MUpp64f *pYMap, int nYMapStep, MUpp64f *pDst, int nDstStep, MUppiSize oDstSizeROI, int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • 4 channel 64-bit floating point image remap.
  • For common parameter descriptions, see Common parameters for muppiRemap packed pixel functions.

Parameters

  • pSrc (const MUpp64f *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pXMap (const MUpp64f *)
  • nXMapStep (int)
  • pYMap (const MUpp64f *)
  • nYMapStep (int)
  • pDst (MUpp64f *)
  • nDstStep (int)
  • oDstSizeROI (MUppiSize)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

Rotate Utility Functions

muppiGetRotateQuad

MUppStatus muppiGetRotateQuad(MUppiRect oSrcROI, double aQuad[4][2], double nAngle, double nShiftX, double nShiftY)

Description

  • Compute shape of rotated image.

Parameters

  • oSrcROI (MUppiRect): Region-of-interest of the source image.
  • aQuad (double): Array of 2D points. These points are the locations of the corners of the rotated ROI.
  • nAngle (double): The rotation nAngle.
  • nShiftX (double): Post-rotation shift in x-direction
  • nShiftY (double): Post-rotation shift in y-direction

Returns

muppiGetRotateBound

MUppStatus muppiGetRotateBound(MUppiRect oSrcROI, double aBound[2][2], double nAngle, double nShiftX, double nShiftY)

Description

  • Compute bounding-box of rotated image.

Parameters

  • oSrcROI (MUppiRect): Region-of-interest of the source image.
  • aBound (double): Two 2D points representing the bounding-box of the rotated image. All four points from muppiGetRotateQuad are contained inside the axis-aligned rectangle spanned by the the two points of this bounding box.
  • nAngle (double): The rotation angle.
  • nShiftX (double): Post-rotation shift in x-direction.
  • nShiftY (double): Post-rotation shift in y-direction.

Returns

Affine Transform Utility

muppiGetAffineTransform

MUppStatus muppiGetAffineTransform(MUppiRect oSrcROI, const double aQuad[4][2], double aCoeffs[2][3])

Description

  • Computes affine transform coefficients based on source ROI and destination quadrilateral.
  • The function computes the coefficients of an affine transformation that maps the given source ROI (axis aligned rectangle with integer coordinates) to a quadrilateral in the destination image.
  • An affine transform in 2D is fully determined by the mapping of just three vertices. This function's API allows for passing a complete quadrilateral effectively making the problem overdetermined. What this means in practice is, that for certain quadrilaterals it is not possible to find an affine transform that would map all four corners of the source ROI to the four vertices of that quadrilateral.
  • The function circumvents this problem by only looking at the first three vertices of the destination image quadrilateral to determine the affine transformation's coefficients. If the destination quadrilateral is indeed one that cannot be mapped using an affine transformation the function informs the user of this situation by returning a MUPP_AFFINE_QUAD_INCORRECT_WARNING.

Parameters

  • oSrcROI (MUppiRect): The source ROI. This rectangle needs to be at least one pixel wide and high. If either width or height are less than one an MUPP_RECTANGLE_ERROR is returned.
  • aQuad (const double): The destination quadrilateral.
  • aCoeffs (double): The resulting affine transform coefficients.

Returns

  • MUPP_SIZE_ERROR: Indicates an error condition if any image dimension has zero or negative value.
  • MUPP_RECTANGLE_ERROR: Indicates an error condition if width or height of the intersection of the oSrcROI and source image is less than or equal to 1.
  • MUPP_COEFFICIENT_ERROR: Indicates an error condition if coefficient values are invalid.
  • MUPP_AFFINE_QUAD_INCORRECT_WARNING: Indicates a warning when quad does not conform to the transform properties. Fourth vertex is ignored, internally computed coordinates are used instead.

muppiGetAffineQuad

MUppStatus muppiGetAffineQuad(MUppiRect oSrcROI, double aQuad[4][2], const double aCoeffs[2][3])

Description

  • Compute shape of transformed image.
  • This method computes the quadrilateral in the destination image that the source ROI is transformed into by the affine transformation expressed by the coefficients array (aCoeffs).

Parameters

  • oSrcROI (MUppiRect): The source ROI.
  • aQuad (double): The resulting destination quadrangle.
  • aCoeffs (const double): The affine transform coefficients.

Returns

  • MUPP_SIZE_ERROR: Indicates an error condition if any image dimension has zero or negative value.
  • MUPP_RECTANGLE_ERROR: Indicates an error condition if width or height of the intersection of the oSrcROI and source image is less than or equal to 1.
  • MUPP_COEFFICIENT_ERROR: Indicates an error condition if coefficient values are invalid.

muppiGetAffineBound

MUppStatus muppiGetAffineBound(MUppiRect oSrcROI, double aBound[2][2], const double aCoeffs[2][3])

Description

  • Compute bounding-box of transformed image.
  • The method effectively computes the bounding box (axis aligned rectangle) of the transformed source ROI (see muppiGetAffineQuad()).

Parameters

  • oSrcROI (MUppiRect): The source ROI.
  • aBound (double): The resulting bounding box.
  • aCoeffs (const double): The affine transform coefficients.

Returns

  • MUPP_SIZE_ERROR: Indicates an error condition if any image dimension has zero or negative value.
  • MUPP_RECTANGLE_ERROR: Indicates an error condition if width or height of the intersection of the oSrcROI and source image is less than or equal to 1.
  • MUPP_COEFFICIENT_ERROR: Indicates an error condition if coefficient values are invalid.

Affine Transform

muppiWarpAffine_8u_C1R_Ctx

MUppStatus muppiWarpAffine_8u_C1R_Ctx(const MUpp8u *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp8u *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[2][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Single-channel 8-bit unsigned affine warp.
  • For common parameter descriptions, see Common parameters for muppiWarpAffine packed pixel functions.

Parameters

  • pSrc (const MUpp8u *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpAffine_8u_C3R_Ctx

MUppStatus muppiWarpAffine_8u_C3R_Ctx(const MUpp8u *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp8u *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[2][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 8-bit unsigned affine warp.
  • For common parameter descriptions, see Common parameters for muppiWarpAffine packed pixel functions.

Parameters

  • pSrc (const MUpp8u *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpAffine_8u_C4R_Ctx

MUppStatus muppiWarpAffine_8u_C4R_Ctx(const MUpp8u *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp8u *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[2][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Four-channel 8-bit unsigned affine warp.
  • For common parameter descriptions, see Common parameters for muppiWarpAffine packed pixel functions.

Parameters

  • pSrc (const MUpp8u *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpAffine_16u_C1R_Ctx

MUppStatus muppiWarpAffine_16u_C1R_Ctx(const MUpp16u *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp16u *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[2][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Single-channel 16-bit unsigned affine warp.
  • For common parameter descriptions, see Common parameters for muppiWarpAffine packed pixel functions.

Parameters

  • pSrc (const MUpp16u *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpAffine_16u_C3R_Ctx

MUppStatus muppiWarpAffine_16u_C3R_Ctx(const MUpp16u *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp16u *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[2][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 16-bit unsigned affine warp.
  • For common parameter descriptions, see Common parameters for muppiWarpAffine packed pixel functions.

Parameters

  • pSrc (const MUpp16u *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpAffine_16u_C4R_Ctx

MUppStatus muppiWarpAffine_16u_C4R_Ctx(const MUpp16u *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp16u *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[2][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Four-channel 16-bit unsigned affine warp.
  • For common parameter descriptions, see Common parameters for muppiWarpAffine packed pixel functions.

Parameters

  • pSrc (const MUpp16u *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpAffine_32s_C1R_Ctx

MUppStatus muppiWarpAffine_32s_C1R_Ctx(const MUpp32s *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp32s *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[2][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Single-channel 32-bit signed affine warp.
  • For common parameter descriptions, see Common parameters for muppiWarpAffine packed pixel functions.

Parameters

  • pSrc (const MUpp32s *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpAffine_32s_C3R_Ctx

MUppStatus muppiWarpAffine_32s_C3R_Ctx(const MUpp32s *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp32s *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[2][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 32-bit signed affine warp.
  • For common parameter descriptions, see Common parameters for muppiWarpAffine packed pixel functions.

Parameters

  • pSrc (const MUpp32s *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpAffine_32s_C4R_Ctx

MUppStatus muppiWarpAffine_32s_C4R_Ctx(const MUpp32s *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp32s *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[2][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Four-channel 32-bit signed affine warp.
  • For common parameter descriptions, see Common parameters for muppiWarpAffine packed pixel functions.

Parameters

  • pSrc (const MUpp32s *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpAffine_32f_C1R_Ctx

MUppStatus muppiWarpAffine_32f_C1R_Ctx(const MUpp32f *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp32f *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[2][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Single-channel 32-bit floating-point affine warp.
  • For common parameter descriptions, see Common parameters for muppiWarpAffine packed pixel functions.

Parameters

  • pSrc (const MUpp32f *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpAffine_32f_C3R_Ctx

MUppStatus muppiWarpAffine_32f_C3R_Ctx(const MUpp32f *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp32f *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[2][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 32-bit floating-point affine warp.
  • For common parameter descriptions, see Common parameters for muppiWarpAffine packed pixel functions.

Parameters

  • pSrc (const MUpp32f *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpAffine_32f_C4R_Ctx

MUppStatus muppiWarpAffine_32f_C4R_Ctx(const MUpp32f *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp32f *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[2][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Four-channel 32-bit floating-point affine warp.
  • For common parameter descriptions, see Common parameters for muppiWarpAffine packed pixel functions.

Parameters

  • pSrc (const MUpp32f *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpAffine_64f_C1R_Ctx

MUppStatus muppiWarpAffine_64f_C1R_Ctx(const MUpp64f *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp64f *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[2][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Single-channel 64-bit floating-point affine warp.
  • For common parameter descriptions, see Common parameters for muppiWarpAffine packed pixel functions.

Parameters

  • pSrc (const MUpp64f *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp64f *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpAffine_64f_C3R_Ctx

MUppStatus muppiWarpAffine_64f_C3R_Ctx(const MUpp64f *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp64f *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[2][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 64-bit floating-point affine warp.
  • For common parameter descriptions, see Common parameters for muppiWarpAffine packed pixel functions.

Parameters

  • pSrc (const MUpp64f *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp64f *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpAffine_64f_C4R_Ctx

MUppStatus muppiWarpAffine_64f_C4R_Ctx(const MUpp64f *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp64f *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[2][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Four-channel 64-bit floating-point affine warp.
  • For common parameter descriptions, see Common parameters for muppiWarpAffine packed pixel functions.

Parameters

  • pSrc (const MUpp64f *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp64f *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

Perspective Transform

muppiWarpPerspective_8u_C1R_Ctx

MUppStatus muppiWarpPerspective_8u_C1R_Ctx(const MUpp8u *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp8u *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[3][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Single-channel 8-bit unsigned integer perspective warp.
  • For common parameter descriptions, see Common parameters for muppiWarpPerspective packed pixel functions.

Parameters

  • pSrc (const MUpp8u *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpPerspective_8u_C3R_Ctx

MUppStatus muppiWarpPerspective_8u_C3R_Ctx(const MUpp8u *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp8u *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[3][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 8-bit unsigned integer perspective warp.
  • For common parameter descriptions, see Common parameters for muppiWarpPerspective packed pixel functions.

Parameters

  • pSrc (const MUpp8u *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpPerspective_8u_C4R_Ctx

MUppStatus muppiWarpPerspective_8u_C4R_Ctx(const MUpp8u *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp8u *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[3][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Four-channel 8-bit unsigned integer perspective warp.
  • For common parameter descriptions, see Common parameters for muppiWarpPerspective packed pixel functions.

Parameters

  • pSrc (const MUpp8u *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpPerspective_16u_C1R_Ctx

MUppStatus muppiWarpPerspective_16u_C1R_Ctx(const MUpp16u *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp16u *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[3][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Single-channel 16-bit unsigned integer perspective warp.
  • For common parameter descriptions, see Common parameters for muppiWarpPerspective packed pixel functions.

Parameters

  • pSrc (const MUpp16u *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpPerspective_16u_C3R_Ctx

MUppStatus muppiWarpPerspective_16u_C3R_Ctx(const MUpp16u *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp16u *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[3][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 16-bit unsigned integer perspective warp.
  • For common parameter descriptions, see Common parameters for muppiWarpPerspective packed pixel functions.

Parameters

  • pSrc (const MUpp16u *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpPerspective_16u_C4R_Ctx

MUppStatus muppiWarpPerspective_16u_C4R_Ctx(const MUpp16u *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp16u *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[3][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Four-channel 16-bit unsigned integer perspective warp.
  • For common parameter descriptions, see Common parameters for muppiWarpPerspective packed pixel functions.

Parameters

  • pSrc (const MUpp16u *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp16u *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpPerspective_32s_C1R_Ctx

MUppStatus muppiWarpPerspective_32s_C1R_Ctx(const MUpp32s *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp32s *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[3][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Single-channel 32-bit signed integer perspective warp.
  • For common parameter descriptions, see Common parameters for muppiWarpPerspective packed pixel functions.

Parameters

  • pSrc (const MUpp32s *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpPerspective_32s_C3R_Ctx

MUppStatus muppiWarpPerspective_32s_C3R_Ctx(const MUpp32s *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp32s *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[3][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 32-bit signed integer perspective warp.
  • For common parameter descriptions, see Common parameters for muppiWarpPerspective packed pixel functions.

Parameters

  • pSrc (const MUpp32s *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpPerspective_32s_C4R_Ctx

MUppStatus muppiWarpPerspective_32s_C4R_Ctx(const MUpp32s *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp32s *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[3][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Four-channel 32-bit signed integer perspective warp.
  • For common parameter descriptions, see Common parameters for muppiWarpPerspective packed pixel functions.

Parameters

  • pSrc (const MUpp32s *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpPerspective_32f_C1R_Ctx

MUppStatus muppiWarpPerspective_32f_C1R_Ctx(const MUpp32f *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp32f *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[3][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Single-channel 32-bit floating-point perspective warp.
  • For common parameter descriptions, see Common parameters for muppiWarpPerspective packed pixel functions.

Parameters

  • pSrc (const MUpp32f *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpPerspective_32f_C3R_Ctx

MUppStatus muppiWarpPerspective_32f_C3R_Ctx(const MUpp32f *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp32f *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[3][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 32-bit floating-point perspective warp.
  • For common parameter descriptions, see Common parameters for muppiWarpPerspective packed pixel functions.

Parameters

  • pSrc (const MUpp32f *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiWarpPerspective_32f_C4R_Ctx

MUppStatus muppiWarpPerspective_32f_C4R_Ctx(const MUpp32f *pSrc, MUppiSize oSrcSize, int nSrcStep, MUppiRect oSrcROI, MUpp32f *pDst, int nDstStep, MUppiRect oDstROI, const double aCoeffs[3][3], int eInterpolation, MUppStreamContext muppStreamCtx)

Description

  • Four-channel 32-bit floating-point perspective warp.
  • For common parameter descriptions, see Common parameters for muppiWarpPerspective packed pixel functions.

Parameters

  • pSrc (const MUpp32f *)
  • oSrcSize (MUppiSize)
  • nSrcStep (int)
  • oSrcROI (MUppiRect)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oDstROI (MUppiRect)
  • aCoeffs (const double)
  • eInterpolation (int)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

Perspective Transform Utility Functions

This section covers the perspective-transform coefficient helper that accompanies the perspective warp family.

muppiGetPerspectiveTransform

MUppStatus muppiGetPerspectiveTransform(MUppiRect oSrcROI, const double aQuad[4][2], double aCoeffs[3][3])

Description

  • Calculates perspective transform coefficients given source rectangular ROI and its destination quadrangle projection

Parameters

  • oSrcROI (MUppiRect): Source ROI
  • aQuad (const double): Destination quadrangle
  • aCoeffs (double): Perspective transform coefficients

Returns

  • MUPP_SIZE_ERROR: Indicates an error condition if any image dimension has zero or negative value.
  • MUPP_RECTANGLE_ERROR: Indicates an error condition if width or height of the intersection of the oSrcROI and source image is less than or equal to 1.
  • MUPP_COEFFICIENT_ERROR: Indicates an error condition if coefficient values are invalid.

5.6 Image Linear Transforms Functions

This section covers the linear-transform family available in MUSA SDK 5.2, including Fourier-domain magnitude operations.

Fourier Transforms

muppiMagnitude_32fc32f_C1R_Ctx

MUppStatus muppiMagnitude_32fc32f_C1R_Ctx(const MUpp32fc *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 32-bit floating point complex to 32-bit floating point magnitude.
  • Converts complex-number pixel image to single channel image computing the result pixels as the magnitude of the complex values.

Parameters

  • pSrc (const MUpp32fc *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp32f *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiMagnitude_32fc32f_C1R

MUppStatus muppiMagnitude_32fc32f_C1R(const MUpp32fc *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32fc *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

muppiMagnitudeSqr_32fc32f_C1R_Ctx

MUppStatus muppiMagnitudeSqr_32fc32f_C1R_Ctx(const MUpp32fc *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, MUppStreamContext muppStreamCtx)

Description

  • 32-bit floating point complex to 32-bit floating point squared magnitude.
  • Converts complex-number pixel image to single channel image computing the result pixels as the squared magnitude of the complex values.
  • The squared magnitude is an itermediate result of magnitude computation and can thus be computed faster than actual magnitude. If magnitudes are required for sorting/comparing only, using this function instead of muppiMagnitude_32fc32f_C1R can be a worthwhile performance optimization.

Parameters

  • pSrc (const MUpp32fc *): source image pointer.
  • nSrcStep (int): source image line step.
  • pDst (MUpp32f *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • muppStreamCtx (MUppStreamContext): application-managed stream context

Returns

muppiMagnitudeSqr_32fc32f_C1R

MUppStatus muppiMagnitudeSqr_32fc32f_C1R(const MUpp32fc *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI)

Parameters

  • pSrc (const MUpp32fc *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)

Returns

  • Return type: MUppStatus.

5.7 Image Morphological Operations

This section covers the morphological dilation and erosion families available in MUSA SDK 5.2.

Dilation

muppiDilate_8u_C1R_Ctx

MUppStatus muppiDilate_8u_C1R_Ctx(const MUpp8u *pSrc, MUpp32s nSrcStep, MUpp8u *pDst, MUpp32s nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor, MUppStreamContext muppStreamCtx)

Description

  • Single-channel 8-bit unsigned integer dilation.
  • For common parameter descriptions, see Common parameters for muppiDilate functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (MUpp32s)
  • pDst (MUpp8u *)
  • nDstStep (MUpp32s)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiDilate_8u_C1R

MUppStatus muppiDilate_8u_C1R(const MUpp8u *pSrc, MUpp32s nSrcStep, MUpp8u *pDst, MUpp32s nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (MUpp32s)
  • pDst (MUpp8u *)
  • nDstStep (MUpp32s)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)

Returns

  • Return type: MUppStatus.

muppiDilate_8u_C3R_Ctx

MUppStatus muppiDilate_8u_C3R_Ctx(const MUpp8u *pSrc, MUpp32s nSrcStep, MUpp8u *pDst, MUpp32s nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 8-bit unsigned integer dilation.
  • For common parameter descriptions, see Common parameters for muppiDilate functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (MUpp32s)
  • pDst (MUpp8u *)
  • nDstStep (MUpp32s)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiDilate_8u_C3R

MUppStatus muppiDilate_8u_C3R(const MUpp8u *pSrc, MUpp32s nSrcStep, MUpp8u *pDst, MUpp32s nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (MUpp32s)
  • pDst (MUpp8u *)
  • nDstStep (MUpp32s)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)

Returns

  • Return type: MUppStatus.

muppiDilate_8u_C4R_Ctx

MUppStatus muppiDilate_8u_C4R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor, MUppStreamContext muppStreamCtx)

Description

  • Four-channel 8-bit unsigned integer dilation.
  • For common parameter descriptions, see Common parameters for muppiDilate functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiDilate_8u_C4R

MUppStatus muppiDilate_8u_C4R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)

Returns

  • Return type: MUppStatus.

muppiDilate_32f_C1R_Ctx

MUppStatus muppiDilate_32f_C1R_Ctx(const MUpp32f *pSrc, MUpp32s nSrcStep, MUpp32f *pDst, MUpp32s nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor, MUppStreamContext muppStreamCtx)

Description

  • Single-channel 32-bit floating-point dilation.
  • For common parameter descriptions, see Common parameters for muppiDilate functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (MUpp32s)
  • pDst (MUpp32f *)
  • nDstStep (MUpp32s)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiDilate_32f_C1R

MUppStatus muppiDilate_32f_C1R(const MUpp32f *pSrc, MUpp32s nSrcStep, MUpp32f *pDst, MUpp32s nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (MUpp32s)
  • pDst (MUpp32f *)
  • nDstStep (MUpp32s)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)

Returns

  • Return type: MUppStatus.

muppiDilate_32f_C3R_Ctx

MUppStatus muppiDilate_32f_C3R_Ctx(const MUpp32f *pSrc, MUpp32s nSrcStep, MUpp32f *pDst, MUpp32s nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 32-bit floating-point dilation.
  • For common parameter descriptions, see Common parameters for muppiDilate functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (MUpp32s)
  • pDst (MUpp32f *)
  • nDstStep (MUpp32s)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiDilate_32f_C3R

MUppStatus muppiDilate_32f_C3R(const MUpp32f *pSrc, MUpp32s nSrcStep, MUpp32f *pDst, MUpp32s nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (MUpp32s)
  • pDst (MUpp32f *)
  • nDstStep (MUpp32s)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)

Returns

  • Return type: MUppStatus.

muppiDilate_32f_C4R_Ctx

MUppStatus muppiDilate_32f_C4R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor, MUppStreamContext muppStreamCtx)

Description

  • Four-channel 32-bit floating-point dilation.
  • For common parameter descriptions, see Common parameters for muppiDilate functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiDilate_32f_C4R

MUppStatus muppiDilate_32f_C4R(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)

Returns

  • Return type: MUppStatus.

Erode

muppiErode_8u_C1R_Ctx

MUppStatus muppiErode_8u_C1R_Ctx(const MUpp8u *pSrc, MUpp32s nSrcStep, MUpp8u *pDst, MUpp32s nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor, MUppStreamContext muppStreamCtx)

Description

  • Single-channel 8-bit unsigned integer erosion.
  • For common parameter descriptions, see Common parameters for muppiErode functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (MUpp32s)
  • pDst (MUpp8u *)
  • nDstStep (MUpp32s)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiErode_8u_C1R

MUppStatus muppiErode_8u_C1R(const MUpp8u *pSrc, MUpp32s nSrcStep, MUpp8u *pDst, MUpp32s nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (MUpp32s)
  • pDst (MUpp8u *)
  • nDstStep (MUpp32s)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)

Returns

  • Return type: MUppStatus.

muppiErode_8u_C3R_Ctx

MUppStatus muppiErode_8u_C3R_Ctx(const MUpp8u *pSrc, MUpp32s nSrcStep, MUpp8u *pDst, MUpp32s nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 8-bit unsigned integer erosion.
  • For common parameter descriptions, see Common parameters for muppiErode functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (MUpp32s)
  • pDst (MUpp8u *)
  • nDstStep (MUpp32s)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiErode_8u_C3R

MUppStatus muppiErode_8u_C3R(const MUpp8u *pSrc, MUpp32s nSrcStep, MUpp8u *pDst, MUpp32s nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (MUpp32s)
  • pDst (MUpp8u *)
  • nDstStep (MUpp32s)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)

Returns

  • Return type: MUppStatus.

muppiErode_8u_C4R_Ctx

MUppStatus muppiErode_8u_C4R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor, MUppStreamContext muppStreamCtx)

Description

  • Four-channel 8-bit unsigned integer erosion.
  • For common parameter descriptions, see Common parameters for muppiErode functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiErode_8u_C4R

MUppStatus muppiErode_8u_C4R(const MUpp8u *pSrc, int nSrcStep, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)

Returns

  • Return type: MUppStatus.

muppiErode_32f_C1R_Ctx

MUppStatus muppiErode_32f_C1R_Ctx(const MUpp32f *pSrc, MUpp32s nSrcStep, MUpp32f *pDst, MUpp32s nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor, MUppStreamContext muppStreamCtx)

Description

  • Single-channel 32-bit floating-point erosion.
  • For common parameter descriptions, see Common parameters for muppiErode functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (MUpp32s)
  • pDst (MUpp32f *)
  • nDstStep (MUpp32s)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiErode_32f_C1R

MUppStatus muppiErode_32f_C1R(const MUpp32f *pSrc, MUpp32s nSrcStep, MUpp32f *pDst, MUpp32s nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (MUpp32s)
  • pDst (MUpp32f *)
  • nDstStep (MUpp32s)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)

Returns

  • Return type: MUppStatus.

muppiErode_32f_C3R_Ctx

MUppStatus muppiErode_32f_C3R_Ctx(const MUpp32f *pSrc, MUpp32s nSrcStep, MUpp32f *pDst, MUpp32s nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 32-bit floating-point erosion.
  • For common parameter descriptions, see Common parameters for muppiErode functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (MUpp32s)
  • pDst (MUpp32f *)
  • nDstStep (MUpp32s)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiErode_32f_C3R

MUppStatus muppiErode_32f_C3R(const MUpp32f *pSrc, MUpp32s nSrcStep, MUpp32f *pDst, MUpp32s nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (MUpp32s)
  • pDst (MUpp32f *)
  • nDstStep (MUpp32s)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)

Returns

  • Return type: MUppStatus.

muppiErode_32f_C4R_Ctx

MUppStatus muppiErode_32f_C4R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor, MUppStreamContext muppStreamCtx)

Description

  • Four-channel 32-bit floating-point erosion.
  • For common parameter descriptions, see Common parameters for muppiErode functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiErode_32f_C4R

MUppStatus muppiErode_32f_C4R(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, const MUpp8u *pMask, MUppiSize oMaskSize, MUppiPoint oAnchor)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • pMask (const MUpp8u *)
  • oMaskSize (MUppiSize)
  • oAnchor (MUppiPoint)

Returns

  • Return type: MUppStatus.

5.8 Image Statistics Functions

This section covers histogram, norm, range, and basic image statistics families available in MUSA SDK 5.2.

MinMax

muppiMinMax_32f_C1R_Ctx

MUppStatus muppiMinMax_32f_C1R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSizeROI, MUpp32f *pMin, MUpp32f *pMax, MUpp8u *pDeviceBuffer, MUppStreamContext muppStreamCtx)

Description

  • One-channel 32-bit floating point image MinMax.
  • For common parameter descriptions, see Common parameters for muppiMinMax functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSizeROI (MUppiSize)
  • pMin (MUpp32f *)
  • pMax (MUpp32f *)
  • pDeviceBuffer (MUpp8u *)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiMinMax_32f_C1R

MUppStatus muppiMinMax_32f_C1R(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSizeROI, MUpp32f *pMin, MUpp32f *pMax, MUpp8u *pDeviceBuffer)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSizeROI (MUppiSize)
  • pMin (MUpp32f *)
  • pMax (MUpp32f *)
  • pDeviceBuffer (MUpp8u *)

Returns

  • Return type: MUppStatus.

muppiMinMax_32f_C3R_Ctx

MUppStatus muppiMinMax_32f_C3R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSizeROI, MUpp32f aMin[3], MUpp32f aMax[3], MUpp8u *pDeviceBuffer, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 32-bit floating point image MinMax.
  • For common parameter descriptions, see Common parameters for muppiMinMax functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSizeROI (MUppiSize)
  • aMin (MUpp32f)
  • aMax (MUpp32f)
  • pDeviceBuffer (MUpp8u *)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiMinMax_32f_C3R

MUppStatus muppiMinMax_32f_C3R(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSizeROI, MUpp32f aMin[3], MUpp32f aMax[3], MUpp8u *pDeviceBuffer)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSizeROI (MUppiSize)
  • aMin (MUpp32f)
  • aMax (MUpp32f)
  • pDeviceBuffer (MUpp8u *)

Returns

  • Return type: MUppStatus.

Mean_StdDev

muppiMean_StdDev_8u_C1R

MUppStatus muppiMean_StdDev_8u_C1R(const MUpp8u *pSrc, int nSrcStep, MUppiSize oSizeROI, MUpp8u *pDeviceBuffer, MUpp64f *pMean, MUpp64f *pStdDev)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • oSizeROI (MUppiSize)
  • pDeviceBuffer (MUpp8u *)
  • pMean (MUpp64f *)
  • pStdDev (MUpp64f *)

Returns

  • Return type: MUppStatus.

muppiMean_StdDev_32f_C1R

MUppStatus muppiMean_StdDev_32f_C1R(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSizeROI, MUpp8u *pDeviceBuffer, MUpp64f *pMean, MUpp64f *pStdDev)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSizeROI (MUppiSize)
  • pDeviceBuffer (MUpp8u *)
  • pMean (MUpp64f *)
  • pStdDev (MUpp64f *)

Returns

  • Return type: MUppStatus.

muppiMean_StdDev_8u_C1MR

MUppStatus muppiMean_StdDev_8u_C1MR(const MUpp8u *pSrc, int nSrcStep, const MUpp8u *pMask, int nMaskStep, MUppiSize oSizeROI, MUpp8u *pDeviceBuffer, MUpp64f *pMean, MUpp64f *pStdDev)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • pMask (const MUpp8u *)
  • nMaskStep (int)
  • oSizeROI (MUppiSize)
  • pDeviceBuffer (MUpp8u *)
  • pMean (MUpp64f *)
  • pStdDev (MUpp64f *)

Returns

  • Return type: MUppStatus.

muppiMean_StdDev_32f_C1MR

MUppStatus muppiMean_StdDev_32f_C1MR(const MUpp32f *pSrc, int nSrcStep, const MUpp8u *pMask, int nMaskStep, MUppiSize oSizeROI, MUpp8u *pDeviceBuffer, MUpp64f *pMean, MUpp64f *pStdDev)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pMask (const MUpp8u *)
  • nMaskStep (int)
  • oSizeROI (MUppiSize)
  • pDeviceBuffer (MUpp8u *)
  • pMean (MUpp64f *)
  • pStdDev (MUpp64f *)

Returns

  • Return type: MUppStatus.

muppiMeanStdDevGetBufferHostSize_8u_C1R

MUppStatus muppiMeanStdDevGetBufferHostSize_8u_C1R(MUppiSize oSizeROI, int *hpBufferSize)

Parameters

  • oSizeROI (MUppiSize)
  • hpBufferSize (int *)

Returns

  • Return type: MUppStatus.

muppiMeanStdDevGetBufferHostSize_32f_C1R

MUppStatus muppiMeanStdDevGetBufferHostSize_32f_C1R(MUppiSize oSizeROI, int *hpBufferSize)

Parameters

  • oSizeROI (MUppiSize)
  • hpBufferSize (int *)

Returns

  • Return type: MUppStatus.

muppiMeanStdDevGetBufferHostSize_8u_C1MR

MUppStatus muppiMeanStdDevGetBufferHostSize_8u_C1MR(MUppiSize oSizeROI, int *hpBufferSize)

Parameters

  • oSizeROI (MUppiSize)
  • hpBufferSize (int *)

Returns

  • Return type: MUppStatus.

muppiMeanStdDevGetBufferHostSize_32f_C1MR

MUppStatus muppiMeanStdDevGetBufferHostSize_32f_C1MR(MUppiSize oSizeROI, int *hpBufferSize)

Parameters

  • oSizeROI (MUppiSize)
  • hpBufferSize (int *)

Returns

  • Return type: MUppStatus.

Norm_Inf

muppiNorm_Inf_32f_C1R_Ctx

MUppStatus muppiNorm_Inf_32f_C1R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSizeROI, MUpp64f *pNorm, MUpp8u *pDeviceBuffer, MUppStreamContext muppStreamCtx)

Description

  • One-channel 32-bit floating point image Norm_Inf.
  • For common parameter descriptions, see Common parameters for muppiGetBufferHostSize functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSizeROI (MUppiSize)
  • pNorm (MUpp64f *)
  • pDeviceBuffer (MUpp8u *)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiNorm_Inf_32f_C1R

MUppStatus muppiNorm_Inf_32f_C1R(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSizeROI, MUpp64f *pNorm, MUpp8u *pDeviceBuffer)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSizeROI (MUppiSize)
  • pNorm (MUpp64f *)
  • pDeviceBuffer (MUpp8u *)

Returns

  • Return type: MUppStatus.

muppiNorm_Inf_32f_C3R

MUppStatus muppiNorm_Inf_32f_C3R(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSizeROI, MUpp64f aNorm[3], MUpp8u *pDeviceBuffer)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSizeROI (MUppiSize)
  • aNorm (MUpp64f)
  • pDeviceBuffer (MUpp8u *)

Returns

  • Return type: MUppStatus.

Norm_L1

muppiNorm_L1_32f_C1R_Ctx

MUppStatus muppiNorm_L1_32f_C1R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSizeROI, MUpp64f *pNorm, MUpp8u *pDeviceBuffer, MUppStreamContext muppStreamCtx)

Description

  • One-channel 32-bit floating point image Norm_L1.
  • For common parameter descriptions, see Common parameters for muppiNormL1 functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSizeROI (MUppiSize)
  • pNorm (MUpp64f *)
  • pDeviceBuffer (MUpp8u *)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiNorm_L1_32f_C1R

MUppStatus muppiNorm_L1_32f_C1R(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSizeROI, MUpp64f *pNorm, MUpp8u *pDeviceBuffer)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSizeROI (MUppiSize)
  • pNorm (MUpp64f *)
  • pDeviceBuffer (MUpp8u *)

Returns

  • Return type: MUppStatus.

muppiNorm_L1_32f_C3R

MUppStatus muppiNorm_L1_32f_C3R(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSizeROI, MUpp64f aNorm[3], MUpp8u *pDeviceBuffer)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSizeROI (MUppiSize)
  • aNorm (MUpp64f)
  • pDeviceBuffer (MUpp8u *)

Returns

  • Return type: MUppStatus.

Norm_L2

muppiNorm_L2_32f_C1R_Ctx

MUppStatus muppiNorm_L2_32f_C1R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSizeROI, MUpp64f *pNorm, MUpp8u *pDeviceBuffer, MUppStreamContext muppStreamCtx)

Description

  • One-channel 32-bit floating point image Norm_L2.
  • For common parameter descriptions, see Common parameters for muppiGetBufferHostSize functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSizeROI (MUppiSize)
  • pNorm (MUpp64f *)
  • pDeviceBuffer (MUpp8u *)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiNorm_L2_32f_C1R

MUppStatus muppiNorm_L2_32f_C1R(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSizeROI, MUpp64f *pNorm, MUpp8u *pDeviceBuffer)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSizeROI (MUppiSize)
  • pNorm (MUpp64f *)
  • pDeviceBuffer (MUpp8u *)

Returns

  • Return type: MUppStatus.

muppiNorm_L2_32f_C3R_Ctx

MUppStatus muppiNorm_L2_32f_C3R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSizeROI, MUpp64f aNorm[3], MUpp8u *pDeviceBuffer, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 32-bit floating point image Norm_L2.
  • For common parameter descriptions, see Common parameters for muppiGetBufferHostSize functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSizeROI (MUppiSize)
  • aNorm (MUpp64f)
  • pDeviceBuffer (MUpp8u *)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiNorm_L2_32f_C3R

MUppStatus muppiNorm_L2_32f_C3R(const MUpp32f *pSrc, int nSrcStep, MUppiSize oSizeROI, MUpp64f aNorm[3], MUpp8u *pDeviceBuffer)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • oSizeROI (MUppiSize)
  • aNorm (MUpp64f)
  • pDeviceBuffer (MUpp8u *)

Returns

  • Return type: MUppStatus.

RectStdDev

muppiRectStdDev_32f_C1R_Ctx

MUppStatus muppiRectStdDev_32f_C1R_Ctx(const MUpp32f *pSrc, int nSrcStep, const MUpp64f *pSqr, int nSqrStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, MUppiRect oRect, MUppStreamContext muppStreamCtx)

Description

  • One-channel 32-bit floating point image RectStdDev.

Parameters

  • pSrc (const MUpp32f *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSqr (const MUpp64f *): destination image pointer.
  • nSqrStep (int): destination image line step.
  • pDst (MUpp32f *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • oRect (MUppiRect): rectangular window
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiRectStdDev_32f_C1R

MUppStatus muppiRectStdDev_32f_C1R(const MUpp32f *pSrc, int nSrcStep, const MUpp64f *pSqr, int nSqrStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, MUppiRect oRect)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pSqr (const MUpp64f *)
  • nSqrStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • oRect (MUppiRect)

Returns

  • Return type: MUppStatus.

muppiRectStdDev_32s_C1RSfs_Ctx

MUppStatus muppiRectStdDev_32s_C1RSfs_Ctx(const MUpp32s *pSrc, int nSrcStep, const MUpp32s *pSqr, int nSqrStep, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppiRect oRect, int nScaleFactor, MUppStreamContext muppStreamCtx)

Description

  • One-channel 32-bit signed image RectStdDev, scaled by 2(nScaleFactor)2^(-nScaleFactor).

Parameters

  • pSrc (const MUpp32s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSqr (const MUpp32s *): destination image pointer.
  • nSqrStep (int): destination image line step.
  • pDst (MUpp32s *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • oRect (MUppiRect): rectangular window
  • nScaleFactor (int): integer result scaling.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiRectStdDev_32s_C1RSfs

MUppStatus muppiRectStdDev_32s_C1RSfs(const MUpp32s *pSrc, int nSrcStep, const MUpp32s *pSqr, int nSqrStep, MUpp32s *pDst, int nDstStep, MUppiSize oSizeROI, MUppiRect oRect, int nScaleFactor)

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pSqr (const MUpp32s *)
  • nSqrStep (int)
  • pDst (MUpp32s *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • oRect (MUppiRect)
  • nScaleFactor (int)

Returns

  • Return type: MUppStatus.

muppiRectStdDev_32s32f_C1R_Ctx

MUppStatus muppiRectStdDev_32s32f_C1R_Ctx(const MUpp32s *pSrc, int nSrcStep, const MUpp64f *pSqr, int nSqrStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, MUppiRect oRect, MUppStreamContext muppStreamCtx)

Description

  • One-channel 32-bit signed image RectStdDev.

Parameters

  • pSrc (const MUpp32s *): source image pointer.
  • nSrcStep (int): source image line step.
  • pSqr (const MUpp64f *): destination image pointer.
  • nSqrStep (int): destination image line step.
  • pDst (MUpp32f *): destination image pointer.
  • nDstStep (int): destination image line step.
  • oSizeROI (MUppiSize): ROI specification.
  • oRect (MUppiRect): rectangular window
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

muppiRectStdDev_32s32f_C1R

MUppStatus muppiRectStdDev_32s32f_C1R(const MUpp32s *pSrc, int nSrcStep, const MUpp64f *pSqr, int nSqrStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, MUppiRect oRect)

Parameters

  • pSrc (const MUpp32s *)
  • nSrcStep (int)
  • pSqr (const MUpp64f *)
  • nSqrStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • oRect (MUppiRect)

Returns

  • Return type: MUppStatus.

HistogramEven

muppiEvenLevelsHost_32s_Ctx

MUppStatus muppiEvenLevelsHost_32s_Ctx(MUpp32s *hpLevels, int nLevels, MUpp32s nLowerLevel, MUpp32s nUpperLevel, MUppStreamContext muppStreamCtx)

Description

  • Compute levels with even distribution.

Parameters

  • hpLevels (MUpp32s *): A host pointer to array which receives the levels being computed. The array needs to be of size nLevels.
  • nLevels (int): The number of levels being computed. nLevels must be at least 2.
  • nLowerLevel (MUpp32s): Lower boundary value of the lowest level.
  • nUpperLevel (MUpp32s): Upper boundary value of the greatest level.
  • muppStreamCtx (MUppStreamContext): application-managed stream context.

Returns

  • MUPP_HISTO_NUMBER_OF_LEVELS_ERROR: if an invalid nLevels is specified.

muppiEvenLevelsHost_32s

MUppStatus muppiEvenLevelsHost_32s(MUpp32s *hpLevels, int nLevels, MUpp32s nLowerLevel, MUpp32s nUpperLevel)

Parameters

  • hpLevels (MUpp32s *)
  • nLevels (int)
  • nLowerLevel (MUpp32s)
  • nUpperLevel (MUpp32s)

Returns

  • Return type: MUppStatus.

muppiHistogramEven_8u_C1R_Ctx

MUppStatus muppiHistogramEven_8u_C1R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUppiSize oSizeROI, MUpp32s *pHist, int nLevels, MUpp32s nLowerLevel, MUpp32s nUpperLevel, MUpp8u *pBuffer, MUppStreamContext muppStreamCtx)

Description

  • One-channel 8-bit unsigned HistogramEven. For common parameter descriptions, see Common parameters for muppiHistogramEven functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • oSizeROI (MUppiSize)
  • pHist (MUpp32s *)
  • nLevels (int)
  • nLowerLevel (MUpp32s)
  • nUpperLevel (MUpp32s)
  • pBuffer (MUpp8u *)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiHistogramEven_8u_C1R

MUppStatus muppiHistogramEven_8u_C1R(const MUpp8u *pSrc, int nSrcStep, MUppiSize oSizeROI, MUpp32s *pHist, int nLevels, MUpp32s nLowerLevel, MUpp32s nUpperLevel, MUpp8u *pBuffer)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • oSizeROI (MUppiSize)
  • pHist (MUpp32s *)
  • nLevels (int)
  • nLowerLevel (MUpp32s)
  • nUpperLevel (MUpp32s)
  • pBuffer (MUpp8u *)

Returns

  • Return type: MUppStatus.

muppiHistogramEven_8u_C3R_Ctx

MUppStatus muppiHistogramEven_8u_C3R_Ctx(const MUpp8u *pSrc, int nSrcStep, MUppiSize oSizeROI, MUpp32s *pHist[3], int nLevels[3], MUpp32s nLowerLevel[3], MUpp32s nUpperLevel[3], MUpp8u *pBuffer, MUppStreamContext muppStreamCtx)

Description

  • Three-channel 8-bit unsigned HistogramEven. For common parameter descriptions, see Common parameters for muppiHistogramEven functions.

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • oSizeROI (MUppiSize)
  • pHist (MUpp32s *)
  • nLevels (int)
  • nLowerLevel (MUpp32s)
  • nUpperLevel (MUpp32s)
  • pBuffer (MUpp8u *)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiHistogramEven_8u_C3R

MUppStatus muppiHistogramEven_8u_C3R(const MUpp8u *pSrc, int nSrcStep, MUppiSize oSizeROI, MUpp32s *pHist[3], int nLevels[3], MUpp32s nLowerLevel[3], MUpp32s nUpperLevel[3], MUpp8u *pBuffer)

Parameters

  • pSrc (const MUpp8u *)
  • nSrcStep (int)
  • oSizeROI (MUppiSize)
  • pHist (MUpp32s *)
  • nLevels (int)
  • nLowerLevel (MUpp32s)
  • nUpperLevel (MUpp32s)
  • pBuffer (MUpp8u *)

Returns

  • Return type: MUppStatus.

muppiHistogramEvenGetBufferSize_8u_C1R_Ctx

MUppStatus muppiHistogramEvenGetBufferSize_8u_C1R_Ctx(MUppiSize oSizeROI, int nLevels, size_t *hpBufferSize)

Description

  • Buffer size for muppiHistogramEven_8u_C1R. For common parameter descriptions, see Common parameters for muppiHistogramEvenGetBufferSize functions.

Parameters

  • oSizeROI (MUppiSize)
  • nLevels (int)
  • hpBufferSize (size_t *)

Returns

  • Return type: MUppStatus.

muppiHistogramEvenGetBufferSize_8u_C1R

MUppStatus muppiHistogramEvenGetBufferSize_8u_C1R(MUppiSize oSizeROI, int nLevels, size_t *hpBufferSize)

Parameters

  • oSizeROI (MUppiSize)
  • nLevels (int)
  • hpBufferSize (size_t *)

Returns

  • Return type: MUppStatus.

muppiHistogramEvenGetBufferSize_8u_C3R_Ctx

MUppStatus muppiHistogramEvenGetBufferSize_8u_C3R_Ctx(MUppiSize oSizeROI, int nLevels[3], int *hpBufferSize)

Description

  • Buffer size for muppiHistogramEven_8u_C3R. For common parameter descriptions, see Common parameters for muppiHistogramEvenGetBufferSize functions.

Parameters

  • oSizeROI (MUppiSize)
  • nLevels (int)
  • hpBufferSize (int *)

Returns

  • Return type: MUppStatus.

muppiHistogramEvenGetBufferSize_8u_C3R

MUppStatus muppiHistogramEvenGetBufferSize_8u_C3R(MUppiSize oSizeROI, int nLevels[3], int *hpBufferSize)

Parameters

  • oSizeROI (MUppiSize)
  • nLevels (int)
  • hpBufferSize (int *)

Returns

  • Return type: MUppStatus.

5.9 Image Threshold And Compare Operations

This section covers the image-threshold and comparison families available in MUSA SDK 5.2.

Threshold Operations

muppiThreshold_32f_C1R_Ctx

MUppStatus muppiThreshold_32f_C1R_Ctx(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, const MUpp32f nThreshold, MUppCmpOp eComparisonOperation, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 32-bit floating point threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
  • For common parameter descriptions, see Common parameters for muppiThreshold functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • nThreshold (const MUpp32f)
  • eComparisonOperation (MUppCmpOp)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiThreshold_32f_C1R

MUppStatus muppiThreshold_32f_C1R(const MUpp32f *pSrc, int nSrcStep, MUpp32f *pDst, int nDstStep, MUppiSize oSizeROI, const MUpp32f nThreshold, MUppCmpOp eComparisonOperation)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pDst (MUpp32f *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • nThreshold (const MUpp32f)
  • eComparisonOperation (MUppCmpOp)

Returns

  • Return type: MUppStatus.

Compare Image With Constant

muppiCompareC_16s_C1R_Ctx

MUppStatus muppiCompareC_16s_C1R_Ctx(const MUpp16s *pSrc, int nSrcStep, const MUpp16s nConstant, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppCmpOp eComparisonOperation, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 16-bit signed short image compare with constant value. Compare pSrc's pixels with constant value.
  • For common parameter descriptions, see Common parameters for muppiCompareC functions.

Parameters

  • pSrc (const MUpp16s *)
  • nSrcStep (int)
  • nConstant (const MUpp16s)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • eComparisonOperation (MUppCmpOp)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCompareC_16s_C1R

MUppStatus muppiCompareC_16s_C1R(const MUpp16s *pSrc, int nSrcStep, const MUpp16s nConstant, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppCmpOp eComparisonOperation)

Parameters

  • pSrc (const MUpp16s *)
  • nSrcStep (int)
  • nConstant (const MUpp16s)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • eComparisonOperation (MUppCmpOp)

Returns

  • Return type: MUppStatus.

muppiCompareC_16s_C3R_Ctx

MUppStatus muppiCompareC_16s_C3R_Ctx(const MUpp16s *pSrc, int nSrcStep, const MUpp16s *pConstants, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppCmpOp eComparisonOperation, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 16-bit signed short image compare with constant value. Compare pSrc's pixels with constant value.
  • For common parameter descriptions, see Common parameters for muppiCompareC functions.

Parameters

  • pSrc (const MUpp16s *)
  • nSrcStep (int)
  • pConstants (const MUpp16s *)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • eComparisonOperation (MUppCmpOp)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCompareC_16s_C3R

MUppStatus muppiCompareC_16s_C3R(const MUpp16s *pSrc, int nSrcStep, const MUpp16s *pConstants, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppCmpOp eComparisonOperation)

Parameters

  • pSrc (const MUpp16s *)
  • nSrcStep (int)
  • pConstants (const MUpp16s *)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • eComparisonOperation (MUppCmpOp)

Returns

  • Return type: MUppStatus.

muppiCompareC_32f_C1R_Ctx

MUppStatus muppiCompareC_32f_C1R_Ctx(const MUpp32f *pSrc, int nSrcStep, const MUpp32f nConstant, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppCmpOp eComparisonOperation, MUppStreamContext muppStreamCtx)

Description

  • 1 channel 32-bit floating point image compare with constant value. Compare pSrc's pixels with constant value.
  • For common parameter descriptions, see Common parameters for muppiCompareC functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • nConstant (const MUpp32f)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • eComparisonOperation (MUppCmpOp)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCompareC_32f_C1R

MUppStatus muppiCompareC_32f_C1R(const MUpp32f *pSrc, int nSrcStep, const MUpp32f nConstant, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppCmpOp eComparisonOperation)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • nConstant (const MUpp32f)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • eComparisonOperation (MUppCmpOp)

Returns

  • Return type: MUppStatus.

muppiCompareC_32f_C3R_Ctx

MUppStatus muppiCompareC_32f_C3R_Ctx(const MUpp32f *pSrc, int nSrcStep, const MUpp32f *pConstants, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppCmpOp eComparisonOperation, MUppStreamContext muppStreamCtx)

Description

  • 3 channel 32-bit floating point image compare with constant value. Compare pSrc's pixels with constant value.
  • For common parameter descriptions, see Common parameters for muppiCompareC functions.

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pConstants (const MUpp32f *)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • eComparisonOperation (MUppCmpOp)
  • muppStreamCtx (MUppStreamContext)

Returns

  • Return type: MUppStatus.

muppiCompareC_32f_C3R

MUppStatus muppiCompareC_32f_C3R(const MUpp32f *pSrc, int nSrcStep, const MUpp32f *pConstants, MUpp8u *pDst, int nDstStep, MUppiSize oSizeROI, MUppCmpOp eComparisonOperation)

Parameters

  • pSrc (const MUpp32f *)
  • nSrcStep (int)
  • pConstants (const MUpp32f *)
  • pDst (MUpp8u *)
  • nDstStep (int)
  • oSizeROI (MUppiSize)
  • eComparisonOperation (MUppCmpOp)

Returns

  • Return type: MUppStatus.

5.10 Image Memory Management Functions

This section covers image allocation helpers and release functions used by the supported image-processing APIs.

Memory Management

muppiMalloc_8u_C1

MUpp8u* muppiMalloc_8u_C1(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 8-bit unsigned image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_8u_C2

MUpp8u* muppiMalloc_8u_C2(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 2 channel 8-bit unsigned image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_8u_C3

MUpp8u* muppiMalloc_8u_C3(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 3 channel 8-bit unsigned image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_8u_C4

MUpp8u* muppiMalloc_8u_C4(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 4 channel 8-bit unsigned image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_16u_C1

MUpp16u* muppiMalloc_16u_C1(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 16-bit unsigned image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_16u_C2

MUpp16u* muppiMalloc_16u_C2(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 2 channel 16-bit unsigned image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_16u_C3

MUpp16u* muppiMalloc_16u_C3(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 3 channel 16-bit unsigned image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_16u_C4

MUpp16u* muppiMalloc_16u_C4(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 4 channel 16-bit unsigned image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_16s_C1

MUpp16s* muppiMalloc_16s_C1(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 16-bit signed image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_16s_C2

MUpp16s* muppiMalloc_16s_C2(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 2 channel 16-bit signed image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_16s_C4

MUpp16s* muppiMalloc_16s_C4(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 4 channel 16-bit signed image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_16sc_C1

MUpp16sc* muppiMalloc_16sc_C1(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 1 channel 16-bit signed complex image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_16sc_C2

MUpp16sc* muppiMalloc_16sc_C2(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 2 channel 16-bit signed complex image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_16sc_C3

MUpp16sc* muppiMalloc_16sc_C3(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 3 channel 16-bit signed complex image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_16sc_C4

MUpp16sc* muppiMalloc_16sc_C4(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 4 channel 16-bit signed complex image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_32s_C1

MUpp32s* muppiMalloc_32s_C1(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 32-bit signed image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_32s_C3

MUpp32s* muppiMalloc_32s_C3(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 3 channel 32-bit signed image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_32s_C4

MUpp32s* muppiMalloc_32s_C4(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 4 channel 32-bit signed image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_32sc_C1

MUpp32sc* muppiMalloc_32sc_C1(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 32-bit integer complex image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_32sc_C2

MUpp32sc* muppiMalloc_32sc_C2(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 2 channel 32-bit integer complex image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_32sc_C3

MUpp32sc* muppiMalloc_32sc_C3(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 3 channel 32-bit integer complex image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_32sc_C4

MUpp32sc* muppiMalloc_32sc_C4(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 4 channel 32-bit integer complex image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_32f_C1

MUpp32f* muppiMalloc_32f_C1(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 32-bit floating point image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_32f_C2

MUpp32f* muppiMalloc_32f_C2(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 2 channel 32-bit floating point image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_32f_C3

MUpp32f* muppiMalloc_32f_C3(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 3 channel 32-bit floating point image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_32f_C4

MUpp32f* muppiMalloc_32f_C4(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 4 channel 32-bit floating point image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_32fc_C1

MUpp32fc* muppiMalloc_32fc_C1(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 32-bit float complex image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_32fc_C2

MUpp32fc* muppiMalloc_32fc_C2(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 2 channel 32-bit float complex image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_32fc_C3

MUpp32fc* muppiMalloc_32fc_C3(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 3 channel 32-bit float complex image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiMalloc_32fc_C4

MUpp32fc* muppiMalloc_32fc_C4(int nWidthPixels, int nHeightPixels, int *pStepBytes)

Description

  • 4 channel 32-bit float complex image memory allocator.

Parameters

  • nWidthPixels (int): Image width.
  • nHeightPixels (int): Image height.
  • pStepBytes (int *): line_step.

Returns

  • Pointer to new image data.

muppiFree

void muppiFree(void *pData)

Description

  • Free method for any 2D allocated memory. This method should be used to free memory allocated with any of the muppiMalloc_<modifier> methods.

Parameters

  • pData (void *): A pointer to memory allocated using muppiMalloc_<modifier>.

Returns

  • Return type: void.