SatDump 2.0.0-alpha-520736c72
Loading...
Searching...
No Matches
module_svissr_decoder.h
1#pragma once
2
3#include "common/dsp/utils/random.h"
4#include "pipeline/modules/base/filestream_to_filestream.h"
5
6namespace fengyun_svissr
7{
8 class SVISSRDecoderModule : public satdump::pipeline::base::FileStreamToFileStreamModule
9 {
10 protected:
11 // Read buffer
12 int8_t *buffer;
13
14 // UI Stuff
15 dsp::Random rng;
16
17 public:
18 SVISSRDecoderModule(std::string input_file, std::string output_file_hint, nlohmann::json parameters);
19 ~SVISSRDecoderModule();
20 void process();
21 void drawUI(bool window);
22
23 public:
24 static std::string getID();
25 virtual std::string getIDM() { return getID(); };
26 static nlohmann::json getParams() { return {}; } // TODOREWORK
27 static std::shared_ptr<ProcessingModule> getInstance(std::string input_file, std::string output_file_hint, nlohmann::json parameters);
28 };
29} // namespace fengyun_svissr