Class accel_utils
Defined in File xf_utility.hpp
Class Documentation
-
class accel_utils
Public Functions
-
template<int PTR_WIDTH, int ROWS, int COLS, int NPC, int COLOR_T, int CH_WIDTH, int TRIPCOUNT>
inline void Array2hlsStrm(ap_uint<PTR_WIDTH> *srcPtr, hls::stream<ap_uint<PTR_WIDTH>> &dstStrm, int rows, int cols)
-
template<int PTR_WIDTH, int MAT_T, int ROWS, int COLS, int NPC, int TRIPCOUNT>
inline void hlsStrm2xfMat(hls::stream<ap_uint<PTR_WIDTH>> &srcStrm, xf::cv::Mat<MAT_T, ROWS, COLS, NPC> &dstMat, int dstMat_cols_align_npc)
-
template<int PTR_WIDTH, int MAT_T, int ROWS, int COLS, int NPC>
inline void Array2xfMat(ap_uint<PTR_WIDTH> *srcPtr, xf::cv::Mat<MAT_T, ROWS, COLS, NPC> &dstMat, int stride = -1)
-
template<int PTR_WIDTH, int ROWS, int COLS, int NPC, int COLOR_T, int CH_WIDTH, int TRIPCOUNT>
inline void axiStrm2hlsStrm(hls::stream<ap_axiu<PTR_WIDTH, 0, 0, 0>> &srcPtr, hls::stream<ap_uint<PTR_WIDTH>> &dstStrm, int rows, int cols)
-
template<int PTR_WIDTH, int MAT_T, int ROWS, int COLS, int NPC>
inline void axiStrm2xfMat(hls::stream<ap_axiu<PTR_WIDTH, 0, 0, 0>> &srcPtr, xf::cv::Mat<MAT_T, ROWS, COLS, NPC> &dstMat)
-
template<int PTR_WIDTH, int MAT_T, int ROWS, int COLS, int NPC, int TRIPCOUNT>
inline void xfMat2hlsStrm(xf::cv::Mat<MAT_T, ROWS, COLS, NPC> &srcMat, hls::stream<ap_uint<PTR_WIDTH>> &dstStrm, int srcMat_cols_align_npc)
-
template<int PTR_WIDTH, int ROWS, int COLS, int NPC, int COLOR_T, int CH_WIDTH, int TRIPCOUNT>
inline void hlsStrm2Array(hls::stream<ap_uint<PTR_WIDTH>> &srcStrm, ap_uint<PTR_WIDTH> *dstPtr, int rows, int cols)
-
template<int PTR_WIDTH, int MAT_T, int ROWS, int COLS, int NPC, int FILLZERO = 1>
inline void xfMat2Array(xf::cv::Mat<MAT_T, ROWS, COLS, NPC> &srcMat, ap_uint<PTR_WIDTH> *dstPtr, int stride = -1)
-
template<int PTR_WIDTH, int ROWS, int COLS, int NPC, int COLOR_T, int CH_WIDTH, int TRIPCOUNT>