91 _flags &= ~fl_transport_error;
156 return std::memcmp(
data, other.
data,
sizeof(
data)) == 0;
161 return !(std::memcmp(
data, other.
data,
sizeof(
data)) == 0);
176 return std::memcmp(
data, other.
data,
sizeof(
data)) == 0;
181 return !(std::memcmp(
data, other.
data,
sizeof(
data)) == 0);
196 return std::memcmp(
data, other.
data,
sizeof(
data)) == 0;
201 return !(std::memcmp(
data, other.
data,
sizeof(
data)) == 0);
219 return std::memcmp(
data, other.
data,
sizeof(
data)) == 0;
224 return !(std::memcmp(
data, other.
data,
sizeof(
data)) == 0);
245 return std::memcmp(
data, other.
data,
sizeof(
data)) == 0;
250 return !(std::memcmp(
data, other.
data,
sizeof(
data)) == 0);
contains 832 3 bit symbols. The low 3 bits in the byte hold the symbol.
Definition: gr-atsc/include/gnuradio/atsc/types.h:209
unsigned char data[ATSC_DATA_SEGMENT_LENGTH]
Definition: gr-atsc/include/gnuradio/atsc/types.h:213
static const int NPAD
Definition: gr-atsc/include/gnuradio/atsc/types.h:211
plinfo pli
Definition: gr-atsc/include/gnuradio/atsc/types.h:212
unsigned char _pad_[NPAD]
Definition: gr-atsc/include/gnuradio/atsc/types.h:214
bool operator==(const atsc_data_segment &other) const
Definition: gr-atsc/include/gnuradio/atsc/types.h:217
bool operator!=(const atsc_data_segment &other) const
Definition: gr-atsc/include/gnuradio/atsc/types.h:222
Definition: gr-atsc/include/gnuradio/atsc/types.h:166
unsigned char data[ATSC_MPEG_DATA_LENGTH]
Definition: gr-atsc/include/gnuradio/atsc/types.h:170
bool operator!=(const atsc_mpeg_packet_no_sync &other) const
Definition: gr-atsc/include/gnuradio/atsc/types.h:179
static const int NPAD
Definition: gr-atsc/include/gnuradio/atsc/types.h:168
bool operator==(const atsc_mpeg_packet_no_sync &other) const
Definition: gr-atsc/include/gnuradio/atsc/types.h:174
plinfo pli
Definition: gr-atsc/include/gnuradio/atsc/types.h:169
unsigned char _pad_[NPAD]
Definition: gr-atsc/include/gnuradio/atsc/types.h:171
Definition: gr-atsc/include/gnuradio/atsc/types.h:186
plinfo pli
Definition: gr-atsc/include/gnuradio/atsc/types.h:189
bool operator==(const atsc_mpeg_packet_rs_encoded &other) const
Definition: gr-atsc/include/gnuradio/atsc/types.h:194
unsigned char data[ATSC_MPEG_RS_ENCODED_LENGTH]
Definition: gr-atsc/include/gnuradio/atsc/types.h:190
unsigned char _pad_[NPAD]
Definition: gr-atsc/include/gnuradio/atsc/types.h:191
bool operator!=(const atsc_mpeg_packet_rs_encoded &other) const
Definition: gr-atsc/include/gnuradio/atsc/types.h:199
static const int NPAD
Definition: gr-atsc/include/gnuradio/atsc/types.h:188
Definition: gr-atsc/include/gnuradio/atsc/types.h:147
unsigned char _pad_[NPAD]
Definition: gr-atsc/include/gnuradio/atsc/types.h:151
bool operator==(const atsc_mpeg_packet &other) const
Definition: gr-atsc/include/gnuradio/atsc/types.h:154
bool operator!=(const atsc_mpeg_packet &other) const
Definition: gr-atsc/include/gnuradio/atsc/types.h:159
unsigned char data[ATSC_MPEG_DATA_LENGTH+1]
Definition: gr-atsc/include/gnuradio/atsc/types.h:150
static const int NPAD
Definition: gr-atsc/include/gnuradio/atsc/types.h:149
Definition: gr-atsc/include/gnuradio/atsc/types.h:235
plinfo pli
Definition: gr-atsc/include/gnuradio/atsc/types.h:238
static const int NPAD
Definition: gr-atsc/include/gnuradio/atsc/types.h:237
float data[ATSC_DATA_SEGMENT_LENGTH]
Definition: gr-atsc/include/gnuradio/atsc/types.h:239
bool operator==(const atsc_data_segment &other) const
Definition: gr-atsc/include/gnuradio/atsc/types.h:243
bool operator!=(const atsc_data_segment &other) const
Definition: gr-atsc/include/gnuradio/atsc/types.h:248
unsigned char _pad_[NPAD]
Definition: gr-atsc/include/gnuradio/atsc/types.h:240
pipeline info that flows with data
Definition: gr-atsc/include/gnuradio/atsc/types.h:37
static void delay(plinfo &out, const plinfo &in, int nsegs_of_delay)
static const int fl_field_sync2
Definition: gr-atsc/include/gnuradio/atsc/types.h:127
plinfo()
Definition: gr-atsc/include/gnuradio/atsc/types.h:39
bool field_sync1_p() const
Definition: gr-atsc/include/gnuradio/atsc/types.h:43
static const int fl_regular_seg
Definition: gr-atsc/include/gnuradio/atsc/types.h:123
bool in_field2_p() const
Definition: gr-atsc/include/gnuradio/atsc/types.h:50
static const int fl_first_regular_seg
Definition: gr-atsc/include/gnuradio/atsc/types.h:132
void set_regular_seg(bool field2, int segno)
Definition: gr-atsc/include/gnuradio/atsc/types.h:73
bool regular_seg_p() const
Definition: gr-atsc/include/gnuradio/atsc/types.h:47
unsigned int segno() const
Definition: gr-atsc/include/gnuradio/atsc/types.h:56
bool transport_error_p() const
Definition: gr-atsc/include/gnuradio/atsc/types.h:54
void set_field_sync2()
Definition: gr-atsc/include/gnuradio/atsc/types.h:67
static const int fl_field2
Definition: gr-atsc/include/gnuradio/atsc/types.h:135
bool in_field1_p() const
Definition: gr-atsc/include/gnuradio/atsc/types.h:49
void set_transport_error(bool error)
Definition: gr-atsc/include/gnuradio/atsc/types.h:86
bool operator!=(const plinfo &other) const
Definition: gr-atsc/include/gnuradio/atsc/types.h:100
static const int fl_transport_error
Definition: gr-atsc/include/gnuradio/atsc/types.h:142
void set_field_sync1()
Definition: gr-atsc/include/gnuradio/atsc/types.h:61
static void sanity_check(const plinfo &in)
unsigned int flags() const
Definition: gr-atsc/include/gnuradio/atsc/types.h:57
unsigned short _segno
Definition: gr-atsc/include/gnuradio/atsc/types.h:119
static const int fl_field_sync1
Definition: gr-atsc/include/gnuradio/atsc/types.h:125
bool field_sync_p() const
Definition: gr-atsc/include/gnuradio/atsc/types.h:45
unsigned short _flags
Definition: gr-atsc/include/gnuradio/atsc/types.h:118
bool first_regular_seg_p() const
Definition: gr-atsc/include/gnuradio/atsc/types.h:52
bool operator==(const plinfo &other) const
Definition: gr-atsc/include/gnuradio/atsc/types.h:95
bool field_sync2_p() const
Definition: gr-atsc/include/gnuradio/atsc/types.h:44
static const int ATSC_DATA_SEGMENT_LENGTH
Definition: consts.h:33
static const int ATSC_MPEG_DATA_LENGTH
Definition: consts.h:30
static const int ATSC_DSEGS_PER_FIELD
Definition: consts.h:34
static const int ATSC_MPEG_RS_ENCODED_LENGTH
Definition: consts.h:32