|
CoreFlow 1.0.0
A modern orchestration and execution runtime
|
Internal Macros, and define's. More...
Macros | |
| #define | dimof(x) |
| Get the dimensionality of the array. | |
| #define | VX_TYPE_IS_IMAGE(type) |
| Used to determine is a type is an image. | |
| #define | VX_TYPE_IS_SCALAR(type) |
| Used to determine if a type is a scalar. | |
| #define | VX_TYPE_IS_SCALAR_WITH_SIZE(type) |
| Used to determine scalar with size. | |
| #define | VX_TYPE_IS_STRUCT(type) |
| Used to determine if a type is a struct. | |
| #define | VX_TYPE_IS_DATA_OBJECT(type) |
| Used to determine if a type is a data object. | |
| #define | VX_TYPE_IS_OBJECT(type) |
| Used to determine if a type is an object. | |
| #define | VX_CHECK_PARAM(ptr, size, type, align) |
| A parameter checker for size and alignment. | |
| #define | VX_CALLOC(type) |
| Convenience wrapper around calloc to cast it correctly. | |
| #define | VX_STRINGERIZE(x) |
| Helper to convert any data type to string. | |
| #define | VX_MIN(a, b) |
| Min & Max helper macros. | |
| #define | VX_BOOL_TO_STATUS(b) |
| Helper to extract vx_status from vx_bool. | |
Internal Macros, and define's.
| #define dimof | ( | x | ) |
#include <vx_internal.h>
Get the dimensionality of the array.
If not defined by the platform, this allows client to retrieve the dimensionality of an array of fixed sized units.
| #define VX_BOOL_TO_STATUS | ( | b | ) |
#include <vx_internal.h>
| #define VX_CALLOC | ( | type | ) |
#include <vx_internal.h>
Convenience wrapper around calloc to cast it correctly.
| #define VX_CHECK_PARAM | ( | ptr, | |
| size, | |||
| type, | |||
| align ) |
#include <vx_internal.h>
A parameter checker for size and alignment.
| #define VX_MIN | ( | a, | |
| b ) |
| #define VX_STRINGERIZE | ( | x | ) |
| #define VX_TYPE_IS_DATA_OBJECT | ( | type | ) |
#include <vx_internal.h>
Used to determine if a type is a data object.
| #define VX_TYPE_IS_IMAGE | ( | type | ) |
#include <vx_internal.h>
Used to determine is a type is an image.
| #define VX_TYPE_IS_OBJECT | ( | type | ) |
#include <vx_internal.h>
Used to determine if a type is an object.
| #define VX_TYPE_IS_SCALAR | ( | type | ) |
#include <vx_internal.h>
Used to determine if a type is a scalar.
| #define VX_TYPE_IS_SCALAR_WITH_SIZE | ( | type | ) |
#include <vx_internal.h>
Used to determine scalar with size.
| #define VX_TYPE_IS_STRUCT | ( | type | ) |
#include <vx_internal.h>
Used to determine if a type is a struct.