23 #ifndef INCLUDED_DTV_ATSC_DEINTERLEAVER_IMPL_H
24 #define INCLUDED_DTV_ATSC_DEINTERLEAVER_IMPL_H
37 unsigned char transform(
unsigned char input) {
38 unsigned char retval = m_fifo[m_commutator]->stuff(input);
40 if (m_commutator >= 52)
55 std::vector<interleaver_fifo<unsigned char> *> m_fifo;
61 int work(
int noutput_items,
69 void sync() { m_commutator = 0; }
ATSC deinterleave RS encoded ATSC data ( atsc_mpeg_packet_rs_encoded –> atsc_mpeg_packet_rs_encoded)i...
Definition: atsc_deinterleaver.h:38
std::vector< const void * > gr_vector_const_void_star
Definition: gnuradio-runtime/include/gnuradio/types.h:38
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
just like gr::block::general_work, only this arranges to call consume_each for you ...
std::vector< void * > gr_vector_void_star
Definition: gnuradio-runtime/include/gnuradio/types.h:37
void reset()
reset interleaver (flushes contents and resets commutator)
void sync()
sync interleaver (resets commutator, but doesn't flush fifos)
Definition: atsc_deinterleaver_impl.h:69
Definition: atsc_deinterleaver_impl.h:33
atsc_deinterleaver_impl()
~atsc_deinterleaver_impl()