develop/amd_openvx/openvx/include/VX/vx_kernels.h File Reference

develop/amd_openvx/openvx/include/VX/vx_kernels.h File Reference#

MIVisionX: develop/amd_openvx/openvx/include/VX/vx_kernels.h File Reference
vx_kernels.h File Reference

The list of supported kernels in the OpenVX standard. More...

Go to the source code of this file.

Enumerations

enum  vx_library_e { VX_LIBRARY_KHR_BASE = 0x0 }
 The standard list of available libraries. More...
 
enum  vx_kernel_e {
  VX_KERNEL_COLOR_CONVERT = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x1 , VX_KERNEL_CHANNEL_EXTRACT = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x2 , VX_KERNEL_CHANNEL_COMBINE = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x3 , VX_KERNEL_SOBEL_3x3 = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x4 ,
  VX_KERNEL_MAGNITUDE = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x5 , VX_KERNEL_PHASE = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x6 , VX_KERNEL_SCALE_IMAGE = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x7 , VX_KERNEL_TABLE_LOOKUP = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x8 ,
  VX_KERNEL_HISTOGRAM = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x9 , VX_KERNEL_EQUALIZE_HISTOGRAM = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0xA , VX_KERNEL_ABSDIFF = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0xB , VX_KERNEL_MEAN_STDDEV = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0xC ,
  VX_KERNEL_THRESHOLD = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0xD , VX_KERNEL_INTEGRAL_IMAGE = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0xE , VX_KERNEL_DILATE_3x3 = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0xF , VX_KERNEL_ERODE_3x3 = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x10 ,
  VX_KERNEL_MEDIAN_3x3 = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x11 , VX_KERNEL_BOX_3x3 = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x12 , VX_KERNEL_GAUSSIAN_3x3 = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x13 , VX_KERNEL_CUSTOM_CONVOLUTION = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x14 ,
  VX_KERNEL_GAUSSIAN_PYRAMID = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x15 , VX_KERNEL_MINMAXLOC = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x19 , VX_KERNEL_CONVERTDEPTH = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x1A , VX_KERNEL_CANNY_EDGE_DETECTOR = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x1B ,
  VX_KERNEL_AND = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x1C , VX_KERNEL_OR = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x1D , VX_KERNEL_XOR = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x1E , VX_KERNEL_NOT = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x1F ,
  VX_KERNEL_MULTIPLY = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x20 , VX_KERNEL_ADD = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x21 , VX_KERNEL_SUBTRACT = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x22 , VX_KERNEL_WARP_AFFINE = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x23 ,
  VX_KERNEL_WARP_PERSPECTIVE = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x24 , VX_KERNEL_HARRIS_CORNERS = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x25 , VX_KERNEL_FAST_CORNERS = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x26 , VX_KERNEL_OPTICAL_FLOW_PYR_LK = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x27 ,
  VX_KERNEL_REMAP = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x28 , VX_KERNEL_HALFSCALE_GAUSSIAN = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x29 , VX_KERNEL_MAX_1_0 , VX_KERNEL_LAPLACIAN_PYRAMID = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x2A ,
  VX_KERNEL_LAPLACIAN_RECONSTRUCT = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x2B , VX_KERNEL_NON_LINEAR_FILTER = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x2C , VX_KERNEL_MAX_1_1 , VX_KERNEL_MATCH_TEMPLATE = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x2D ,
  VX_KERNEL_LBP = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x2E , VX_KERNEL_HOUGH_LINES_P = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x2F , VX_KERNEL_TENSOR_MULTIPLY = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x30 , VX_KERNEL_TENSOR_ADD = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x31 ,
  VX_KERNEL_TENSOR_SUBTRACT = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x32 , VX_KERNEL_TENSOR_TABLE_LOOKUP = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x33 , VX_KERNEL_TENSOR_TRANSPOSE = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x34 , VX_KERNEL_TENSOR_CONVERT_DEPTH = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x35 ,
  VX_KERNEL_TENSOR_MATRIX_MULTIPLY = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x36 , VX_KERNEL_COPY = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x37 , VX_KERNEL_NON_MAX_SUPPRESSION = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x38 , VX_KERNEL_SCALAR_OPERATION = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x39 ,
  VX_KERNEL_HOG_FEATURES = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x3A , VX_KERNEL_HOG_CELLS = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x3B , VX_KERNEL_BILATERAL_FILTER = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x3C , VX_KERNEL_SELECT = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x3D ,
  VX_KERNEL_MAX_1_2 , VX_KERNEL_MAX = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x3E , VX_KERNEL_MIN = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x3F , VX_KERNEL_WEIGHTED_AVERAGE = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE) + 0x40
}
 The standard list of available vision kernels. More...
 

Detailed Description

The list of supported kernels in the OpenVX standard.

Enumeration Type Documentation

◆ vx_kernel_e

The standard list of available vision kernels.

Each kernel listed here can be used with the vxGetKernelByEnum call. When programming the parameters, use

When programming the parameters, use

Enumerator
VX_KERNEL_COLOR_CONVERT 

The Color Space conversion kernel.

The conversions are based on the vx_df_image_e code in the images.

See also
group_vision_function_colorconvert
VX_KERNEL_CHANNEL_EXTRACT 

The Generic Channel Extraction Kernel.

This kernel can remove individual color channels from an interleaved or semi-planar, planar, sub-sampled planar image. A client could extract a red channel from an interleaved RGB image or do a Luma extract from a YUV format.

See also
group_vision_function_channelextract
VX_KERNEL_CHANNEL_COMBINE 

The Generic Channel Combine Kernel.

This kernel combine multiple individual planes into a single multiplanar image of the type specified in the output image.

See also
group_vision_function_channelcombine
VX_KERNEL_SOBEL_3x3 

The Sobel 3x3 Filter Kernel.

See also
group_vision_function_sobel3x3
VX_KERNEL_MAGNITUDE 

The Magnitude Kernel.

This kernel produces a magnitude plane from two input gradients.

See also
group_vision_function_magnitude
VX_KERNEL_PHASE 

The Phase Kernel.

This kernel produces a phase plane from two input gradients.

See also
group_vision_function_phase
VX_KERNEL_SCALE_IMAGE 

The Scale Image Kernel.

This kernel provides resizing of an input image to an output image. The scaling factor is determined but the relative sizes of the input and output.

See also
group_vision_function_scale_image
VX_KERNEL_TABLE_LOOKUP 

The Table Lookup kernel.

See also
group_vision_function_lut
VX_KERNEL_HISTOGRAM 

The Histogram Kernel.

See also
group_vision_function_histogram
VX_KERNEL_EQUALIZE_HISTOGRAM 

The Histogram Equalization Kernel.

See also
group_vision_function_equalize_hist
VX_KERNEL_ABSDIFF 

The Absolute Difference Kernel.

See also
group_vision_function_absdiff
VX_KERNEL_MEAN_STDDEV 

The Mean and Standard Deviation Kernel.

See also
group_vision_function_meanstddev
VX_KERNEL_THRESHOLD 

The Threshold Kernel.

See also
group_vision_function_threshold
VX_KERNEL_INTEGRAL_IMAGE 

The Integral Image Kernel.

See also
group_vision_function_integral_image
VX_KERNEL_DILATE_3x3 

The dilate kernel.

See also
group_vision_function_dilate_image
VX_KERNEL_ERODE_3x3 

The erode kernel.

See also
group_vision_function_erode_image
VX_KERNEL_MEDIAN_3x3 

The median image filter.

See also
group_vision_function_median_image
VX_KERNEL_BOX_3x3 

The box filter kernel.

See also
group_vision_function_box_image
VX_KERNEL_GAUSSIAN_3x3 

The gaussian filter kernel.

See also
group_vision_function_gaussian_image
VX_KERNEL_CUSTOM_CONVOLUTION 

The custom convolution kernel.

See also
group_vision_function_custom_convolution
VX_KERNEL_GAUSSIAN_PYRAMID 

The gaussian image pyramid kernel.

See also
group_vision_function_gaussian_pyramid
VX_KERNEL_MINMAXLOC 

The min and max location kernel.

See also
group_vision_function_minmaxloc
VX_KERNEL_CONVERTDEPTH 

The bit-depth conversion kernel.

See also
group_vision_function_convertdepth
VX_KERNEL_CANNY_EDGE_DETECTOR 

The Canny Edge Detector.

See also
group_vision_function_canny
VX_KERNEL_AND 

The Bitwise And Kernel.

See also
group_vision_function_and
VX_KERNEL_OR 

The Bitwise Inclusive Or Kernel.

See also
group_vision_function_or
VX_KERNEL_XOR 

The Bitwise Exclusive Or Kernel.

See also
group_vision_function_xor
VX_KERNEL_NOT 

The Bitwise Not Kernel.

See also
group_vision_function_not
VX_KERNEL_MULTIPLY 

The Pixelwise Multiplication Kernel.

See also
group_vision_function_mult
VX_KERNEL_ADD 

The Addition Kernel.

See also
group_vision_function_add
VX_KERNEL_SUBTRACT 

The Subtraction Kernel.

See also
group_vision_function_sub
VX_KERNEL_WARP_AFFINE 

The Warp Affine Kernel.

See also
group_vision_function_warp_affine
VX_KERNEL_WARP_PERSPECTIVE 

The Warp Perspective Kernel.

See also
group_vision_function_warp_perspective
VX_KERNEL_HARRIS_CORNERS 

The Harris Corners Kernel.

See also
group_vision_function_harris
VX_KERNEL_FAST_CORNERS 

The FAST Corners Kernel.

See also
group_vision_function_fast
VX_KERNEL_OPTICAL_FLOW_PYR_LK 

The Optical Flow Pyramid (LK) Kernel.

See also
group_vision_function_opticalflowpyrlk
VX_KERNEL_REMAP 

The Remap Kernel.

See also
group_vision_function_remap
VX_KERNEL_HALFSCALE_GAUSSIAN 

The Half Scale Gaussian Kernel.

See also
group_vision_function_scale_image
VX_KERNEL_LAPLACIAN_PYRAMID 

The Laplacian Image Pyramid Kernel.

See also
group_vision_function_laplacian_pyramid
VX_KERNEL_LAPLACIAN_RECONSTRUCT 

The Laplacian Pyramid Reconstruct Kernel.

See also
group_vision_function_laplacian_pyramid
VX_KERNEL_NON_LINEAR_FILTER 

The Non Linear Filter Kernel.

See also
group_vision_function_nonlinear_filter
VX_KERNEL_MATCH_TEMPLATE 

The Match Template Kernel.

See also
group_vision_match_template
VX_KERNEL_LBP 

The LBP Kernel.

See also
group_lbp
VX_KERNEL_HOUGH_LINES_P 

The hough lines probability Kernel.

See also
group_vision_hough_lines_p
VX_KERNEL_TENSOR_MULTIPLY 

The tensor multiply Kernel.

See also
group_vision_function_tensor_multiply
VX_KERNEL_TENSOR_ADD 

The tensor add Kernel.

See also
group_vision_function_tensor_add
VX_KERNEL_TENSOR_SUBTRACT 

The tensor subtract Kernel.

See also
group_vision_function_tensor_subtract
VX_KERNEL_TENSOR_TABLE_LOOKUP 

The tensor table look up Kernel.

See also
group_vision_function_tensor_tablelookup
VX_KERNEL_TENSOR_TRANSPOSE 

The tensor transpose Kernel.

See also
group_vision_function_tensor_transpose
VX_KERNEL_TENSOR_CONVERT_DEPTH 

The tensor convert depth Kernel.

See also
group_vision_function_tensor_convert_depth
VX_KERNEL_TENSOR_MATRIX_MULTIPLY 

The tensor matrix multiply Kernel.

See also
group_vision_function_tensor_matrix_multiply
VX_KERNEL_COPY 

The data object copy kernel.

See also
group_vision_function_copy
VX_KERNEL_NON_MAX_SUPPRESSION 

The non-max suppression kernel.

See also
group_vision_function_nms
VX_KERNEL_SCALAR_OPERATION 

The scalar operation kernel.

See also
group_control_flow
VX_KERNEL_HOG_FEATURES 

The HOG features kernel.

See also
group_vision_function_hog
VX_KERNEL_HOG_CELLS 

The HOG Cells kernel.

See also
group_vision_function_hog
VX_KERNEL_BILATERAL_FILTER 

The bilateral filter kernel.

See also
group_vision_function_bilateral_filter
VX_KERNEL_SELECT 

The select kernel.

See also
group_control_flow
VX_KERNEL_MAX 

The max kernel.

See also
group_vision_function_max
VX_KERNEL_MIN 

The min kernel.

See also
group_vision_function_min
VX_KERNEL_WEIGHTED_AVERAGE 

The weigthed average kernel.

See also
group_vision_function_weighted_average

◆ vx_library_e

The standard list of available libraries.

Enumerator
VX_LIBRARY_KHR_BASE 

The base set of kernels as defined by Khronos.