mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
Oops
This commit is contained in:
parent
15a4acf90e
commit
00a96bca9b
1 changed files with 0 additions and 9 deletions
|
|
@ -6,8 +6,6 @@
|
|||
#include "common/codings/randomization.h"
|
||||
#include "imgui/imgui.h"
|
||||
|
||||
#include "common/repack_bits_byte.h"
|
||||
|
||||
#define BUFFER_SIZE 8192
|
||||
|
||||
// Return filesize
|
||||
|
|
@ -77,10 +75,6 @@ namespace fengyun3
|
|||
bool iq_invert = true;
|
||||
int noSyncRuns = 0, viterbiNoSyncRun = 0;
|
||||
|
||||
std::ofstream output_raw("cadu_raw.bin");
|
||||
uint8_t testbb[BUFFER_SIZE * 100];
|
||||
RepackBitsByte rep;
|
||||
|
||||
while (input_data_type == DATA_FILE ? !data_in.eof() : input_active.load())
|
||||
{
|
||||
// Read a buffer
|
||||
|
|
@ -122,9 +116,6 @@ namespace fengyun3
|
|||
// Perform differential decoding
|
||||
diff.work2(viterbi2_out, viterbi1_out, vout, diff_out);
|
||||
|
||||
int bbb = rep.work(diff_out, vout * 2, testbb);
|
||||
output_raw.write((char *)testbb, bbb);
|
||||
|
||||
// Reconstruct into bytes and write to output file
|
||||
if (v1 > 0 && v2 > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue