- initial commit
git-svn-id: http://moon:8086/svn/software/trunk/projects/mpsk_rx_gui@2 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
#include <deque>
|
||||
|
||||
using namespace std;
|
||||
|
||||
class MinMaxLemire
|
||||
{
|
||||
public:
|
||||
MinMaxLemire(uint32_t N);
|
||||
~MinMaxLemire();
|
||||
void process(vector<float> & array);
|
||||
vector<float> & getmaxvalues()
|
||||
{
|
||||
return maxvalues;
|
||||
}
|
||||
vector<float> & getminvalues()
|
||||
{
|
||||
return minvalues;
|
||||
}
|
||||
|
||||
private:
|
||||
uint32_t width;
|
||||
vector<float> minvalues;
|
||||
vector<float> maxvalues;
|
||||
deque<int32_t> maxfifo, minfifo;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user