develop/amd_openvx_extensions/amd_rpp/include/vx_ext_rpp.h File Reference#
The AMD OpenVX RPP Nodes Extension Library. More...
Go to the source code of this file.
Macros | |
| #define | dimof(x) (sizeof(x) / sizeof(x[0])) |
| A macro to get the number of elements in an array. More... | |
| #define | SHARED_PUBLIC __attribute__((visibility("default"))) |
| A macro to specify public visibility for shared library symbols. | |
Functions | |
| vx_node | vxCreateNodeByStructure (vx_graph graph, vx_enum kernelenum, vx_reference params[], vx_uint32 num) |
| Creates a node in a graph using a predefined kernel structure. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppBrightness (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pAlpha, vx_array pBeta, vx_array pConditionalExecution, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Brightness function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppCopy (vx_graph graph, vx_tensor pSrc, vx_tensor pDst) |
| [Graph] Creates a Copy function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppCropMirrorNormalize (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pMultiplier, vx_array pOffset, vx_array pMirror, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a CropMirrorNormalize function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppNop (vx_graph graph, vx_tensor pSrc, vx_tensor pDst) |
| [Graph] Creates a Nop function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppResize (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pDstWidth, vx_array pDstHeight, vx_scalar interpolationType, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Resize function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppSequenceRearrange (vx_graph graph, vx_tensor pSrc, vx_tensor pDst, vx_array pNewOrder, vx_scalar layout) |
| [Graph] Creates a SequenceRearrange function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppBlend (vx_graph graph, vx_tensor pSrc1, vx_tensor pSrc2, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pShift, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Blend function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppBlur (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Blur function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppColorTemperature (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pAdjustValue, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a ColorTemperature function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppColorTwist (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pAlpha, vx_array pBeta, vx_array pHue, vx_array pSat, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a ColorTwist function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppColorJitter (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pBrightness, vx_array pContrast, vx_array pHue, vx_array pSaturation, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a ColorJitter function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppContrast (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pContrastFactor, vx_array pContrastCenter, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Contrast function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppCrop (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Crop function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppExposure (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pExposureFactor, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Exposure function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppFishEye (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a FishEye function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppFlip (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pHflag, vx_array pVflag, vx_array pDflag, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Flip function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppFog (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pIntensityFactor, vx_array pGrayFactor, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Fog function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppGammaCorrection (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pGamma, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a GammaCorrection function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppGlitch (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pXoffsetR, vx_array pYoffsetR, vx_array pXoffsetG, vx_array pYoffsetG, vx_array pXoffsetB, vx_array pYoffsetB, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Glitch function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppHue (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pHueShift, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Hue function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppJitter (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pKernelSize, vx_scalar seed, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Jitter function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppLensCorrection (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pCameraMatrix, vx_array pDistortionCoeffs, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a LensCorrection function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppNoise (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pNoiseProb, vx_array pSaltProb, vx_array pSaltValue, vx_array pPepperValue, vx_scalar seed, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Noise function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppGaussianNoise (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pMean, vx_array pStdDev, vx_array pConditionalExecution, vx_scalar seed, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a GaussianNoise function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppShotNoise (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pShotNoiseFactor, vx_scalar seed, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a ShotNoise function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppRain (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_scalar rainPercentage, vx_scalar rainWidth, vx_scalar rainHeight, vx_scalar rainSlantAngle, vx_array pRainTransperancy, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Rain function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppSpatter (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pSpatterColor, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Spatter function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppResizeCrop (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pDstWidth, vx_array pDstHeight, vx_scalar interpolationType, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a ResizeCrop function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppResizeCropMirror (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pDstWidth, vx_array pDstHeight, vx_array pMirror, vx_scalar interpolationType, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a ResizeCropMirror function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppResizeMirrorNormalize (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pDstWidth, vx_array pDstHeight, vx_scalar interpolationType, vx_array pMean, vx_array pStdDev, vx_array pMirror, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a ResizeMirrorNormalize function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppRotate (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pAngle, vx_scalar interpolationType, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Rotate function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppSaturation (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pSaturationFactor, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Saturation function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppSnow (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pBrightnessCoefficient, vx_array pSnowThreshold, vx_array pDarkMode, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Snow function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppPixelate (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_scalar pixelationPercentage, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Pixelate function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppVignette (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pStdDev, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Vignette function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppWarpAffine (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pAffineArray, vx_scalar interpolationType, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Warp-Affine function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppPreemphasisFilter (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pPreemphCoeff, vx_scalar borderType) |
| [Graph] Applies preemphasis filter to the input tensor. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppSpectrogram (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_tensor pDstRoi, vx_array windowFunction, vx_scalar centerWindow, vx_scalar reflectPadding, vx_scalar spectrogramLayout, vx_scalar power, vx_scalar nfft, vx_scalar windowLength, vx_scalar windowStep) |
| [Graph] Produces a spectrogram from a 1D signal. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppDownmix (vx_graph graph, vx_tensor pSrc, vx_tensor pDst, vx_tensor srcRoi) |
| [Graph] Applies downmixing to the input tensor. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppToDecibels (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_scalar cutOffDB, vx_scalar multiplier, vx_scalar referenceMagnitude, vx_scalar inputLayout, vx_scalar outputLayout) |
| [Graph] Applies to_decibels augmentation to the input tensor. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppResample (vx_graph graph, vx_tensor pSrc, vx_tensor pDst, vx_tensor pSrcRoi, vx_tensor pDstRoi, vx_array pInRateTensor, vx_tensor pOutRateTensor, vx_scalar quality) |
| [Graph] Applies resample augmentation to the input tensor. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppTensorMulScalar (vx_graph graph, vx_tensor pSrc, vx_tensor pDst, vx_scalar scalarValue) |
| [Graph] Multiples a tensor and a scalar and returns the output. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppTensorAddTensor (vx_graph graph, vx_tensor pSrc1, vx_tensor pSrc2, vx_tensor pDst, vx_tensor pSrcRoi, vx_tensor pDstRoi) |
| [Graph] Adds two tensors and returns the output. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppNonSilentRegionDetection (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst1, vx_tensor pDst2, vx_scalar cutOffDB, vx_scalar referencePower, vx_scalar windowLength, vx_scalar resetInterval) |
| [Graph] Performs leading and trailing silence detection to the input tensor. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppSlice (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_tensor pDstRoi, vx_tensor pAnchor, vx_tensor pShape, vx_array pFillValue, vx_scalar policy, vx_scalar inputLayout, vx_scalar roiType) |
| [Graph] Slice's the input tensor using anchors and shapes values More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppNormalize (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_tensor pDstRoi, vx_scalar axis_mask, vx_array pMean, vx_array pStddev, vx_scalar computeMeanAndStddev, vx_scalar scale, vx_scalar shift, vx_scalar inputLayout, vx_scalar roiType) |
| [Graph] Applies mean-stddev normalization to the input tensor. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppMelFilterBank (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_tensor pDstRoi, vx_scalar freqHigh, vx_scalar freqLow, vx_scalar melFormula, vx_scalar nfilter, vx_scalar normalize, vx_scalar sampleRate, vx_scalar inputLayout, vx_scalar outputLayout) |
| [Graph] Produces a mel-spectrogram from spectrogram on applying a bank of triangular filters More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppTranspose (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pPerm, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Transpose the input tensor according to the permutation passed More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppLog (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_scalar inputLayout) |
| [Graph] Computes the natural logarithm of input element-wise and returns the output. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppLog1p (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_scalar inputLayout) |
| [Graph] Computes the natural logarithm of 1 + input element-wise and returns the output. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtPythonFunction (vx_graph graph, vx_tensor pSrc, vx_tensor pDst, vx_scalar bridgeFnPtr, vx_scalar functionId, vx_scalar inputLayout, vx_scalar outputLayout) |
| [Graph] Invokes the python execution callback function from rocAL, passes the input to the callback and returns the output. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppColorCast (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_tensor pRgb, vx_array pAlpha, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a ColorCast function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppGridMask (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_scalar tileWidth, vx_scalar gridRatio, vx_scalar gridAngle, vx_scalar translateX, vx_scalar translateY, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a GridMask function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppNonLinearBlend (vx_graph graph, vx_tensor pSrc1, vx_tensor pSrc2, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pStdDev, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a RPP NonLinearBlend node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppMedianFilter (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_scalar kernelSize, vx_scalar borderType, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Median Filter function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppGaussianFilter (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pStdDev, vx_scalar kernelSize, vx_scalar borderType, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Gaussian Filter function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppErode (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_scalar kernelSize, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates an Erode function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppDilate (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_scalar kernelSize, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Dilate function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppMagnitude (vx_graph graph, vx_tensor pSrc1, vx_tensor pSrc2, vx_tensor pSrcRoi, vx_tensor pDst, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Magnitude function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppPhase (vx_graph graph, vx_tensor pSrc1, vx_tensor pSrc2, vx_tensor pSrcRoi, vx_tensor pDst, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Phase function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppThreshold (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pMin, vx_array pMax, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Threshold function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppWarpPerspective (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pPerspectiveArray, vx_scalar interpolationType, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a RPP Warp Perspective function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppErase (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_tensor pAnchorBoxInfo, vx_tensor pColors, vx_tensor pNumBoxes, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates an Erase function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppBitwiseOps (vx_graph graph, vx_tensor pSrc1, vx_tensor pSrc2, vx_tensor pSrcRoi, vx_tensor pDst, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType, vx_scalar opType) |
| [Graph] Creates a BitwiseOps function node (AND/OR/XOR). More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppCropAndPatch (vx_graph graph, vx_tensor pSrc1, vx_tensor pSrc2, vx_tensor pDst, vx_tensor pDstRoi, vx_tensor pCropRoi, vx_tensor pPatchRoi, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a RPP CropAndPatch function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppRemap (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_tensor pRowRemap, vx_tensor pColRemap, vx_scalar interpolationType, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a RPP Remap function node for tensors. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppRicap (vx_graph graph, vx_tensor pSrc, vx_tensor pDst, vx_tensor pPermutation, vx_tensor pInputCropRoi, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Ricap (Random Image Cropping And Patching) function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppWater (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pAmplitudeX, vx_array pAmplitudeY, vx_array pFrequencyX, vx_array pFrequencyY, vx_array pPhaseX, vx_array pPhaseY, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Water function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppChannelPermute (vx_graph graph, vx_tensor pSrc, vx_tensor pDst, vx_array pPermutationTensor, vx_scalar inputLayout, vx_scalar outputLayout) |
| [Graph] Creates a ChannelPermute function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppColorToGreyscale (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_scalar subpixelLayout, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a ColorToGreyscale function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppJpegCompressionDistortion (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pQuality, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a JpegCompressionDistortion function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppLut (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_tensor pLut, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Look-Up Table (LUT) function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppPosterize (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pPosterizeLevelBits, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Posterize function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppSolarize (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_array pThresholdTensor, vx_scalar inputLayout, vx_scalar outputLayout, vx_scalar roiType) |
| [Graph] Creates a Solarize function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppTensorSum (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_scalar inputLayout, vx_scalar roiType) |
| [Graph] Creates a TensorSum function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppTensorMin (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_scalar inputLayout, vx_scalar roiType) |
| [Graph] Creates a TensorMin function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppTensorMax (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_scalar inputLayout, vx_scalar roiType) |
| [Graph] Creates a TensorMax function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppTensorMean (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_scalar inputLayout, vx_scalar roiType) |
| [Graph] Creates a TensorMean function node. More... | |
| SHARED_PUBLIC vx_node VX_API_CALL | vxExtRppTensorStdDev (vx_graph graph, vx_tensor pSrc, vx_tensor pSrcRoi, vx_tensor pDst, vx_tensor pMean, vx_scalar inputLayout, vx_scalar roiType) |
| [Graph] Creates a TensorStdDev function node. More... | |
Detailed Description
The AMD OpenVX RPP Nodes Extension Library.
Macro Definition Documentation
◆ dimof
| #define dimof | ( | x | ) | (sizeof(x) / sizeof(x[0])) |
A macro to get the number of elements in an array.
- Parameters
-
[in] x The array whose size is to be determined.
- Returns
- The number of elements in the array.
Function Documentation
◆ vxCreateNodeByStructure()
| vx_node vxCreateNodeByStructure | ( | vx_graph | graph, |
| vx_enum | kernelenum, | ||
| vx_reference | params[], | ||
| vx_uint32 | num | ||
| ) |
Creates a node in a graph using a predefined kernel structure.
- Parameters
-
[in] graph The handle to the graph. [in] kernelenum The enum value representing the kernel to be used. [in] params An array of parameter references for the kernel. [in] num The number of parameters in the params array.
- Returns
- A handle to the created node.
◆ vxExtRppNonLinearBlend()
| SHARED_PUBLIC vx_node VX_API_CALL vxExtRppNonLinearBlend | ( | vx_graph | graph, |
| vx_tensor | pSrc1, | ||
| vx_tensor | pSrc2, | ||
| vx_tensor | pSrcRoi, | ||
| vx_tensor | pDst, | ||
| vx_array | pStdDev, | ||
| vx_scalar | inputLayout, | ||
| vx_scalar | outputLayout, | ||
| vx_scalar | roiType | ||
| ) |
[Graph] Creates a RPP NonLinearBlend node.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc1 The first input tensor of vx_tensor.[in] pSrc2 The second input tensor of vx_tensor.[in] pSrcRoi The input roi tensor of vx_tensor.[out] pDst The output tensor of vx_tensor.[in] pStdDev The input array in VX_TYPE_FLOAT32format containing per-sample standard deviation values for non-linear blending.[in] inputLayout The input layout of vx_scalar.[in] outputLayout The output layout of vx_scalar.[in] roiType The roi type of vx_scalar.
- Returns
vx_node.-
A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppWarpPerspective()
| SHARED_PUBLIC vx_node VX_API_CALL vxExtRppWarpPerspective | ( | vx_graph | graph, |
| vx_tensor | pSrc, | ||
| vx_tensor | pSrcRoi, | ||
| vx_tensor | pDst, | ||
| vx_array | pPerspectiveArray, | ||
| vx_scalar | interpolationType, | ||
| vx_scalar | inputLayout, | ||
| vx_scalar | outputLayout, | ||
| vx_scalar | roiType | ||
| ) |
[Graph] Creates a RPP Warp Perspective function node.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format data.[in] pSrcRoi The input tensor of batch size in unsigned intcontaining the roi values for the input in XYWH/LTRB format.[out] pDst The output tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format data.[in] pPerspectiveArray The input array in VX_TYPE_FLOAT32format containing per-sample 3x3 perspective transform matrices (9 values per sample, row-major).[in] interpolationType The resize interpolation type in VX_TYPE_INT32format containing the interpolation policy.[in] inputLayout The input layout in VX_TYPE_INT32denoting the layout of input tensor (e.g., VX_NHWC, VX_NCHW, etc.).[in] outputLayout The output layout in VX_TYPE_INT32denoting the layout of output tensor (e.g., VX_NHWC, VX_NCHW, etc.).[in] roiType The ROI encoding type in VX_TYPE_INT32denoting whether source ROI is of XYWH or LTRB type.
- Returns
- A node reference vx_node. Any possible errors preventing a successful creation should be checked using
vxGetStatus.