11 #ifndef DTV_INCLUDED_ATSC_PLINFO_H
12 #define DTV_INCLUDED_ATSC_PLINFO_H
33 plinfo(uint16_t flags, int16_t segno);
42 bool field_sync1_p()
const;
43 bool field_sync2_p()
const;
44 bool field_sync_p()
const;
46 bool regular_seg_p()
const;
48 bool in_field1_p()
const;
49 bool in_field2_p()
const;
51 bool first_regular_seg_p()
const;
53 bool transport_error_p()
const;
55 unsigned int segno()
const;
56 unsigned int flags()
const;
60 void set_field_sync1();
62 void set_field_sync2();
64 void set_regular_seg(
bool field2,
int segno);
66 void set_transport_error(
bool error);
72 static void delay(
plinfo& out,
const plinfo& in,
int nsegs_of_delay);
76 static constexpr
int fl_regular_seg = 0x0001;
78 static constexpr
int fl_field_sync1 = 0x0002;
80 static constexpr
int fl_field_sync2 = 0x0004;
85 static constexpr
int fl_first_regular_seg = 0x0008;
88 static constexpr
int fl_field2 = 0x0010;
95 static constexpr
int fl_transport_error = 0x0020;
#define DTV_API
Definition: gr-dtv/include/gnuradio/dtv/api.h:18
pipeline info that flows with data
Definition: atsc_plinfo.h:29
GNU Radio logging wrapper.
Definition: basic_block.h:29