cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
#include "../include/common.hpp"
Go to the source code of this file.
Functions | |
bool | setInputDataStream (stream< UdpWord > &sDataStream, const string dataStreamName, const string inpFileName, int simCnt) |
Initialize an input data stream from a file. More... | |
bool | setInputFileToArray (const string inpFileName, ap_uint< OUTPUT_PTR_WIDTH > *imgArray, int simCnt) |
Initialize an input array from a file with format "tdata tkeep tlast". More... | |
bool | readDataStream (stream< UdpWord > &sDataStream, UdpWord *udpWord) |
Read data from a stream. More... | |
ap_uint< 64 > | pack_ap_uint_64_ (ap_uint< 8 > *buffer) |
Pack an array of 8 x ap_uint<8> into a ap_uint<64> word. More... | |
bool | dumpDataToFile (UdpWord *udpWord, ofstream &outFileStream) |
Dump a data word to a file. More... | |
bool | getOutputDataStream (stream< UdpWord > &sDataStream, const string dataStreamName, const string outFileName, int simCnt) |
Fill an output file with data from an output stream. More... | |
bool | dumpImgToFile (xf::cv::Mat< OUT_TYPE, HEIGHT, WIDTH, NPIX > &_img, const string outFileName, int simCnt) |
Fill an output file with data from an image. More... | |
bool | dumpImgToFileWarpTransform (xf::cv::Mat< OUT_TYPE, HEIGHT, WIDTH, NPIX > &_img, const string outFileName, int simCnt, float *transform_matrix) |
Fill an output file with data from an image. More... | |
unsigned int | writeCornersIntoFile (cv::Mat &in_img, cv::Mat &ocv_out_img, cv::Mat &out_img, std::vector< cv::Point > &hls_points, std::vector< cv::Point > &ocv_points, std::vector< cv::Point > &common_pts) |
Write the corners found by Harris into a file. More... | |
void | markPointsOnImage (xf::cv::Mat< OUT_TYPE, HEIGHT, WIDTH, NPIX > &imgOutput, cv::Mat &in_img, cv::Mat &out_img, std::vector< cv::Point > &hls_points) |
Mark the points found by Harris into the image. More... | |