SatDump 2.0.0-alpha-520736c72
Loading...
Searching...
No Matches
fengyun_svissr::SVISSRImageDecoderModule Class Reference
Inheritance diagram for fengyun_svissr::SVISSRImageDecoderModule:

Classes

struct  SVISSRBuffer

Public Member Functions

 SVISSRImageDecoderModule (std::string input_file, std::string output_file_hint, nlohmann::json parameters)
void process ()
void drawUI (bool window)
nlohmann::json getModuleStats ()
virtual std::string getIDM ()

Static Public Member Functions

static std::string getID ()
static nlohmann::json getParams ()
static std::shared_ptr< ProcessingModule > getInstance (std::string input_file, std::string output_file_hint, nlohmann::json parameters)

Protected Member Functions

void image_saving_thread_f ()
std::string getSvissrFilename (std::tm *timeReadable, std::string channel)
void writeImages (SVISSRBuffer &buffer)
 Processes the received products.
void save_subcom_frame ()
 Builds the 25 received groups of a minor frame, saves it. Aborts if we didn't get 25 groups.

Protected Attributes

std::string sat_name
uint8_t * frame
bool backwardScan
bool writingImage = false
int valid_lines
float approx_progess
bool apply_correction
int global_counter
bool counter_locked = false
SVISSRReader vissrImageReader
std::mutex images_queue_mtx
std::vector< std::shared_ptr< SVISSRBuffer > > images_queue
std::thread images_queue_thread
bool images_thread_should_run
std::vector< int > scid_stats
std::vector< MinorFrame > subcommunication_frames
MinorFrame current_subcom_frame
std::vector< Group > group_retransmissions
float corr_history_ca [200]
unsigned int textureID = 0
uint32_t * textureBuffer

Member Function Documentation

◆ writeImages()

void fengyun_svissr::SVISSRImageDecoderModule::writeImages ( SVISSRBuffer & buffer)
protected

Processes the received products.

Parameters
buffer

The documentation for this class was generated from the following files:
  • plugins/fengyun2_support/fengyun2/svissr/module_svissr_image_decoder.h
  • plugins/fengyun2_support/fengyun2/svissr/module_svissr_image_decoder.cpp