29 encoder_impl(
unsigned char pty_locale,
int pty,
bool ms, std::string ps,
30 double af1,
bool tp,
bool ta,
int pi_country_code,
31 int pi_coverage_area,
int pi_reference_number,
32 std::string radiotext,
int max_latency);
39 int work(
int noutput_items,
40 gr_vector_const_void_star &input_items,
41 gr_vector_void_star &output_items);
43 unsigned int infoword[4];
44 unsigned int checkword[4];
45 unsigned int block[4];
46 unsigned char **buffer;
47 unsigned char pty_locale;
51 unsigned char radiotext[64];
63 gr::thread::mutex d_mutex;
77 int d_buffer_bit_counter;
84 void add_token(pmt::pmt_t tag);
92 void set_af1(
double af1);
93 void set_pty(
unsigned int pty);
94 void set_pi(
unsigned int pty);
95 void set_radiotext(std::string text);
98 void create_group(
const int,
const bool);
99 void prepare_group0(
const bool);
100 void prepare_group1a();
101 void prepare_group2(
const bool);
102 void prepare_group3a();
103 void prepare_group4a();
104 void prepare_group8a();
105 void prepare_group11a();
106 void prepare_buffer(
int);
107 unsigned int encode_af(
double);
108 unsigned int calc_syndrome(
unsigned long,
unsigned char);
109 void rds_in(pmt::pmt_t msg);
encoder_impl(unsigned char pty_locale, int pty, bool ms, std::string ps, double af1, bool tp, bool ta, int pi_country_code, int pi_coverage_area, int pi_reference_number, std::string radiotext, int max_latency)