Skip to content
Snippets Groups Projects
Commit 2e6fad43 authored by Vipin Thomas's avatar Vipin Thomas
Browse files

Update pixel.hpp

parent b9d82380
No related branches found
No related tags found
No related merge requests found
......@@ -4,28 +4,21 @@
#include <hls_stream.h>
#include <ap_axi_sdata.h>
//#include <string.h>
//#include <array>
//const auto N = 1<<2; // array size
//using vec_t = std::array<char, N>;
using namespace std;
typedef ap_int<32> apint;
typedef ap_axis<32,1,1,1> pkt_t;
typedef hls::stream< pkt_t > stream;
void pixel(ap_int<32> &in_decimal,
ap_int<32> selector,
ap_int<32> position1,
ap_int<32> position2,
hls::stream< pkt_t > &din,
hls::stream< pkt_t > &dout
void pixel(apint &in_decimal,
apint selector,
apint stream_count,
stream &din,
stream &dout
);
long long convert(int n);
int convertBinInt(long long n);
void decrypt(int data);
void decode(int data);
int getDecimal(int n);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment