AMD RPP Extension API#
AMD OpenVX RPP Nodes Extension to use as the low-level library for rocAL. More...
Functions | |
| 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_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_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_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 | 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 | 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
AMD OpenVX RPP Nodes Extension to use as the low-level library for rocAL.
Function Documentation
◆ vxExtPythonFunction()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8orVX_TYPE_INT16format data.[out] pDst The output tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8orVX_TYPE_INT16format data.[in] bridgeFnPtr The pointer to the bridge function in VX_TYPE_UINT64format.[in] functionId The python function ID in VX_TYPE_UINT64format.[in] inputLayout The input layout in VX_TYPE_INT32denoting the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppBitwiseOps()
| 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).
- Parameters
-
[in] graph The handle to the graph. [in] pSrc1 The first input tensor in VX_TYPE_UINT8format data.[in] pSrc2 The second input tensor in VX_TYPE_UINT8format data.[in] pSrcRoi The input tensor of batch size in unsigned int containing per-sample ROI values for the inputs in XYWH/LTRB format. [out] pDst The output tensor in VX_TYPE_UINT8format data.[in] inputLayout The input layout in VX_TYPE_INT32denoting the layout of input tensors (e.g., VX_NHWC, VX_NCHW, VX_NFHWC, VX_NFCHW).[in] outputLayout The output layout in VX_TYPE_INT32denoting the layout of the output tensor.[in] roiType The ROI encoding type in VX_TYPE_INT32denoting whether source ROI is XYWH or LTRB.[in] opType The operation selector in VX_TYPE_INT32: 0 = AND, 1 = OR, 2 = XOR.
- Returns
- A node reference vx_node. Any possible errors preventing a successful creation should be checked using vxGetStatus.
◆ vxExtRppBlend()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc1 The input tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format data.[in] pSrc2 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] pShift The input array in VX_TYPE_FLOAT32format containing the shift data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppBlur()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_UINT8format 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 inVX_TYPE_UINT8format data.[in] inputLayout The input layout inVX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout inVX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roiVX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
A node referencevx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppBrightness()
| 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_scalar | inputLayout, | ||
| vx_scalar | outputLayout, | ||
| vx_scalar | roiType | ||
| ) |
[Graph] Creates a Brightness function node.
RPP VX_API_ENTRY C 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] pAlpha The input array in VX_TYPE_FLOAT32format containing the alpha data.[in] pBeta The input array in VX_TYPE_FLOAT32format containing the beta data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppChannelPermute()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format data.[out] pDst The output tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format data.[in] pPermutationTensor The input array in VX_TYPE_UINT32format containing the permutation order for channels.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppColorCast()
| 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.
- 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] pRgb The input tensor in VX_TYPE_UINT8format containing per-sample RGB triplets (r, g, b).[in] pAlpha The input array in VX_TYPE_FLOAT32format containing the alpha value per sample.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppColorJitter()
| 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.
- 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] pBrightness The input array in VX_TYPE_FLOAT32format containing the brightness data.[in] pContrast The input array in VX_TYPE_FLOAT32format containing the contrast data.[in] pHue The input array in VX_TYPE_FLOAT32format containing the hue data.[in] pSaturation The input array in VX_TYPE_FLOAT32format containing the saturation data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppColorTemperature()
| 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.
- 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] pAdjustValue The input array in VX_TYPE_FLOAT32format containing the adjustment value data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppColorToGreyscale()
| 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.
- 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] subpixelLayout The input scalar in VX_TYPE_INT32specifying the source subpixel layout.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppColorTwist()
| 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.
- 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] pAlpha The input array in VX_TYPE_FLOAT32format containing the alpha data.[in] pBeta The input array in VX_TYPE_FLOAT32format containing the beta data.[in] pHue The input array in VX_TYPE_FLOAT32format containing the hue data.[in] pSat The input array in VX_TYPE_FLOAT32format containing the saturation data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppContrast()
| 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.
- 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] pContrastFactor The input array in VX_TYPE_FLOAT32format containing the contrast factor data.[in] pContrastCenter The input array in VX_TYPE_FLOAT32format containing the contrast center data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppCopy()
| SHARED_PUBLIC vx_node VX_API_CALL vxExtRppCopy | ( | vx_graph | graph, |
| vx_tensor | pSrc, | ||
| vx_tensor | pDst | ||
| ) |
[Graph] Creates a Copy function node.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor data. [out] pDst The output tensor data.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppCrop()
| 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.
- 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] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppCropAndPatch()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc1 The first input tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format.[in] pSrc2 The second input tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format.[out] pDst The output tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format.[in] pDstRoi The input roi tensor containing per-sample ROI values for the destination in XYWH/LTRB format. [in] pCropRoi The input roi tensor containing per-sample ROI values for the crop region in XYWH/LTRB format. [in] pPatchRoi The input roi tensor containing per-sample ROI values for the patch region in XYWH/LTRB format. [in] inputLayout The input layout in VX_TYPE_INT32denoting the layout of input tensors (e.g., VX_NHWC, VX_NCHW, VX_NFHWC, VX_NFCHW).[in] outputLayout The output layout in VX_TYPE_INT32denoting the layout of the output tensor.[in] roiType The ROI encoding type in VX_TYPE_INT32denoting whether ROIs are XYWH or LTRB.
- Returns
- A node reference vx_node. Any possible errors preventing a successful creation should be checked using vxGetStatus.
◆ vxExtRppCropMirrorNormalize()
| 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.
- 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] pMultiplier The input array in VX_TYPE_FLOAT32format containing the multiplier data.[in] pOffset The input array in VX_TYPE_FLOAT32format containing the offset data.[in] pMirror The input array in VX_TYPE_INT32format containing the flip data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppDilate()
| 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.
- 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] kernelSize The input scalar in VX_TYPE_UINT32format containing the kernel size for the dilate operation.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The ROI encoding type in VX_TYPE_INT32denotes whether source ROI is XYWH or LTRB.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppDownmix()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_FLOAT32format data.[out] pDst The output tensor in VX_TYPE_FLOAT32format data.[in] pSrcRoi The input tensor of batch size in unsigned intcontaining the roi values for the input.
- Returns
A node referencevx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppErase()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format.[in] pSrcRoi The input tensor containing per-sample ROI values for the input in XYWH/LTRB format. [out] pDst The output tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format.[in] pAnchorBoxInfo The input tensor containing per-sample, per-box erase anchor boxes in LTRB encoding. Dimensions must accommodate the maximum number of boxes per sample. [in] pColors The input tensor containing per-sample, per-box erase colors. The tensor must provide a color triplet per box (layout-dependent). [in] pNumBoxes The input tensor of type VX_TYPE_UINT32orVX_TYPE_INT32containing the number of erase boxes per sample (length N in the first dimension).[in] inputLayout The input layout in VX_TYPE_INT32denoting the layout of the input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denoting the layout of the output tensor.[in] roiType The ROI encoding type in VX_TYPE_INT32denoting whether source ROI is XYWH or LTRB.
- Returns
- A node reference vx_node. Any possible errors preventing a successful creation should be checked using vxGetStatus.
◆ vxExtRppErode()
| 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.
- 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] kernelSize The input scalar in VX_TYPE_UINT32format containing the kernel size for the erode operation.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The ROI encoding type in VX_TYPE_INT32denotes whether source ROI is XYWH or LTRB.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppExposure()
| 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.
- 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] pExposureFactor The input array in VX_TYPE_FLOAT32format containing the exposure factor data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppFishEye()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The tensor in VX_TYPE_UINT8format 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_UINT8format data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppFlip()
| 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_scalar | inputLayout, | ||
| vx_scalar | outputLayout, | ||
| vx_scalar | roiType | ||
| ) |
[Graph] Creates a Flip 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] pHflag The input array in VX_TYPE_UINT32format containing the horizontal flag data.[in] pVflag The input array in VX_TYPE_UINT32format containing the vertical flag data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppFog()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_UINT8format 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_UINT8format data.[in] pIntensityFactor The input array in VX_TYPE_FLOAT32format containing the intensity factor values for fog calculation.[in] pGrayFactor The input array in VX_TYPE_FLOAT32format containing the gray factor values to introduce grayness in the image for fog calculation.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppGammaCorrection()
| 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.
- 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] pGamma The input array in VX_TYPE_FLOAT32format containing the gamma data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppGaussianFilter()
| 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.
- 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] pStdDev The input array in VX_TYPE_FLOAT32format containing the standard deviation values for Gaussian filter kernel generation.[in] kernelSize The input scalar in VX_TYPE_UINT32format containing the kernel size for the Gaussian filter.[in] borderType The input scalar in VX_TYPE_INT32format containing the border type for handling edge pixels.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppGaussianNoise()
| 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_scalar | seed, | ||
| vx_scalar | inputLayout, | ||
| vx_scalar | outputLayout, | ||
| vx_scalar | roiType | ||
| ) |
[Graph] Creates a GaussianNoise 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] pMean The input array in VX_TYPE_FLOAT32format containing the mean data for Gaussian noise.[in] pStdDev The input array in VX_TYPE_FLOAT32format containing the standard deviation data for Gaussian noise.[in] seed The input scalar in VX_TYPE_UINT32contains the seed value.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppGlitch()
| 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.
- 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] pXoffsetR The input array in VX_TYPE_UINT32format containing the x offset for r-channel data.[in] pYoffsetR The input array in VX_TYPE_UINT32format containing the y offset for r-channel data.[in] pXoffsetG The input array in VX_TYPE_UINT32format containing the x offset for g-channel data.[in] pYoffsetG The input array in VX_TYPE_UINT32format containing the y offset for g-channel data.[in] pXoffsetB The input array in VX_TYPE_UINT32format containing the x offset for b-channel data.[in] pYoffsetB The input array in VX_TYPE_UINT32format containing the y offset for b-channel data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppGridMask()
| 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.
- 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] tileWidth The input scalar in VX_TYPE_UINT32denoting the grid tile width (pixels).[in] gridRatio The input scalar in VX_TYPE_FLOAT32denoting the ratio of masked area within each tile (0.0 to 1.0).[in] gridAngle The input scalar in VX_TYPE_FLOAT32denoting the grid rotation in radians.[in] translateX The input scalar in VX_TYPE_UINT32denoting the translation along X in pixels.[in] translateY The input scalar in VX_TYPE_UINT32denoting the translation along Y in pixels.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppHue()
| 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.
- 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] pHueShift The input array in VX_TYPE_FLOAT32format containing the hue shift data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppJitter()
| 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.
- 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] pKernelSize The input array in VX_TYPE_UINT32format containing the kernel size data.[in] seed The input scalar in VX_TYPE_UINT32contains the seed value.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppJpegCompressionDistortion()
| 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.
- 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] pQuality The input array in VX_TYPE_INT32format containing the JPEG compression quality data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppLensCorrection()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_UINT8format 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_UINT8format data.[in] pCameraMatrix The input array in VX_TYPE_FLOAT32format containing camera intrinsic parameters required to compute lens corrected image.[in] pDistortionCoeffs The input array in VX_TYPE_FLOAT32format containing the distortion coefficients required to compute lens corrected image.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppLog()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_FLOAT32orVX_TYPE_FLOAT16format data.[in] pSrcRoi The input tensor of batch size in unsigned intcontaining the roi values for the input.[out] pDst The output tensor in VX_TYPE_FLOAT32orVX_TYPE_FLOAT16format data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppLog1p()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_INT16format data.[in] pSrcRoi The input tensor of batch size in unsigned intcontaining the roi values for the input.[out] pDst The output tensor in VX_TYPE_FLOAT32format data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppLut()
| 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.
- 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] pLut The lookup table tensor containing the transformation values. [in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppMagnitude()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc1 The first input tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format.[in] pSrc2 The second input tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format.[in] pSrcRoi The input tensor of batch size in unsigned intcontaining per-sample ROI values for the inputs in XYWH/LTRB format.[out] pDst The output tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format.[in] inputLayout The input layout in VX_TYPE_INT32denoting the layout of the input tensors.[in] outputLayout The output layout in VX_TYPE_INT32denoting the layout of the output tensor.[in] roiType The ROI encoding type in VX_TYPE_INT32denoting whether source ROI is XYWH or LTRB.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppMedianFilter()
| 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.
- 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] kernelSize The input scalar in VX_TYPE_UINT32format containing the kernel size for the median filter.[in] borderType The input scalar in VX_TYPE_INT32format containing the border type for handling edge pixels.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppMelFilterBank()
| 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
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_FLOAT32format data.[in] pSrcRoi The input tensor of batch size in unsigned intcontaining the roi values for the input in xywh (w- samples, h - channels) format.[out] pDst The output tensor (begin) inVX_TYPE_FLOAT32format data.[in] pDstRoi The input tensor of batch size inunsigned intcontaining the roi values for the input in xywh (w- samples, h - channels) format.[in] freqHigh The input scalar inVX_TYPE_FLOAT32format containing the maximum frequency.[in] freqLow The input scalar inVX_TYPE_FLOAT32format containing the minimum frequency.[in] melFormula The input scalar inVX_TYPE_INT32format indicates the formula used to convert frequencies from hertz to mel and vice versa.[in] nfilter The input scalar inVX_TYPE_INT32format containing the number of mel filters.[in] normalize The input scalar inVX_TYPE_BOOLformat to determine weather to normalize the triangular filter weights by the width of the frequecny bands.[in] sampleRate The input scalar inVX_TYPE_FLOAT32format containing the sampling rate of the audio data.[in] inputLayout The input layout inVX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout inVX_TYPE_INT32denotes the layout of output tensor.
- Returns
A node referencevx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppNoise()
| 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.
- 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] pNoiseProb The input array in VX_TYPE_FLOAT32format containing the noise probability data.[in] pSaltProb The input array in VX_TYPE_FLOAT32format containing the salt probability data.[in] pSaltValue The input array in VX_TYPE_FLOAT32format containing the salt value data.[in] pPepperValue The input array in VX_TYPE_FLOAT32format containing the pepper value data.[in] seed The input scalar in VX_TYPE_UINT32contains the seed value.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppNonSilentRegionDetection()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_FLOAT32format data.[in] pSrcRoi The input tensor in unsigned intcontaining the roi values for each input in the format <begin_dim1, begin_dim2 .., length_dim1, length_dim2> format for each dimension.[out] pBegin The output tensor containing begin values of the non-silent region of the audio-data inVX_TYPE_INT32format data.[out] pLength The output tensor containing length values of the non-silent region of the audio-data inVX_TYPE_INT32format data.[in] cutOffDB The input scalar inVX_TYPE_FLOAT32format containing the threshold, in dB, below which the signal is considered silent.[in] referencePower The input scalar inVX_TYPE_FLOAT32format containing the reference power used for converting the signal to dB.[in] windowLength The input scalar inVX_TYPE_INT32format containing the size of the sliding window.[in] resetInterval The input scalar inVX_TYPE_INT32format containing the frequency at which the moving mean average is recalculated to mitigate precision loss.
- Returns
A node referencevx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppNop()
| SHARED_PUBLIC vx_node VX_API_CALL vxExtRppNop | ( | vx_graph | graph, |
| vx_tensor | pSrc, | ||
| vx_tensor | pDst | ||
| ) |
[Graph] Creates a Nop function node.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor data. [out] pDst The output tensor data.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppNormalize()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_FLOAT32format data.[in] pSrcRoi The input tensor of batch size in unsigned intcontaining the roi values for the input.[out] pDst The output tensor inVX_TYPE_FLOAT32format data.[in] pDstRoi The input tensor of batch size inunsigned intcontaining the roi values for the output.[in] axisMask The input array inVX_TYPE_INT32format containing axis along which normalization needs to be done[in] pMean The input array inVX_TYPE_FLOAT32format containing values to be subtracted from input[in] pStddev The input array inVX_TYPE_FLOAT32format containing standard deviation values to scale the input[in] computeMeanAndStddev The input scalar inVX_TYPE_UINT8format containing flag to represent internal computation of mean and std dev[in] scale The input scalar inVX_TYPE_FLOAT32format containing value to be multiplied with data after subtracting from mean[in] shift The input scalar inVX_TYPE_FLOAT32format containing value to be added finally[in] inputLayout The input scalar inVX_TYPE_INT32format containing the layout of the input tensor.[in] roiType The input scalar inVX_TYPE_INT32format containing the roi type which can be ltrb/xywh.
- Returns
A node referencevx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppPhase()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc1 The first input tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format.[in] pSrc2 The second input tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format.[in] pSrcRoi The input tensor of batch size in unsigned intcontaining per-sample ROI values for the inputs in XYWH/LTRB format.[out] pDst The output tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format.[in] inputLayout The input layout in VX_TYPE_INT32denoting the layout of the input tensors.[in] outputLayout The output layout in VX_TYPE_INT32denoting the layout of the output tensor.[in] roiType The ROI encoding type in VX_TYPE_INT32denoting whether source ROI is XYWH or LTRB.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppPixelate()
| 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.
- 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] pixelationPercentage The input value in VX_TYPE_FLOAT32format containing the variable controling how much pixelation is applied to images.(pixelationPercentage value ranges from 0 to 100).[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppPosterize()
| 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.
- 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] pPosterizeLevelBits The input array in VX_TYPE_UINT8format containing the posterize level bits data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppPreemphasisFilter()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_FLOAT32format data.[in] pSrcRoi The input tensor of batch size in unsigned intcontaining the roi values for the input in xywh (w- samples, h - channels) format.[out] pDst The output tensor in VX_TYPE_FLOAT32format data.[in] pPreemphCoeff The input array in VX_TYPE_FLOAT32format containing the preEmphasis co-efficient.[in] borderType The type of border VX_TYPE_INT32which can be "zero", "clamp", "reflect".
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppRain()
| 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.
- 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] rainPercentage The input value in VX_TYPE_FLOAT32format containing the percentage of the rain effect to be applied.[in] rainWidth The input value in VX_TYPE_UINT32format containing the width of the rain drops in pixels.[in] rainHeight The input value in VX_TYPE_UINT32format containing the height of the rain drops in pixels.[in] rainSlantAngle The input value in VX_TYPE_FLOAT32format containing the slant angle of the rain drops (positive value for right slant, negative for left slant)[in] pRainTransperancy The input array in VX_TYPE_FLOAT32format containing the rain transparency data.[in] seed The input scalar in VX_TYPE_UINT32contains the seed value.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppRemap()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format.[in] pSrcRoi The input tensor containing per-sample ROI values for the input in XYWH/LTRB format. [out] pDst The output tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format.[in] pRowRemap The input remap table tensor of type VX_TYPE_FLOAT32containing row numbers per pixel. Must be common-desc NHWC with c=1.[in] pColRemap The input remap table tensor of type VX_TYPE_FLOAT32containing column numbers per pixel. Must be common-desc NHWC with c=1.[in] interpolationType The interpolation policy in VX_TYPE_INT32(supports NEAREST_NEIGHBOR and BILINEAR).[in] inputLayout The input layout in VX_TYPE_INT32denoting layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denoting layout of output tensor.[in] roiType The ROI encoding type in VX_TYPE_INT32denoting whether source ROI is XYWH or LTRB.
- Returns
- A node reference vx_node. Any possible errors preventing a successful creation should be checked using vxGetStatus.
◆ vxExtRppResample()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_FLOAT32format data.[out] pDst The output tensor in VX_TYPE_FLOAT32format data.[in] pSrcRoi The input tensor of batch size in unsigned intcontaining the roi values for the input.[in] pDstRoi The input tensor of batch size inunsigned intcontaining the roi values for the output.[in] pInRateTensor The input array inVX_TYPE_FLOAT32format containing the input sample rate data.[in] pOutRateTensor The input tensor inVX_TYPE_FLOAT32format containing the output sample rate data.[in] quality The resampling is achieved by applying a sinc filter with Hann window with an extent controlled by the quality argument.
- Returns
A node referencevx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppResize()
| 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.
- 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] pDstWidth The input array in VX_TYPE_UINT32format containing the output width data.[in] pDstHeight The input array in VX_TYPE_UINT32format containing the output height data.[in] interpolationType The resize interpolation type in VX_TYPE_INT32format containing the type of interpolation.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppResizeCrop()
| 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.
- 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] pDstWidth The input array in VX_TYPE_UINT32format containing the output width data.[in] pDstHeight The input array in VX_TYPE_UINT32format containing the output height data.[in] interpolationType The resize interpolation type in VX_TYPE_INT32format containing the type of interpolation.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppResizeCropMirror()
| 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.
- 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] pDstWidth The input array in VX_TYPE_UINT32format containing the output width data.[in] pDstHeight The input array in VX_TYPE_UINT32format containing the output height data.[in] pMirror The input array in VX_TYPE_INT32format containing the mirror data.[in] interpolationType The resize interpolation type in VX_TYPE_INT32format containing the type of interpolation.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppResizeMirrorNormalize()
| 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.
- 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] pDstWidth The input array in VX_TYPE_UINT32format containing the output width data.[in] pDstHeight The input array in VX_TYPE_UINT32format containing the output height data.[in] interpolationType The resize interpolation type in VX_TYPE_INT32format containing the type of interpolation.[in] pMean The input array in VX_TYPE_FLOAT32format containing the mean data.[in] pStdDev The input array in VX_TYPE_FLOAT32format containing the std-dev data.[in] pMirror The input array in VX_TYPE_INT32format containing the mirror data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppRicap()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format data.[out] pDst The output tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format data.[in] pPermutation The input tensor in VX_TYPE_UINT32format of length N*4, containing 4 indices per output sample that select which input samples supply the four patches.[in] pInputCropRoi The input tensor containing 4 crop ROIs per output sample in XYWH/LTRB encoding (see roiType). The tensor must be laid out as a contiguous array of RpptROI entries. [in] inputLayout The input layout in VX_TYPE_INT32denoting the layout of pSrc (e.g., VX_NHWC, VX_NCHW, VX_NFHWC, VX_NFCHW).[in] outputLayout The output layout in VX_TYPE_INT32denoting the layout of pDst.[in] roiType The ROI encoding type in VX_TYPE_INT32denoting whether ROIs are XYWH or LTRB.
- Returns
- A node reference vx_node. Any possible errors preventing a successful creation should be checked using vxGetStatus.
◆ vxExtRppRotate()
| 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.
- 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] pAngle The input array in VX_TYPE_FLOAT32format containing the angle data.[in] interpolationType The resize interpolation type in VX_TYPE_INT32format containing the type of interpolation.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppSaturation()
| 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.
- 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] pSaturationFactor The input array in VX_TYPE_FLOAT32format containing the saturation factor data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppSequenceRearrange()
| 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.
[Graph] Creates a Tensor SequenceRearrange function node.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor VX_TYPE_UINT8format data.[out] pDst The output tensor VX_TYPE_UINT8format data.[in] pNewOrder The rearrange order in VX_TYPE_UINT32containing the order in which frames are copied.[in] layout The layout in VX_TYPE_INT32denotes the layout of input and output tensor.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_UINT8format data.[out] pDst The output tensor inVX_TYPE_UINT8format data.[in] pNewOrder The rearrange order inVX_TYPE_UINT32containing the order in which frames are copied.[in] layout The layout inVX_TYPE_INT32denotes the layout of input and output tensor.
- Returns
vx_node.-
A node referencevx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppShotNoise()
| 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.
- 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] pShotNoiseFactor The input array in VX_TYPE_FLOAT32format containing the shot noise factor data.[in] seed The input scalar in VX_TYPE_UINT32contains the seed value.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppSlice()
| 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
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32format data.[in] pSrcRoi The input tensor in unsigned intformat containing the roi values for the input format <begin_dim1, begin_dim2 .., length_dim1, length_dim2> format for each dimension.[out] pDst The output tensor inVX_TYPE_UINT8orVX_TYPE_FLOAT32format data.[in] pDstRoi The input tensor inunsigned intformat containing the roi values for the output tensor format <begin_dim1, begin_dim2 .., length_dim1, length_dim2> format for each dimension.[in] pAnchor The input array inVX_TYPE_INT32format containing the absolute coordinates for the starting point of the slice.[in] pShape The input array inVX_TYPE_INT32format containing the absolute coordinates for the dimensions of the slice[in] pFillValue The input array inVX_TYPE_INT32format which determines the values to be padded and is only relevant if policy is set to “pad”.[in] policy The input scalar inVX_TYPE_INT32format which determines the policy when slicing the out of bounds area of the input. The values can be "error", "pad", "trim_to_shape"[in] inputLayout The input scalar inVX_TYPE_INT32format containing the layout of the input tensor.[in] roiType The input scalar inVX_TYPE_INT32format containing the roi type which can be ltrb/xywh.
- Returns
A node referencevx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppSnow()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_UINT8format 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_UINT8format data.[in] pBrightnessCoefficient The input array in VX_TYPE_FLOAT32format containing the brightness coefficient (per image). Valid range: (1, 4].[in] pSnowThreshold The input array in VX_TYPE_FLOAT32format containing the snow threshold (per image). Valid range: (0, 1].[in] pDarkMode The input array in VX_TYPE_INT32format containing the dark mode enable/disable flag (per image). Valid values: 0/1.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppSolarize()
| 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.
- 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] pThresholdTensor The input array in VX_TYPE_FLOAT32format containing the threshold data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppSpatter()
| 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.
- 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] pSpatterColor The input array in VX_TYPE_UINT8format containing RGB values for the spatter color.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppSpectrogram()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_FLOAT32format 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 (begin) inVX_TYPE_FLOAT32format data.[in] pDstRoi The input tensor of batch size inunsigned intcontaining the roi values for the output tensor in xywh/ltrb format.[in] windowFunction The input array inVX_TYPE_FLOAT32format containing the samples of the window function that will be multiplied to each extracted window when calculating the STFT.[in] centerWindow The input scalar inVX_TYPE_BOOLformat indicates whether extracted windows should be padded so that the window function is centered at multiples of window_step.[in] reflectPadding The input scalar inVX_TYPE_BOOLformat indicates the padding policy when sampling outside the bounds of the signal.[in] spectrogramLayout The input scalar inVX_TYPE_INT32format containing the Output spectrogram layout.[in] power The input scalar inVX_TYPE_INT32format containing the exponent of the magnitude of the spectrum.[in] nfft The input scalar inVX_TYPE_INT32format containing the size of the FFT.[in] windowLength The input scalar inVX_TYPE_INT32format containing Window size in number of samples.[in] windowStep The input array inVX_TYPE_INT32format containing the step between the STFT windows in number of samples.
- Returns
A node referencevx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppTensorAddTensor()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc1 The input tensor1 in VX_TYPE_FLOAT32format data.[in] pSrc2 The input tensor2 inVX_TYPE_FLOAT32format data.[out] pDst The output tensor inVX_TYPE_FLOAT32format data.[in] pSrcRoi The input tensor of batch size inunsigned intcontaining the roi values for the input1.[in] pDstRoi The input tensor of batch size inunsigned intcontaining the roi values for the input2.
- Returns
A node referencevx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppTensorMax()
| 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.
- 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 that stores reduction-max results. [in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppTensorMean()
| 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.
- 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 that stores reduction-mean results. [in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppTensorMin()
| 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.
- 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 that stores reduction-min results. [in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppTensorMulScalar()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_FLOAT32format data.[out] pDst The output tensor inVX_TYPE_FLOAT32format data.[in] scalarValue The input scalar inVX_TYPE_FLOAT32format containing the value used to multiply the input tensor
- Returns
A node referencevx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppTensorStdDev()
| 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.
- 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 that stores reduction-stddev results. [in] pMean The input tensor containing per-sample means required for stddev computation. [in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppTensorSum()
| 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.
- 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 that stores reduction results. [in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppThreshold()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format.[in] pSrcRoi The input tensor of batch size in unsigned intcontaining per-sample ROI values for the inputs in XYWH/LTRB format.[out] pDst The output tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32orVX_TYPE_FLOAT16orVX_TYPE_INT8format.[in] pMin The input array in VX_TYPE_FLOAT32format containing per-sample minimum threshold values.[in] pMax The input array in VX_TYPE_FLOAT32format containing per-sample maximum threshold values.[in] inputLayout The input layout in VX_TYPE_INT32denoting the layout of the input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denoting the layout of the output tensor.[in] roiType The ROI encoding type in VX_TYPE_INT32denoting whether source ROI is XYWH or LTRB.
- Returns
- A node reference vx_node. Any possible errors preventing a successful creation should be checked using vxGetStatus.
◆ vxExtRppToDecibels()
| 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.
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_FLOAT32format data.[in] pSrcRoi The input tensor of batch size in unsigned intcontaining the roi values for the input.[out] pDst The output tensor inVX_TYPE_FLOAT32format data.[in] cutOffDB The input scalar inVX_TYPE_FLOAT32format containing minimum or cut-off ratio in dB[in] multiplier The input scalar inVX_TYPE_FLOAT32format containing factor by which the logarithm is multiplied[in] referenceMagnitude The input scalar inVX_TYPE_FLOAT32format containing Reference magnitude which if not provided uses maximum value of input as reference[in] inputLayout The input layout inVX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout inVX_TYPE_INT32denotes the layout of output tensor.
- Returns
A node referencevx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppTranspose()
| 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
- Parameters
-
[in] graph The handle to the graph. [in] pSrc The input tensor in VX_TYPE_UINT8orVX_TYPE_FLOAT32format data.[in] pSrcRoi The input tensor of batch size in unsigned intcontaining the roi values for the input in xywh (w- samples, h - channels) format.[out] pDst The input tensor inVX_TYPE_UINT8orVX_TYPE_FLOAT32format data.[in] pPerm The input array inVX_TYPE_INT32format containing the permutation in which transpose needs to be done[in] inputLayout The input layout inVX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout inVX_TYPE_INT32denotes the layout of output tensor.[in] roiType The input scalar inVX_TYPE_INT32format containing the roi type which can be ltrb/xywh.
- Returns
A node referencevx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppVignette()
| 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.
- 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] pStdDev The input array in VX_TYPE_FLOAT32format containing the standard deviation data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppWarpAffine()
| 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.
- 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] pAffineArray The input array in VX_TYPE_FLOAT32format containing the affine transformation data.[in] interpolationType The resize interpolation type in VX_TYPE_INT32format containing the type of interpolation.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.
◆ vxExtRppWater()
| 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.
- 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] pAmplitudeX The input array in VX_TYPE_FLOAT32format containing the amplitude X data.[in] pAmplitudeY The input array in VX_TYPE_FLOAT32format containing the amplitude Y data.[in] pFrequencyX The input array in VX_TYPE_FLOAT32format containing the frequency X data.[in] pFrequencyY The input array in VX_TYPE_FLOAT32format containing the frequency Y data.[in] pPhaseX The input array in VX_TYPE_FLOAT32format containing the phase X data.[in] pPhaseY The input array in VX_TYPE_FLOAT32format containing the phase Y data.[in] inputLayout The input layout in VX_TYPE_INT32denotes the layout of input tensor.[in] outputLayout The output layout in VX_TYPE_INT32denotes the layout of output tensor.[in] roiType The type of roi VX_TYPE_INT32denotes whether source roi is of XYWH/LTRB type.
- Returns
- A node reference
vx_node. Any possible errors preventing a successful creation should be checked usingvxGetStatus.