CoreFlow 1.0.0
A modern orchestration and execution runtime
Loading...
Searching...
No Matches
bubble_pop.cpp File Reference
#include <string>
#include <VX/vx.h>
#include <VX/vx_compatibility.h>
#include "vx_ext_pop.h"

Macros

#define ERROR_CHECK_STATUS(status)
 
#define ERROR_CHECK_OBJECT(obj)
 

Functions

int main (int argc, char **argv)
 

Macro Definition Documentation

◆ ERROR_CHECK_OBJECT

#define ERROR_CHECK_OBJECT ( obj)
Value:
{ \
vx_status status_ = vxGetStatus((vx_reference)(obj)); \
if(status_ != VX_SUCCESS) { \
printf("ERROR: failed with status = (%d) at " __FILE__ "#%d\n", status_, __LINE__); \
exit(1); \
} \
}
vx_enum vx_status
A formal status type with known fixed size.
Definition vx_types.h:550
VX_API_ENTRY vx_status VX_API_CALL vxGetStatus(vx_reference reference)
Provides a generic API to return status values from Object constructors if they fail.
@ VX_SUCCESS
No error.
Definition vx_types.h:543
struct Reference * vx_reference
Definition vx_types.h:173
Examples
bubble_pop.cpp, canny.cpp, optical_flow.cpp, orb.cpp, and skinToneDetector.cpp.

◆ ERROR_CHECK_STATUS

#define ERROR_CHECK_STATUS ( status)
Value:
{ \
vx_status status_ = (status); \
if(status_ != VX_SUCCESS) { \
printf("ERROR: failed with status = (%d) at " __FILE__ "#%d\n", status_, __LINE__); \
exit(1); \
} \
}
Examples
bubble_pop.cpp, canny.cpp, optical_flow.cpp, orb.cpp, and skinToneDetector.cpp.

Function Documentation

◆ main()

int main ( int argc,
char ** argv )