GNU Radio Manual and C++ API Reference  3.7.5
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
gr::dtv::atsc_rs_decoder_impl Class Reference

#include </build/gnuradio-O4UjFN/gnuradio-3.7.5/gr-dtv/lib/atsc/atsc_rs_decoder_impl.h>

Public Member Functions

 atsc_rs_decoder_impl ()
 ~atsc_rs_decoder_impl ()
int decode (atsc_mpeg_packet_no_sync &out, const atsc_mpeg_packet_rs_encoded &in)
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

Additional Inherited Members

- Public Types inherited from gr::dtv::atsc_rs_decoder
typedef boost::shared_ptr
< atsc_rs_decoder
sptr
- Static Public Member Functions inherited from gr::dtv::atsc_rs_decoder
static sptr make ()
 Make a new instance of gr::dtv::atsc_rs_decoder.
- Protected Types inherited from gr::basic_block
enum  vcolor { WHITE, GREY, BLACK }
- Protected Member Functions inherited from gr::sync_block
 sync_block (void)
 sync_block (const std::string &name, gr::io_signature::sptr input_signature, gr::io_signature::sptr output_signature)
- Protected Attributes inherited from gr::block
std::vector< long > d_max_output_buffer
std::vector< long > d_min_output_buffer
gr::thread::mutex d_setlock
gr::logger_ptr d_logger
gr::logger_ptr d_debug_logger

Constructor & Destructor Documentation

gr::dtv::atsc_rs_decoder_impl::atsc_rs_decoder_impl ( )
gr::dtv::atsc_rs_decoder_impl::~atsc_rs_decoder_impl ( )

Member Function Documentation

int gr::dtv::atsc_rs_decoder_impl::decode ( atsc_mpeg_packet_no_sync out,
const atsc_mpeg_packet_rs_encoded in 
)

Decode RS encoded packet.

Returns
a count of corrected symbols, or -1 if the block was uncorrectible.
int gr::dtv::atsc_rs_decoder_impl::work ( int  noutput_items,
gr_vector_const_void_star input_items,
gr_vector_void_star output_items 
)
virtual

just like gr::block::general_work, only this arranges to call consume_each for you

The user must override work to define the signal processing code

Implements gr::sync_block.


The documentation for this class was generated from the following file: