Main Content

Code Optimization for HVX

Generate optimized code for Hexagon Vector eXtension using code replacement

Generate optimized code for digital signal processing from blocks, System objects, and math operators using code replacement.

Qualcomm® Hexagon® processors require specific conditions to allow code replacement with the Hexagon Vector eXtension (HVX) for vector processors. You use this code replacement when generating C/C++ code from a model.

Blocks

HVX Conv2D2-D convolution for HVX (Since R2026a)
HVX Dilate2-D grayscale dilation for HVX (Since R2026a)
HVX Erode2-D grayscale erosion for HVX (Since R2026a)

Functions

QHVXIPCV.conv2D2-D convolution for HVX (Since R2026a)
QHVXIPCV.dilate3x32-D grayscale dilation with a 3-by-3 square structuring element for HVX (Since R2026a)
QHVXIPCV.dilate5x52-D grayscale dilation with a 5-by-5 square structuring element for HVX (Since R2026a)
QHVXIPCV.dilate7x72-D grayscale dilation with a 7-by-7 square structuring element for HVX (Since R2026a)
QHVXIPCV.erode3x32-D grayscale erosion with a 3-by-3 square structuring element for HVX (Since R2026a)
QHVXIPCV.erode5x52-D grayscale erosion with a 5-by-5 square structuring element for HVX (Since R2026a)
QHVXIPCV.erode7x72-D grayscale erosion with a 7-by-7 square structuring element for HVX (Since R2026a)

Topics

Featured Examples