CoreFlow 1.0.0
A modern orchestration and execution runtime
Loading...
Searching...
No Matches
vx_lib_debug.h File Reference
#include <VX/vx.h>

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...
 

Functions

vx_node vxCopyImageNode (vx_graph graph, vx_image input, vx_image output)
 [Graph] Creates a Copy Image Node.
 
vx_node vxCopyArrayNode (vx_graph graph, vx_array input, vx_array output)
 [Graph] Creates a Copy Array Node.
 
vx_node vxFWriteImageNode (vx_graph graph, vx_image image, vx_char name[VX_MAX_FILE_NAME])
 [Graph] Writes the source image to the file.
 
vx_node vxFWriteArrayNode (vx_graph graph, vx_array array, vx_char name[VX_MAX_FILE_NAME])
 [Graph] Writes the source array to the file.
 
vx_node vxFReadImageNode (vx_graph graph, vx_char name[VX_MAX_FILE_NAME], vx_image image)
 [Graph] Writes the source image to the file.
 
vx_node vxFReadArrayNode (vx_graph graph, vx_char name[VX_MAX_FILE_NAME], vx_array array)
 [Graph] Writes the source array to the file.
 
vx_node vxPlusOneNode (vx_graph graph, vx_image image)
 [Graph] Adds 1 to each uint8 pixel. This will clamp at 255.
 
vx_node vxFillImageNode (vx_graph graph, vx_uint32 value, vx_image output)
 [Graph] Fills an image with a known value.
 
vx_node vxCheckImageNode (vx_graph graph, vx_image input, vx_uint32 value, vx_scalar errs)
 [Graph] Checks an image against a known value.
 
vx_node vxCheckArrayNode (vx_graph graph, vx_array input, vx_uint8 value, vx_scalar errs)
 [Graph] Checks a array for a known value.
 
vx_node vxCompareImagesNode (vx_graph graph, vx_image a, vx_image b, vx_scalar diffs)
 [Graph] Compares two images and returns the number of pixel sub-channels which are different.
 
vx_node vxCopyImageFromPtrNode (vx_graph graph, void *ptr, vx_image output)
 [Graph] Copies a HOST memory area into an image.
 
vx_status vxuCopyImage (vx_context context, vx_image src, vx_image dst)
 [Immediate] Copies the source image to the destination image.
 
vx_status vxuCopyArray (vx_context context, vx_array src, vx_array dst)
 [Immediate] Copies the source array to the destination array.
 
vx_status vxuFWriteImage (vx_context context, vx_image image, vx_char name[VX_MAX_FILE_NAME])
 [Immediate] Writes the source image to the file.
 
vx_status vxuFWriteArray (vx_context context, vx_array array, vx_char name[VX_MAX_FILE_NAME])
 [Immediate] Writes the source array to the file.
 
vx_status vxuFReadImage (vx_context context, vx_char name[VX_MAX_FILE_NAME], vx_image image)
 [Immediate] Reads the source image from the file.
 
vx_status vxuFReadArray (vx_context context, vx_char name[VX_MAX_FILE_NAME], vx_array array)
 [Immediate] Reads the source array from the file.
 
vx_node vxuPlusOneNode (vx_context context, vx_image image)
 [Immediate] Adds 1 to each uint8 pixel. This will clamp at 255.
 
vx_status vxuFillImage (vx_context context, vx_uint32 value, vx_image output)
 [Immediate] Fills an image with a known value.
 
vx_status vxuCheckImage (vx_context context, vx_image input, vx_uint32 value, vx_uint32 *numErrors)
 [Immediate] Checks an image against a known value.
 
vx_status vxuCheckArray (vx_context context, vx_array input, vx_uint8 value, vx_uint32 *numErrors)
 [Immediate] Checks a array for a known value.
 
vx_status vxuCompareImages (vx_context context, vx_image a, vx_image b, vx_uint32 *numDiffs)
 [Immediate] Compares two images and returns the number of pixel sub-channels which are different.
 
vx_status vxuCopyImageFromPtr (vx_context context, void *ptr, vx_image output)
 [Immediate] Copies a HOST memory area into an image.