Template Function xf::cv::ProcessMedianNxN

Function Documentation

Warning

doxygenfunction: Unable to resolve function “xf::cv::ProcessMedianNxN” with arguments “(xf::cv::Mat<TYPE, ROWS, COLS, NPC>&, xf::cv::Mat<TYPE, ROWS, COLS, NPC>&, XF_TNAME(TYPE, NPC), XF_PTUNAME(TYPE), XF_PTUNAME(TYPE), XF_TNAME(TYPE, NPC) &, uint16_t, uint16_t, uint16_t&, ap_uint<13>, ap_uint<13>, ap_uint<8>, 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 114] template<int ROWS, int COLS, int PLANES, int TYPE, int NPC, int WORDWIDTH, int TC, int WIN_SZ, int WIN_SZ_SQ> void ProcessMedianNxN (xf::cv::Mat< TYPE, ROWS, COLS, NPC > &_src_mat, xf::cv::Mat< TYPE, ROWS, COLS, NPC > &_out_mat, XF_TNAME(TYPE, NPC) buf[WIN_SZ][(COLS >> XF_BITSHIFT(NPC))], XF_PTUNAME(TYPE) src_buf[WIN_SZ][XF_NPIXPERCYCLE(NPC)+(WIN_SZ - 1)], XF_PTUNAME(TYPE) OutputValues[XF_NPIXPERCYCLE(NPC)], XF_TNAME(TYPE, NPC) &P0, uint16_t img_width, uint16_t img_height, uint16_t &shift_x, ap_uint< 13 > row_ind[WIN_SZ], ap_uint< 13 > row, ap_uint< 8 > win_size, int &rd_ind, int &wr_ind) ——————————————————————————————————————^ 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 132] template<int ROWS, int COLS, int PLANES, int TYPE, int NPC, int WORDWIDTH, int TC, int WIN_SZ, int WIN_SZ_SQ> void ProcessMedianNxN (xf::cv::Mat< TYPE, ROWS, COLS, NPC > &_src_mat, xf::cv::Mat< TYPE, ROWS, COLS, NPC > &_out_mat, XF_TNAME(TYPE, NPC) buf[WIN_SZ][(COLS >> XF_BITSHIFT(NPC))], XF_PTUNAME(TYPE) src_buf[WIN_SZ][XF_NPIXPERCYCLE(NPC)+(WIN_SZ - 1)], XF_PTUNAME(TYPE) OutputValues[XF_NPIXPERCYCLE(NPC)], XF_TNAME(TYPE, NPC) &P0, uint16_t img_width, uint16_t img_height, uint16_t &shift_x, ap_uint< 13 > row_ind[WIN_SZ], ap_uint< 13 > row, ap_uint< 8 > win_size, int &rd_ind, int &wr_ind) ————————————————————————————————————————————^ If declarator-id: Invalid C++ declaration: Expecting “,” or “)” in parameters-and-qualifiers, got “b”. [error at 249] template<int ROWS, int COLS, int PLANES, int TYPE, int NPC, int WORDWIDTH, int TC, int WIN_SZ, int WIN_SZ_SQ> void ProcessMedianNxN (xf::cv::Mat< TYPE, ROWS, COLS, NPC > &_src_mat, xf::cv::Mat< TYPE, ROWS, COLS, NPC > &_out_mat, XF_TNAME(TYPE, NPC) buf[WIN_SZ][(COLS >> XF_BITSHIFT(NPC))], XF_PTUNAME(TYPE) src_buf[WIN_SZ][XF_NPIXPERCYCLE(NPC)+(WIN_SZ - 1)], XF_PTUNAME(TYPE) OutputValues[XF_NPIXPERCYCLE(NPC)], XF_TNAME(TYPE, NPC) &P0, uint16_t img_width, uint16_t img_height, uint16_t &shift_x, ap_uint< 13 > row_ind[WIN_SZ], ap_uint< 13 > row, ap_uint< 8 > win_size, int &rd_ind, int &wr_ind) ———————————————————————————————————————————————————————————————————————————————————^