diff options
author | Achilleas Anastasopoulos | 2011-08-31 19:35:58 -0400 |
---|---|---|
committer | Achilleas Anastasopoulos | 2011-08-31 19:35:58 -0400 |
commit | 8f6be2790220af5b4628de7daee3be4b494e3b3e (patch) | |
tree | a269d1fdd6970e3a8c4a96e70680bc732612402a /gr-trellis/src/lib/trellis_permutation.i | |
parent | d9955bc0ba633ebd4bb2964b656f47cd05ccd05f (diff) | |
download | gnuradio-8f6be2790220af5b4628de7daee3be4b494e3b3e.tar.gz gnuradio-8f6be2790220af5b4628de7daee3be4b494e3b3e.tar.bz2 gnuradio-8f6be2790220af5b4628de7daee3be4b494e3b3e.zip |
Added SCCC encoder/decoder grc blocksi and examples. Also moved all grc blocks related to trellis inside the gr-trellis/grc directory
Diffstat (limited to 'gr-trellis/src/lib/trellis_permutation.i')
-rw-r--r-- | gr-trellis/src/lib/trellis_permutation.i | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-trellis/src/lib/trellis_permutation.i b/gr-trellis/src/lib/trellis_permutation.i index 834a36986..1433a6584 100644 --- a/gr-trellis/src/lib/trellis_permutation.i +++ b/gr-trellis/src/lib/trellis_permutation.i @@ -22,7 +22,7 @@ GR_SWIG_BLOCK_MAGIC(trellis,permutation); -trellis_permutation_sptr trellis_make_permutation (int K, const std::vector<int> &TABLE, int SYMS_PER_BLOCK, size_t NBYTES_INOUT); +trellis_permutation_sptr trellis_make_permutation (int K, const std::vector<int> &TABLE, int SYMS_PER_BLOCK, size_t BYTES_PER_SYMBOL); class trellis_permutation : public gr_sync_block { @@ -30,12 +30,12 @@ private: int d_K; std::vector<int> d_TABLE; int d_SYMS_PER_BLOCK; - size_t d_NBYTES_INOUT; - trellis_permutation (int K, const std::vector<int> &TABLE, int SYMS_PER_BLOCK, size_t NBYTES_INOUT); + size_t d_BYTES_PER_SYMBOL; + trellis_permutation (int K, const std::vector<int> &TABLE, int SYMS_PER_BLOCK, size_t BYTES_PER_SYMBOL); public: int K () const { return d_K; } const std::vector<int> & TABLE () const { return d_TABLE; } int SYMS_PER_BLOCK () const { return d_SYMS_PER_BLOCK; } - size_t NBYTES_INOUT () const { return d_NBYTES_INOUT; } + size_t BYTES_PER_SYMBOL () const { return d_BYTES_PER_SYMBOL; } }; |