Template Function xf::cv::ProcessGaussian3x3

Function Documentation

Warning

doxygenfunction: Unable to resolve function “xf::cv::ProcessGaussian3x3” with arguments “(xf::cv::Mat<SRC_T, ROWS, COLS, NPC>&, xf::cv::Mat<SRC_T, ROWS, COLS, NPC>&, XF_SNAME(WORDWIDTH), XF_PTNAME(DEPTH), XF_PTNAME(DEPTH), XF_PTNAME(DEPTH), XF_PTNAME(DEPTH), XF_SNAME(WORDWIDTH) &, uint16_t, uint16_t, uint16_t&, ap_uint<2>, ap_uint<2>, ap_uint<2>, ap_uint<13>, unsigned char*, int&, int&)”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expected identifier in nested name, got keyword: void [error at 99] template<int SRC_T, int ROWS, int COLS, int PLANES, int DEPTH, int NPC, int WORDWIDTH, int TC> void ProcessGaussian3x3 (xf::cv::Mat< SRC_T, ROWS, COLS, NPC > &_src_mat, xf::cv::Mat< SRC_T, ROWS, COLS, NPC > &_out_mat, XF_SNAME(WORDWIDTH) buf[3][(COLS >> XF_BITSHIFT(NPC))], XF_PTNAME(DEPTH) src_buf1[XF_NPIXPERCYCLE(NPC)+2], XF_PTNAME(DEPTH) src_buf2[XF_NPIXPERCYCLE(NPC)+2], XF_PTNAME(DEPTH) src_buf3[XF_NPIXPERCYCLE(NPC)+2], XF_PTNAME(DEPTH) OutputValues[XF_NPIXPERCYCLE(NPC)], XF_SNAME(WORDWIDTH) &P0, uint16_t img_width, uint16_t img_height, uint16_t &shift_x, ap_uint< 2 > tp, ap_uint< 2 > mid, ap_uint< 2 > bottom, ap_uint< 13 > row, unsigned char *weights, int &read_index, int &write_index) —————————————————————————————————^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 119] template<int SRC_T, int ROWS, int COLS, int PLANES, int DEPTH, int NPC, int WORDWIDTH, int TC> void ProcessGaussian3x3 (xf::cv::Mat< SRC_T, ROWS, COLS, NPC > &_src_mat, xf::cv::Mat< SRC_T, ROWS, COLS, NPC > &_out_mat, XF_SNAME(WORDWIDTH) buf[3][(COLS >> XF_BITSHIFT(NPC))], XF_PTNAME(DEPTH) src_buf1[XF_NPIXPERCYCLE(NPC)+2], XF_PTNAME(DEPTH) src_buf2[XF_NPIXPERCYCLE(NPC)+2], XF_PTNAME(DEPTH) src_buf3[XF_NPIXPERCYCLE(NPC)+2], XF_PTNAME(DEPTH) OutputValues[XF_NPIXPERCYCLE(NPC)], XF_SNAME(WORDWIDTH) &P0, uint16_t img_width, uint16_t img_height, uint16_t &shift_x, ap_uint< 2 > tp, ap_uint< 2 > mid, ap_uint< 2 > bottom, ap_uint< 13 > row, unsigned char *weights, int &read_index, int &write_index) ———————————————————————————————————————–^ If declarator-id: Invalid C++ declaration: Expecting “,” or “)” in parameters-and-qualifiers, got “b”. [error at 238] template<int SRC_T, int ROWS, int COLS, int PLANES, int DEPTH, int NPC, int WORDWIDTH, int TC> void ProcessGaussian3x3 (xf::cv::Mat< SRC_T, ROWS, COLS, NPC > &_src_mat, xf::cv::Mat< SRC_T, ROWS, COLS, NPC > &_out_mat, XF_SNAME(WORDWIDTH) buf[3][(COLS >> XF_BITSHIFT(NPC))], XF_PTNAME(DEPTH) src_buf1[XF_NPIXPERCYCLE(NPC)+2], XF_PTNAME(DEPTH) src_buf2[XF_NPIXPERCYCLE(NPC)+2], XF_PTNAME(DEPTH) src_buf3[XF_NPIXPERCYCLE(NPC)+2], XF_PTNAME(DEPTH) OutputValues[XF_NPIXPERCYCLE(NPC)], XF_SNAME(WORDWIDTH) &P0, uint16_t img_width, uint16_t img_height, uint16_t &shift_x, ap_uint< 2 > tp, ap_uint< 2 > mid, ap_uint< 2 > bottom, ap_uint< 13 > row, unsigned char *weights, int &read_index, int &write_index) ———————————————————————————————————————————————————————————————————————————————-^