diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2016-08-31 12:28:44 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2016-08-31 12:28:44 -0700 |
commit | e66d243be4043d8870affc6fe5036bfae0d5163b (patch) | |
tree | ce428f62ac728b72cf56570af1fb4b8dbe9ea1d3 /gr-dtv/lib/dvbt/dvbt_inner_coder_impl.h | |
parent | a7a57791d452fb2543de178ae72cfd63581bf80e (diff) | |
parent | bb8a76f7f95bb95aeff0f3d96f50e70fcb22c7ea (diff) |
Merge branch 'master' into next
Diffstat (limited to 'gr-dtv/lib/dvbt/dvbt_inner_coder_impl.h')
-rw-r--r-- | gr-dtv/lib/dvbt/dvbt_inner_coder_impl.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gr-dtv/lib/dvbt/dvbt_inner_coder_impl.h b/gr-dtv/lib/dvbt/dvbt_inner_coder_impl.h index 7a46a2222c..d472b1f60c 100644 --- a/gr-dtv/lib/dvbt/dvbt_inner_coder_impl.h +++ b/gr-dtv/lib/dvbt/dvbt_inner_coder_impl.h @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2015 Free Software Foundation, Inc. + * Copyright 2015,2016 Free Software Foundation, Inc. * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -32,6 +32,9 @@ namespace gr { private: const dvbt_configure config; + static const int d_lookup_171[128]; + static const int d_lookup_133[128]; + int d_ninput; int d_noutput; @@ -57,8 +60,8 @@ namespace gr { // bit output buffer unsigned char * d_out_buff; - void generate_codeword(unsigned char in, int &x, int &y); - void generate_punctured_code(dvb_code_rate_t coderate, unsigned char * in, unsigned char * out); + inline void generate_codeword(unsigned char in, int &x, int &y); + inline void generate_punctured_code(dvb_code_rate_t coderate, unsigned char * in, unsigned char * out); public: dvbt_inner_coder_impl(int ninput, int noutput, dvb_constellation_t constellation, dvbt_hierarchy_t hierarchy, dvb_code_rate_t coderate); |