56 #ifndef _XF_GAMMA_CONFIG_H_ 
   57 #define _XF_GAMMA_CONFIG_H_ 
   59 #include "hls_stream.h" 
   61 #include "common/xf_common.hpp" 
   62 #include "common/xf_utility.hpp" 
   63 #include "features/xf_harris.hpp" 
   65 #include "../../../host/harris/include/config.h" 
   66 #include "imgproc/xf_gammacorrection.hpp" 
   68 #define WIDTH FRAME_WIDTH 
   69 #define HEIGHT FRAME_HEIGHT 
   71 #define IMGSIZE WIDTH * HEIGHT 
   72 #define IMG_PACKETS IMGSIZE/(INPUT_PTR_WIDTH/8) 
   86 #define IN_TYPE ap_uint<64> 
   89 #define IN_TYPE ap_uint<8> 
   94                            xf::cv::Mat<OUT_TYPE, HEIGHT, WIDTH, NPC1>& imgOutput,
 
   99     hls::stream<ap_axiu<INPUT_PTR_WIDTH, 0, 0, 0> >& img_in_axi_stream,
 
  100     hls::stream<ap_axiu<INPUT_PTR_WIDTH, 0, 0, 0> >& img_out_axi_stream,
 
void gammacorrection_accel(xf::cv::Mat< XF_8UC1, 256, 256, XF_NPPC1 > &_src, xf::cv::Mat< XF_8UC1, 256, 256, XF_NPPC1 > &_dst, unsigned short Thresh, unsigned short k)
void cornerGammacorrectionAccelStream(hls::stream< ap_axiu< INPUT_PTR_WIDTH, 0, 0, 0 > > &img_in_axi_stream, hls::stream< ap_axiu< INPUT_PTR_WIDTH, 0, 0, 0 > > &img_out_axi_stream, float gammaval)