cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
The Harris configuration header. More...
#include "hls_stream.h"
#include "ap_int.h"
#include "common/xf_common.hpp"
#include "common/xf_utility.hpp"
#include "features/xf_harris.hpp"
#include "xf_config_params.h"
#include "harris.hpp"
#include "../../../../../HOST/vision/harris/languages/cplusplus/include/config.h"
#include "imgproc/xf_gammacorrection.hpp"
Go to the source code of this file.
Macros | |
#define | NPC1 XF_NPPC1 |
#define | CH_TYPE XF_GRAY |
#define | INPUT_PTR_WIDTH 8 |
#define | OUTPUT_PTR_WIDTH 64 |
#define | NPIX XF_NPPC1 |
#define | WIDTH FRAME_WIDTH |
#define | HEIGHT FRAME_HEIGHT |
#define | IMGSIZE FRAME_TOTAL |
#define | BITS_PER_10GBITETHRNET_AXI_PACKET 64 |
#define | BYTES_PER_10GBITETHRNET_AXI_PACKET (BITS_PER_10GBITETHRNET_AXI_PACKET/8) |
#define | IMG_PACKETS IMGSIZE/(BYTES_PER_10GBITETHRNET_AXI_PACKET) |
#define | MIN_RX_LOOPS IMG_PACKETS*(BITS_PER_10GBITETHRNET_AXI_PACKET/INPUT_PTR_WIDTH) |
#define | MIN_TX_LOOPS IMG_PACKETS*(BITS_PER_10GBITETHRNET_AXI_PACKET/OUTPUT_PTR_WIDTH) |
#define | IN_TYPE XF_8UC1 |
#define | OUT_TYPE XF_8UC1 |
Functions | |
void | harris_accel (xf::cv::Mat< XF_8UC1, 16, 16, XF_NPPC1 > &_src, xf::cv::Mat< XF_8UC1, 16, 16, XF_NPPC1 > &_dst, unsigned short Thresh, unsigned short k) |
Top-level accelerated function of the Harris Application with xf::cv I/F. More... | |
void | cornerHarrisAccelArray (ap_uint< 8 > *img_inp, ap_uint< 64 > *img_out, int rows, int cols, int threshold, int k) |
Top-level accelerated function of the Harris Application with array I/F. More... | |
void | cornerHarrisAccelStream (hls::stream< ap_uint< 8 >> &img_in_axi_stream, hls::stream< ap_uint< 64 >> &img_out_axi_stream, int rows, int cols, int threshold, int k) |
Top-level accelerated function of the Harris Application with array I/F. More... | |
void | fakeCornerHarrisAccelStream (hls::stream< ap_axiu< 8, 0, 0, 0 > > &img_in_axi_stream, hls::stream< ap_axiu< 64, 0, 0, 0 > > &img_out_axi_stream, unsigned int min_rx_loops, unsigned int min_tx_loops) |
void | cornerHarrisAccelMem (membus_t *img_inp, membus_t *img_out, int rows, int cols, int threshold, int k) |
Top-level accelerated function of the Harris Application with array I/F. More... | |
void | gammacorrection_accel (xf::cv::Mat< XF_8UC1, 16, 16, XF_NPPC1 > &imgInput1, xf::cv::Mat< XF_8UC1, 16, 16, XF_NPPC1 > &imgOutput, float gammaval) |
The Harris configuration header.
Copyright 2016 – 2022 IBM Corporation
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Copyright (c) 2019, Xilinx, Inc.
All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Definition in file xf_harris_config.h.