pipeline info that flows with data More...
#include <gnuradio/dtv/atsc_plinfo.h>
Public Member Functions | |
plinfo () | |
plinfo (uint16_t flags, int16_t segno) | |
void | reset () |
Resets the flags and segno fields. More... | |
bool | field_sync1_p () const |
bool | field_sync2_p () const |
bool | field_sync_p () const |
bool | regular_seg_p () const |
bool | in_field1_p () const |
bool | in_field2_p () const |
bool | first_regular_seg_p () const |
bool | transport_error_p () const |
unsigned int | segno () const |
unsigned int | flags () const |
void | set_field_sync1 () |
void | set_field_sync2 () |
void | set_regular_seg (bool field2, int segno) |
void | set_transport_error (bool error) |
Static Public Member Functions | |
static void | delay (plinfo &out, const plinfo &in, int nsegs_of_delay) |
Static Public Attributes | |
static constexpr int | fl_regular_seg = 0x0001 |
static constexpr int | fl_field_sync1 = 0x0002 |
static constexpr int | fl_field_sync2 = 0x0004 |
static constexpr int | fl_first_regular_seg = 0x0008 |
static constexpr int | fl_field2 = 0x0010 |
static constexpr int | fl_transport_error = 0x0020 |
pipeline info that flows with data
Not all modules need all the info
gr::dtv::plinfo::plinfo | ( | ) |
gr::dtv::plinfo::plinfo | ( | uint16_t | flags, |
int16_t | segno | ||
) |
Set OUT
such that it reflects a NSEGS_OF_DELAY
pipeline delay from IN
.
bool gr::dtv::plinfo::field_sync1_p | ( | ) | const |
bool gr::dtv::plinfo::field_sync2_p | ( | ) | const |
bool gr::dtv::plinfo::field_sync_p | ( | ) | const |
bool gr::dtv::plinfo::first_regular_seg_p | ( | ) | const |
unsigned int gr::dtv::plinfo::flags | ( | ) | const |
bool gr::dtv::plinfo::in_field1_p | ( | ) | const |
bool gr::dtv::plinfo::in_field2_p | ( | ) | const |
bool gr::dtv::plinfo::regular_seg_p | ( | ) | const |
void gr::dtv::plinfo::reset | ( | ) |
Resets the flags and segno fields.
unsigned int gr::dtv::plinfo::segno | ( | ) | const |
void gr::dtv::plinfo::set_field_sync1 | ( | ) |
void gr::dtv::plinfo::set_field_sync2 | ( | ) |
void gr::dtv::plinfo::set_regular_seg | ( | bool | field2, |
int | segno | ||
) |
void gr::dtv::plinfo::set_transport_error | ( | bool | error | ) |
bool gr::dtv::plinfo::transport_error_p | ( | ) | const |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |