Houston, we have a trunk.
[debian/gnuradio] / gr-error-correcting-codes / src / lib / libecc / encoder_turbo.cc
1 #include "encoder_turbo.h"
2
3 encoder_turbo::encoder_turbo
4 (int n_code_inputs,
5  int n_code_outputs,
6  const std::vector<encoder_convolutional*> &encoders,
7  const std::vector<size_t> &interleavers)
8 {
9   // need error checking on inputs
10
11   d_encoders = encoders;
12   d_interleavers = interleavers;
13 }
14
15 // dummy stuff for now to test std::vector<gr_streams_convolutional...> stuff
16
17 size_t
18 encoder_turbo::compute_n_input_bits
19 (size_t n_output_bits)
20 {
21   return (0);
22 }
23
24 size_t
25 encoder_turbo::compute_n_output_bits
26 (size_t n_input_bits)
27 {
28   return (0);
29 }
30
31 void
32 encoder_turbo::encode_private
33 (const char** in_buf,
34  char** out_buf)
35 {
36 }
37
38 char
39 encoder_turbo::get_next_bit
40 (const char** in_buf,
41  size_t code_input_n)
42 {
43   return (0);
44 }
45
46 void
47 encoder_turbo::output_bit
48 (char t_out_bit,
49  char** out_buf,
50  size_t t_output_stream)
51 {
52 }