21 #ifndef INCLUDED_SATNOGS_AMSAT_DUV_DECODER_H 22 #define INCLUDED_SATNOGS_AMSAT_DUV_DECODER_H 43 amsat_fox_spacecraft_id[];
45 static decoder::decoder_sptr
46 make(
const std::string &control_symbol,
size_t max_frame_len = 96);
52 decode(
const void *in,
int len);
63 uint16_t d_control_symbol_pos;
64 uint16_t d_control_symbol_neg;
66 uint16_t d_wrong_bits;
67 uint16_t d_wrong_bits_neg;
73 int *d_erasures_indexes;
75 size_t d_bitstream_idx;
76 std::deque<uint8_t> d_bitstream;
79 set_access_code(
const std::string &control_symbol);
82 process_10b(uint16_t word,
size_t write_pos);
85 pack_10b_word(
size_t idx);
87 int d_lookup_8b10b[2][256] = {
Abstract class that provided the API for the c decoders.
Definition: decoder.h:69
AMSAT 8b10b + CCSDS RS DUV decoder.
Definition: amsat_duv_decoder.h:36
Definition: amsat_duv_decoder.h:29
class decoder_status decoder_status_t
Definition: decoder.h:55
static const size_t amsat_fox_duv_frame_size
Definition: amsat_duv_decoder.h:40
#define SATNOGS_API
Definition: api.h:30