cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
Return to the generic documentation of cloudFPGA
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 256
44
46
#define FRAME_WIDTH 256
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
63
/* For HOST TB uncomment this. For normal host execution keep it commented */
64
// #define TB_SIM_CFP_VITIS
65
66
67
/* For The OpenCV type fot th input image. TODO: We have to automatically fix it for every kernel*/
68
#define INPUT_TYPE_HOST CV_8UC1
69
70
71
72
//---------------------------- AUTOMATICALLY DEFINED OPTIONS -------------------------------------
73
74
#define FRAME_TOTAL FRAME_HEIGHT * FRAME_WIDTH
//* 3
75
77
#define TOT_TRANSFERS CEIL(FRAME_TOTAL, PACK_SIZE)
78
79
80
repos_for_Dox
cFp_Zoo
HOST
vision
gammacorrection
include
config.h
Generated on Sat Jul 15 2023 05:03:00 for cloudFPGA (cF) API by
1.9.1