17 #ifndef INCLUDED_RDS_DECODER_IMPL_H
18 #define INCLUDED_RDS_DECODER_IMPL_H
33 int work(
int noutput_items,
34 gr_vector_const_void_star &input_items,
35 gr_vector_void_star &output_items);
38 void enter_sync(
unsigned int);
39 unsigned int calc_syndrome(
unsigned long,
unsigned char);
40 void decode_group(
unsigned int*);
42 unsigned long bit_counter;
43 unsigned long lastseen_offset_counter, reg;
44 unsigned int block_bit_counter;
45 unsigned int wrong_blocks_counter;
46 unsigned int blocks_counter;
47 unsigned int group_good_blocks_counter;
48 unsigned int group[4];
53 bool group_assembly_started;
54 unsigned char lastseen_offset;
55 unsigned char block_number;
56 enum { NO_SYNC, SYNC } d_state;
Definition: decoder_impl.h:25
decoder_impl(bool log, bool debug)