mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
34 lines
No EOL
1.1 KiB
C++
34 lines
No EOL
1.1 KiB
C++
#pragma once
|
|
|
|
#include "common/widgets/constellation.h"
|
|
#include "pipeline/modules/base/filestream_to_filestream.h"
|
|
#include <complex>
|
|
#include <fstream>
|
|
#include <thread>
|
|
|
|
namespace satdump
|
|
{
|
|
namespace pipeline
|
|
{
|
|
namespace generic
|
|
{
|
|
class Soft2HardModule : public base::FileStreamToFileStreamModule
|
|
{
|
|
protected:
|
|
int8_t *input_buffer;
|
|
|
|
public:
|
|
Soft2HardModule(std::string input_file, std::string output_file_hint, nlohmann::json parameters);
|
|
~Soft2HardModule();
|
|
void process();
|
|
void drawUI(bool window);
|
|
|
|
public:
|
|
static std::string getID();
|
|
virtual std::string getIDM() { return getID(); }
|
|
static nlohmann::json getParams() { return {}; }
|
|
static std::shared_ptr<ProcessingModule> getInstance(std::string input_file, std::string output_file_hint, nlohmann::json parameters);
|
|
};
|
|
} // namespace generic
|
|
} // namespace pipeline
|
|
} // namespace satdump
|