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 1024
44 
46 #define FRAME_WIDTH 1024
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 
78 #define DEBUG_LEVEL dbgLevelNone
79 
80 //------------------- AUTOMATICALLY DEFINED OR AUXILILIARY OPTIONS -------------------------------
81 
82 #define FRAME_TOTAL FRAME_HEIGHT * FRAME_WIDTH //* 3
83 
85 #define TOT_TRANSFERS CEIL(FRAME_TOTAL, PACK_SIZE)
86 
87 #define tcp 0
88 #define udp 1
89 
90 #define PY_WRAP_SOBEL_NUMPI 0
91 #define PY_WRAP_SOBEL_FILENAME 1
92