diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2019-08-07 21:45:12 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2019-08-09 23:04:28 +0200 |
commit | f7bbf2c1d8d780294f3e016aff239ca35eb6516e (patch) | |
tree | e09ab6112e02b2215b2d59ac24d3d6ea2edac745 /gr-fec/lib/async_decoder_impl.h | |
parent | 78431dc6941e3acc67c858277dfe4a0ed583643c (diff) |
Tree: clang-format without the include sorting
Diffstat (limited to 'gr-fec/lib/async_decoder_impl.h')
-rw-r--r-- | gr-fec/lib/async_decoder_impl.h | 57 |
1 files changed, 29 insertions, 28 deletions
diff --git a/gr-fec/lib/async_decoder_impl.h b/gr-fec/lib/async_decoder_impl.h index bb108d5cad..d3bf0adb31 100644 --- a/gr-fec/lib/async_decoder_impl.h +++ b/gr-fec/lib/async_decoder_impl.h @@ -27,43 +27,44 @@ #include <gnuradio/blocks/pack_k_bits.h> namespace gr { - namespace fec { +namespace fec { - class FEC_API async_decoder_impl : public async_decoder - { - private: - generic_decoder::sptr d_decoder; +class FEC_API async_decoder_impl : public async_decoder +{ +private: + generic_decoder::sptr d_decoder; - pmt::pmt_t d_in_port; - pmt::pmt_t d_out_port; + pmt::pmt_t d_in_port; + pmt::pmt_t d_out_port; - blocks::kernel::pack_k_bits *d_pack; + blocks::kernel::pack_k_bits* d_pack; - bool d_packed; - bool d_rev_pack; - int d_mtu; + bool d_packed; + bool d_rev_pack; + int d_mtu; - size_t d_max_bits_in; - float *d_tmp_f32; - int8_t *d_tmp_u8; - uint8_t *d_bits_out; + size_t d_max_bits_in; + float* d_tmp_f32; + int8_t* d_tmp_u8; + uint8_t* d_bits_out; - void decode_packed(pmt::pmt_t msg); - void decode_unpacked(pmt::pmt_t msg); + void decode_packed(pmt::pmt_t msg); + void decode_unpacked(pmt::pmt_t msg); - public: - async_decoder_impl(generic_decoder::sptr my_decoder, - bool packed=false, bool rev_pack=true, - int mtu=1500); - ~async_decoder_impl(); +public: + async_decoder_impl(generic_decoder::sptr my_decoder, + bool packed = false, + bool rev_pack = true, + int mtu = 1500); + ~async_decoder_impl(); - int general_work(int noutput_items, - gr_vector_int& ninput_items, - gr_vector_const_void_star &input_items, - gr_vector_void_star &output_items); - }; + int general_work(int noutput_items, + gr_vector_int& ninput_items, + gr_vector_const_void_star& input_items, + gr_vector_void_star& output_items); +}; - } /* namespace fec */ +} /* namespace fec */ } /* namespace gr */ #endif /* INCLUDED_FEC_ASYNC_DECODER_IMPL_H */ |