54 #ifndef _XF_WARPTRANSFORM_CONFIG_H_
55 #define _XF_WARPTRANSFORM_CONFIG_H_
57 #include "hls_stream.h"
59 #include "common/xf_common.hpp"
60 #include "common/xf_utility.hpp"
61 #include "imgproc/xf_warp_transform.hpp"
64 #include "../../../../../HOST/vision/warp_transform/languages/cplusplus/include/config.h"
69 #define NUM_STORE_ROWS 256
72 #define START_PROC 200
74 #define INTERPOLATION 0
77 #define TRANSFORM_TYPE 0
78 #define XF_USE_URAM false
102 #define CH_TYPE XF_GRAY
103 #define INPUT_PTR_WIDTH 8
104 #define OUTPUT_PTR_WIDTH 64
110 #define NPIX XF_NPPC8
113 #define NPIX XF_NPPC1
116 #define WIDTH FRAME_WIDTH
117 #define HEIGHT FRAME_HEIGHT
119 #define IMGSIZE FRAME_TOTAL
121 #define BITS_PER_10GBITETHRNET_AXI_PACKET 64
122 #define BYTES_PER_10GBITETHRNET_AXI_PACKET (BITS_PER_10GBITETHRNET_AXI_PACKET/8)
124 #define IMG_PACKETS IMGSIZE/(BYTES_PER_10GBITETHRNET_AXI_PACKET)
126 #define MIN_RX_LOOPS IMG_PACKETS*(BITS_PER_10GBITETHRNET_AXI_PACKET/INPUT_PTR_WIDTH)
127 #define MIN_TX_LOOPS IMG_PACKETS*(BITS_PER_10GBITETHRNET_AXI_PACKET/OUTPUT_PTR_WIDTH)
130 #define OUT_TYPE TYPE
143 ap_uint<INPUT_PTR_WIDTH>* img_in,
145 ap_uint<OUTPUT_PTR_WIDTH>* img_out,
148 hls::stream<ap_uint<INPUT_PTR_WIDTH>>& img_in_axi_stream,
149 hls::stream<ap_uint<OUTPUT_PTR_WIDTH>>& img_out_axi_stream,
153 hls::stream<ap_axiu<INPUT_PTR_WIDTH, 0, 0, 0> >& img_in_axi_stream,
154 hls::stream<ap_axiu<OUTPUT_PTR_WIDTH, 0, 0, 0> >& img_out_axi_stream,
155 unsigned int min_rx_loops,
156 unsigned int min_tx_loops,
162 hls::stream<float>& sTxMatrix