diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2016-09-12 14:16:50 -0600 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2016-09-12 14:19:29 -0600 |
commit | f7cdfff6a85ce52b1d7c0b5131645fcb77405fe8 (patch) | |
tree | 908af9bf8d1c512e22116cb3afbc89eb5883cc93 /gr-dtv/lib/dvbt/dvbt_inner_coder_impl.h | |
parent | a867a290194228d09ba93f0f46e3a4e4523f5396 (diff) | |
parent | af4323d1e471476efa255e3df745397f7c8a1b71 (diff) |
Merge remote-tracking branch 'upstream/next' into gtk3
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); |