cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
The MedianBlur configuration header. More...
#include "hls_stream.h"
#include "ap_int.h"
#include "common/xf_common.hpp"
#include "common/xf_utility.hpp"
#include "imgproc/xf_median_blur.hpp"
#include "xf_config_params.h"
#include "median_blur.hpp"
#include "../../../../../HOST/vision/median_blur/languages/cplusplus/include/config.h"
Go to the source code of this file.
Macros | |
#define | NPC1 XF_NPPC1 |
#define | PTR_WIDTH 128 |
#define | TYPE XF_8UC1 |
#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 | OUT_TYPE TYPE |
Functions | |
void | median_blur_accel (xf::cv::Mat< XF_8UC1, 1024, 1024, XF_NPPC1 > &_src, xf::cv::Mat< XF_8UC1, 1024, 1024, XF_NPPC1 > &_dst) |
Top-level accelerated function of the MedianBlur Application with xf::cv I/F. More... | |
void | medianBlurAccelArray (ap_uint< 8 > *img_inp, ap_uint< 64 > *img_out, int rows, int cols) |
Top-level accelerated function of the MedianBlur Application with array I/F. More... | |
void | medianBlurAccelStream (hls::stream< ap_uint< 8 >> &img_in_axi_stream, hls::stream< ap_uint< 64 >> &img_out_axi_stream, int rows, int cols) |
Top-level accelerated function of the MedianBlur Application with array I/F. More... | |
void | fakeMedianBlurAccelStream (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 | medianBlurAccelMem (membus_t *img_inp, membus_t *img_out, int rows, int cols) |
Top-level accelerated function of the MedianBlur Application with array I/F. More... | |
The MedianBlur 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_median_blur_config.h.