CoreFlow 1.0.0
A modern orchestration and execution runtime
Loading...
Searching...
No Matches
Extension: Debugging

The OpenVX Debugging Extension. More...

Macros

#define VX_MAX_FILE_NAME   (256)
 The maximum filepath name length.
 
#define VX_LIBRARY_KHR_DEBUG   (0xFF)
 The library value for the extension.
 

Enumerations

enum  vx_kernel_debug_ext_e {
  VX_KERNEL_DEBUG_COPY_IMAGE = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_DEBUG) + 0x0 ,
  VX_KERNEL_DEBUG_COPY_ARRAY = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_DEBUG) + 0x1 ,
  VX_KERNEL_DEBUG_FWRITE_IMAGE = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_DEBUG) + 0x2 ,
  VX_KERNEL_DEBUG_FWRITE_ARRAY = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_DEBUG) + 0x3 ,
  VX_KERNEL_DEBUG_FREAD_IMAGE = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_DEBUG) + 0x4 ,
  VX_KERNEL_DEBUG_FREAD_ARRAY = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_DEBUG) + 0x5 ,
  VX_KERNEL_FILL_IMAGE = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_DEBUG) + 0x6 ,
  VX_KERNEL_CHECK_IMAGE = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_DEBUG) + 0x7 ,
  VX_KERNEL_CHECK_ARRAY = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_DEBUG) + 0x8 ,
  VX_KERNEL_COMPARE_IMAGE = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_DEBUG) + 0x9 ,
  VX_KERNEL_COPY_IMAGE_FROM_PTR = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_DEBUG) + 0xA
}
 The list of extensions to OpenVX from the Sample Implementation. More...
 

Detailed Description

The OpenVX Debugging Extension.

Macro Definition Documentation

◆ VX_LIBRARY_KHR_DEBUG

#define VX_LIBRARY_KHR_DEBUG   (0xFF)

#include <vx_lib_debug.h>

The library value for the extension.

◆ VX_MAX_FILE_NAME

#define VX_MAX_FILE_NAME   (256)

#include <vx_lib_debug.h>

The maximum filepath name length.

Enumeration Type Documentation

◆ vx_kernel_debug_ext_e

#include <vx_lib_debug.h>

The list of extensions to OpenVX from the Sample Implementation.

Enumerator
VX_KERNEL_DEBUG_COPY_IMAGE 

The Copy kernel. Output = Input.

Parameters
[in]vx_imageThe input image.
[out]vx_imageThe output image.
See also
Kernel: Copy Image
VX_KERNEL_DEBUG_COPY_ARRAY 

The Copy Kernel, Output = Input.

Parameters
[in]vx_arrayThe input array.
[out]vx_arrayThe output array.
See also
Kernel: Copy Array
VX_KERNEL_DEBUG_FWRITE_IMAGE 

The File Writing Kernel for Images.

Parameters
[in]vx_imageThe input image.
[in]vx_arrayThe name of the file.
See also
Kernel: File Write Image
VX_KERNEL_DEBUG_FWRITE_ARRAY 

The File Writing Kernel for Arrays.

Parameters
[in]vx_arrayThe input array.
[in]vx_arrayThe name of the file.
See also
Kernel: File Write Array
VX_KERNEL_DEBUG_FREAD_IMAGE 

The File Reading Kernel for images.

Parameters
[in]vx_arrayThe name of the file to read.
[out]vx_imageThe output image.
See also
Kernel: File Read Image
VX_KERNEL_DEBUG_FREAD_ARRAY 

The File Reading Kernel for Arrays.

Parameters
[in]vx_arrayThe name of the file to read.
[out]vx_imageThe output image.
See also
Kernel: File Read Array
VX_KERNEL_FILL_IMAGE 

Fills the image with a given value.

Parameters
[in]vx_uint32
[out]vx_image
VX_KERNEL_CHECK_IMAGE 

Checks an image against a known value and returns a number of errors.

Parameters
[in]vx_image
[in]vx_uint32
[out]vx_scalar
VX_KERNEL_CHECK_ARRAY 

Checks an array against a known value and returns a number of errors.

Parameters
[in]vx_array
[in]vx_uint8
[out]vx_scalar
VX_KERNEL_COMPARE_IMAGE 

Compares two images and returns the number of differences.

Parameters
[in]vx_image
[in]vx_image
[out]vx_scalar
VX_KERNEL_COPY_IMAGE_FROM_PTR 

Copies an image from a memory area.

Parameters
[in]void*
[out]vx_image
See also
Kernel: Copy Pointer