Template Function xf::cv::xfConvertBitDepthKernel

Function Documentation

template<int SRC_T, int DST_T, int ROWS, int COLS, int DEPTH_SRC, int DEPTH_DST, int WORDWIDTH_SRC, int WORDWIDTH_DST, int NPC, int TRIP_CNT>
void xf::cv::xfConvertBitDepthKernel(xf::cv::Mat<SRC_T, ROWS, COLS, NPC> &_src_mat, xf::cv::Mat<DST_T, ROWS, COLS, NPC> &_dst_mat, ap_uint<4> _convert_type, int _shift, unsigned short _height, unsigned short _width)

xfConvertBitDepthKernel : Converts the input image bit depth to specified bit depth _src_mat : Input image _dst_mat : Output image _convert_type : conversion type _shift : scale factor