Template Function xf::cv::ProcessSobel3x3

Function Documentation

Warning

doxygenfunction: Unable to resolve function “xf::cv::ProcessSobel3x3” with arguments “(xf::cv::Mat<SRC_T, ROWS, COLS, NPC>&, xf::cv::Mat<DST_T, ROWS, COLS, NPC>&, xf::cv::Mat<DST_T, ROWS, COLS, NPC>&, XF_SNAME(WORDWIDTH_SRC), XF_PTNAME(DEPTH_SRC), XF_PTNAME(DEPTH_SRC), XF_PTNAME(DEPTH_SRC), XF_PTNAME(DEPTH_DST), XF_PTNAME(DEPTH_DST), XF_SNAME(WORDWIDTH_DST) &, XF_SNAME(WORDWIDTH_DST) &, uint16_t, uint16_t, ap_uint<13>, uint16_t&, uint16_t&, ap_uint<2>, ap_uint<2>, ap_uint<2>, ap_uint<13>, 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 152] template<int SRC_T, int DST_T, int ROWS, int COLS, int PLANES, int DEPTH_SRC, int DEPTH_DST, int NPC, int WORDWIDTH_SRC, int WORDWIDTH_DST, int TC> void ProcessSobel3x3 (xf::cv::Mat< SRC_T, ROWS, COLS, NPC > &_src_mat, xf::cv::Mat< DST_T, ROWS, COLS, NPC > &_gradx_mat, xf::cv::Mat< DST_T, ROWS, COLS, NPC > &_grady_mat, XF_SNAME(WORDWIDTH_SRC) buf[3][(COLS >> XF_BITSHIFT(NPC))], XF_PTNAME(DEPTH_SRC) src_buf1[XF_NPIXPERCYCLE(NPC)+2], XF_PTNAME(DEPTH_SRC) src_buf2[XF_NPIXPERCYCLE(NPC)+2], XF_PTNAME(DEPTH_SRC) src_buf3[XF_NPIXPERCYCLE(NPC)+2], XF_PTNAME(DEPTH_DST) GradientValuesX[XF_NPIXPERCYCLE(NPC)], XF_PTNAME(DEPTH_DST) GradientValuesY[XF_NPIXPERCYCLE(NPC)], XF_SNAME(WORDWIDTH_DST) &P0, XF_SNAME(WORDWIDTH_DST) &P1, uint16_t img_width, uint16_t img_height, ap_uint< 13 > row_ind, uint16_t &shift_x, uint16_t &shift_y, ap_uint< 2 > tp, ap_uint< 2 > mid, ap_uint< 2 > bottom, ap_uint< 13 > row, 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 169] template<int SRC_T, int DST_T, int ROWS, int COLS, int PLANES, int DEPTH_SRC, int DEPTH_DST, int NPC, int WORDWIDTH_SRC, int WORDWIDTH_DST, int TC> void ProcessSobel3x3 (xf::cv::Mat< SRC_T, ROWS, COLS, NPC > &_src_mat, xf::cv::Mat< DST_T, ROWS, COLS, NPC > &_gradx_mat, xf::cv::Mat< DST_T, ROWS, COLS, NPC > &_grady_mat, XF_SNAME(WORDWIDTH_SRC) buf[3][(COLS >> XF_BITSHIFT(NPC))], XF_PTNAME(DEPTH_SRC) src_buf1[XF_NPIXPERCYCLE(NPC)+2], XF_PTNAME(DEPTH_SRC) src_buf2[XF_NPIXPERCYCLE(NPC)+2], XF_PTNAME(DEPTH_SRC) src_buf3[XF_NPIXPERCYCLE(NPC)+2], XF_PTNAME(DEPTH_DST) GradientValuesX[XF_NPIXPERCYCLE(NPC)], XF_PTNAME(DEPTH_DST) GradientValuesY[XF_NPIXPERCYCLE(NPC)], XF_SNAME(WORDWIDTH_DST) &P0, XF_SNAME(WORDWIDTH_DST) &P1, uint16_t img_width, uint16_t img_height, ap_uint< 13 > row_ind, uint16_t &shift_x, uint16_t &shift_y, ap_uint< 2 > tp, ap_uint< 2 > mid, ap_uint< 2 > bottom, ap_uint< 13 > row, int &read_index, int &write_index) ————————————————————————————————————————————————————————-^ If declarator-id: Invalid C++ declaration: Expecting “,” or “)” in parameters-and-qualifiers, got “b”. [error at 345] template<int SRC_T, int DST_T, int ROWS, int COLS, int PLANES, int DEPTH_SRC, int DEPTH_DST, int NPC, int WORDWIDTH_SRC, int WORDWIDTH_DST, int TC> void ProcessSobel3x3 (xf::cv::Mat< SRC_T, ROWS, COLS, NPC > &_src_mat, xf::cv::Mat< DST_T, ROWS, COLS, NPC > &_gradx_mat, xf::cv::Mat< DST_T, ROWS, COLS, NPC > &_grady_mat, XF_SNAME(WORDWIDTH_SRC) buf[3][(COLS >> XF_BITSHIFT(NPC))], XF_PTNAME(DEPTH_SRC) src_buf1[XF_NPIXPERCYCLE(NPC)+2], XF_PTNAME(DEPTH_SRC) src_buf2[XF_NPIXPERCYCLE(NPC)+2], XF_PTNAME(DEPTH_SRC) src_buf3[XF_NPIXPERCYCLE(NPC)+2], XF_PTNAME(DEPTH_DST) GradientValuesX[XF_NPIXPERCYCLE(NPC)], XF_PTNAME(DEPTH_DST) GradientValuesY[XF_NPIXPERCYCLE(NPC)], XF_SNAME(WORDWIDTH_DST) &P0, XF_SNAME(WORDWIDTH_DST) &P1, uint16_t img_width, uint16_t img_height, ap_uint< 13 > row_ind, uint16_t &shift_x, uint16_t &shift_y, ap_uint< 2 > tp, ap_uint< 2 > mid, ap_uint< 2 > bottom, ap_uint< 13 > row, int &read_index, int &write_index) ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————^