cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
config.h File Reference

The configuration of a Sobel Example application (UDP or TCP) More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CEIL(a, b)   (((a) + (b-1)) / (b))
 
#define FRAME_HEIGHT   1024
 
#define FRAME_WIDTH   1024
 
#define FRAME_INTERVAL   (1000/30)
 
#define PACK_SIZE   1024
 
#define BUF_LEN   65540
 
#define WRITE_OUTPUT_FILE
 
#define INPUT_TYPE_HOST   CV_8UC1
 
#define NET_TYPE   udp
 
#define DEBUG_LEVEL   dbgLevelNone
 
#define FRAME_TOTAL   FRAME_HEIGHT * FRAME_WIDTH
 
#define TOT_TRANSFERS   CEIL(FRAME_TOTAL, PACK_SIZE)
 
#define tcp   0
 
#define udp   1
 
#define PY_WRAP_SOBEL_NUMPI   0
 
#define PY_WRAP_SOBEL_FILENAME   1
 

Detailed Description

The configuration of a Sobel Example application (UDP or TCP)

Copyright 2016 – 2022 IBM Corporation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Author
FAB, WEI, NGL, DID

@date June 2020

This file contains definitios used both in HLS and host code of cFp Vitis Sobel application example.


Definition in file config.h.