CoreFlow 1.0.0
A modern orchestration and execution runtime
Loading...
Searching...
No Matches
canny.cpp File Reference
#include <string>
#include <opencv2/highgui.hpp>
#include <opencv2/opencv.hpp>
#include <opencv2/videoio.hpp>
#include <VX/vx.h>
#include <VX/vx_compatibility.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

◆ 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); \
} \
}

Function Documentation

◆ main()

int main ( int argc,
char ** argv )