23 #ifndef _ATSC_TYPES_H_ 24 #define _ATSC_TYPES_H_ 146 static const int NPAD = 68;
148 unsigned char _pad_[NPAD];
152 return std::memcmp (data, other.
data, sizeof (data)) == 0;
156 return !(std::memcmp (data, other.
data, sizeof (data)) == 0);
162 static const int NPAD = 65;
165 unsigned char _pad_[NPAD];
169 return std::memcmp (data, other.
data, sizeof (data)) == 0;
173 return !(std::memcmp (data, other.
data, sizeof (data)) == 0);
179 static const int NPAD = 45;
182 unsigned char _pad_[NPAD];
186 return std::memcmp (data, other.
data, sizeof (data)) == 0;
190 return !(std::memcmp (data, other.
data, sizeof (data)) == 0);
199 static const int NPAD = 188;
202 unsigned char _pad_[NPAD];
206 return std::memcmp (data, other.
data, sizeof (data)) == 0;
210 return !(std::memcmp (data, other.
data, sizeof (data)) == 0);
222 static const int NPAD = 764;
225 unsigned char _pad_[NPAD];
229 return std::memcmp (data, other.
data, sizeof (data)) == 0;
233 return !(std::memcmp (data, other.
data, sizeof (data)) == 0);
static const int ATSC_DATA_SEGMENT_LENGTH
Definition: consts.h:33
static const int fl_field_sync1
Definition: gr-atsc/include/gnuradio/atsc/types.h:121
bool regular_seg_p() const
Definition: gr-atsc/include/gnuradio/atsc/types.h:46
bool in_field2_p() const
Definition: gr-atsc/include/gnuradio/atsc/types.h:49
bool first_regular_seg_p() const
Definition: gr-atsc/include/gnuradio/atsc/types.h:51
unsigned int flags() const
Definition: gr-atsc/include/gnuradio/atsc/types.h:56
unsigned char data[ATSC_DATA_SEGMENT_LENGTH]
Definition: gr-atsc/include/gnuradio/atsc/types.h:201
unsigned char data[ATSC_MPEG_RS_ENCODED_LENGTH]
Definition: gr-atsc/include/gnuradio/atsc/types.h:181
unsigned char data[ATSC_MPEG_DATA_LENGTH]
Definition: gr-atsc/include/gnuradio/atsc/types.h:164
static const int fl_field_sync2
Definition: gr-atsc/include/gnuradio/atsc/types.h:123
static void delay(plinfo &out, const plinfo &in, int nsegs_of_delay)
unsigned int segno() const
Definition: gr-atsc/include/gnuradio/atsc/types.h:55
static const int fl_field2
Definition: gr-atsc/include/gnuradio/atsc/types.h:131
bool field_sync1_p() const
Definition: gr-atsc/include/gnuradio/atsc/types.h:42
Definition: gr-atsc/include/gnuradio/atsc/types.h:160
bool in_field1_p() const
Definition: gr-atsc/include/gnuradio/atsc/types.h:48
static const int fl_transport_error
Definition: gr-atsc/include/gnuradio/atsc/types.h:138
Definition: gr-atsc/include/gnuradio/atsc/types.h:220
void set_regular_seg(bool field2, int segno)
Definition: gr-atsc/include/gnuradio/atsc/types.h:72
Definition: gr-atsc/include/gnuradio/atsc/types.h:177
plinfo pli
Definition: gr-atsc/include/gnuradio/atsc/types.h:223
bool field_sync2_p() const
Definition: gr-atsc/include/gnuradio/atsc/types.h:43
Definition: gr-atsc/include/gnuradio/atsc/types.h:144
plinfo pli
Definition: gr-atsc/include/gnuradio/atsc/types.h:180
unsigned short _segno
Definition: gr-atsc/include/gnuradio/atsc/types.h:115
bool operator==(const plinfo &other) const
Definition: gr-atsc/include/gnuradio/atsc/types.h:93
static const int ATSC_MPEG_RS_ENCODED_LENGTH
Definition: consts.h:32
static const int fl_first_regular_seg
Definition: gr-atsc/include/gnuradio/atsc/types.h:128
unsigned char data[ATSC_MPEG_DATA_LENGTH+1]
Definition: gr-atsc/include/gnuradio/atsc/types.h:147
static const int ATSC_DSEGS_PER_FIELD
Definition: consts.h:34
unsigned short _flags
Definition: gr-atsc/include/gnuradio/atsc/types.h:114
void set_field_sync2()
Definition: gr-atsc/include/gnuradio/atsc/types.h:66
bool transport_error_p() const
Definition: gr-atsc/include/gnuradio/atsc/types.h:53
plinfo()
Definition: gr-atsc/include/gnuradio/atsc/types.h:38
pipeline info that flows with data
Definition: gr-atsc/include/gnuradio/atsc/types.h:36
static void sanity_check(const plinfo &in)
void set_field_sync1()
Definition: gr-atsc/include/gnuradio/atsc/types.h:60
static const int ATSC_MPEG_DATA_LENGTH
Definition: consts.h:30
static const int fl_regular_seg
Definition: gr-atsc/include/gnuradio/atsc/types.h:119
contains 832 3 bit symbols. The low 3 bits in the byte hold the symbol.
Definition: gr-atsc/include/gnuradio/atsc/types.h:197
bool operator!=(const plinfo &other) const
Definition: gr-atsc/include/gnuradio/atsc/types.h:97
plinfo pli
Definition: gr-atsc/include/gnuradio/atsc/types.h:163
void set_transport_error(bool error)
Definition: gr-atsc/include/gnuradio/atsc/types.h:85
plinfo pli
Definition: gr-atsc/include/gnuradio/atsc/types.h:200
bool field_sync_p() const
Definition: gr-atsc/include/gnuradio/atsc/types.h:44