TIOVX User Guide
tivx_debug.h File Reference

The Internal Debugging API. More...

#include <stdbool.h>

Go to the source code of this file.

Macros

#define ASSERT_CONCAT_(a, b)   a##b
 Macros for build time check.
 
#define VX_PRINT(zone, message, ...)   do { tivx_print(((vx_enum)zone), "[%s:%u] " message, __FUNCTION__, __LINE__, ## __VA_ARGS__); } while (1 == 0)
 The OpenVX Debugging Facility.
 

Enumerations

enum  tivx_debug_zone_e {
  VX_ZONE_ERROR = 0,
  VX_ZONE_WARNING = 1,
  VX_ZONE_API = 2,
  VX_ZONE_INFO = 3,
  VX_ZONE_PERF = 4,
  VX_ZONE_CONTEXT = 5,
  VX_ZONE_OSAL = 6,
  VX_ZONE_REFERENCE = 7,
  VX_ZONE_ARRAY = 8,
  VX_ZONE_IMAGE = 9,
  VX_ZONE_SCALAR = 10,
  VX_ZONE_KERNEL = 11,
  VX_ZONE_GRAPH = 12,
  VX_ZONE_NODE = 13,
  VX_ZONE_PARAMETER = 14,
  VX_ZONE_DELAY = 15,
  VX_ZONE_TARGET = 16,
  VX_ZONE_LOG = 17,
  VX_ZONE_INIT = 18,
  VX_ZONE_OPTIMIZATION = 19
}
 These are the bit flags for debugging. More...
 

Functions

void tivx_print (vx_enum zone, const char *format,...)
 Internal Printing Function. More...
 
void tivx_set_debug_zone (vx_enum zone)
 Sets a zone bit in the debug mask. More...
 
void tivx_clr_debug_zone (vx_enum zone)
 Clears the zone bit in the mask. More...
 
vx_bool tivx_get_debug_zone (vx_enum zone)
 Returns true or false if the zone bit is set or cleared. More...
 

Detailed Description

The Internal Debugging API.

Definition in file tivx_debug.h.