cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
config.h
Go to the documentation of this file.
1 
17 
34 //------------------------------------ USEFUL MACROS --------------------------------------------
35 
37 #define CEIL(a, b) (((a) + (b-1)) / (b))
38 
39 
40 
41 //-------------------------------- USER DEFINED OPTIONS ------------------------------------------
43 #define FRAME_HEIGHT 16
44 
46 #define FRAME_WIDTH 16
47 
48 #define FRAME_INTERVAL (1000/30)
49 
52 #define PACK_SIZE 1024
53 
55 #define BUF_LEN 65540
56 
58 #define WRITE_OUTPUT_FILE
59 
61 // #define SHOW_WINDOWS
62 
64 // #define TB_SIM_CFP_VITIS
65 
67 // #define INPUT_FROM_CAMERA
68 
70 #define INPUT_TYPE_HOST CV_8UC1
71 
73 #define NET_TYPE udp
74 
75 //------------------- AUTOMATICALLY DEFINED OR AUXILILIARY OPTIONS -------------------------------
76 
77 #define FRAME_TOTAL FRAME_HEIGHT * FRAME_WIDTH //* 3
78 
80 #define TOT_TRANSFERS CEIL(FRAME_TOTAL, PACK_SIZE)
81 
82 #define tcp 0
83 #define udp 1
84 
85 #define PY_WRAP_HARRIS_NUMPI 0
86 #define PY_WRAP_HARRIS_FILENAME 1
87