Home
last modified time | relevance | path

Searched refs:ts_section_header (Results 1 – 13 of 13) sorted by relevance

/dports/net/mptsd/mptsd-1.1/libtsfuncs/
H A Dsections.c20 void ts_section_header_set_private_vars(struct ts_section_header *ts_section_header) { in ts_section_header_set_private_vars() argument
22ts_section_header->data = ts_section_header->section_data + 3 + 5; // Skip header and extend… in ts_section_header_set_private_vars()
23ts_section_header->data_len = ts_section_header->section_length - 9; // 5 for extended header, 4 … in ts_section_header_set_private_vars()
25 ts_section_header->data = ts_section_header->section_data + 3; // Skip header in ts_section_header_set_private_vars()
26 ts_section_header->data_len = ts_section_header->section_length; in ts_section_header_set_private_vars()
28ts_section_header->section_data_len = ts_section_header->section_length + 3; // 3 for section head… in ts_section_header_set_private_vars()
36 ts_section_header->pointer_field = data[0]; in ts_section_header_parse()
47 if (ts_section_header->section_length == 0) in ts_section_header_parse()
51 if (ts_section_header->table_id == 0x72) in ts_section_header_parse()
72 void ts_section_header_generate(uint8_t *ts_packet, struct ts_section_header *ts_section_header, ui… in ts_section_header_generate() argument
[all …]
H A Dsecdata.c30 struct ts_section_header *ts_section_data_alloc() { in ts_section_data_alloc()
31 struct ts_section_header *section_data = calloc(1, sizeof(struct ts_section_header)); in ts_section_data_alloc()
37 void ts_section_data_clear(struct ts_section_header *sec) { in ts_section_data_clear()
46 memset(sec, 0, sizeof(struct ts_section_header)); in ts_section_data_clear()
52 void ts_section_data_free(struct ts_section_header **psection_data) { in ts_section_data_free()
53 struct ts_section_header *section_data = *psection_data; in ts_section_data_free()
61 void ts_section_data_copy(struct ts_section_header *src, struct ts_section_header *dst) { in ts_section_data_copy()
137 void ts_section_add_packet(struct ts_section_header *sec, struct ts_header *ts_header, uint8_t *ts_… in ts_section_add_packet()
H A Dtsfuncs.h116 …se (uint8_t *ts_packet, struct ts_header *ts_header, struct ts_section_header *ts_section_header);
117 … ts_section_header_generate (uint8_t *ts_packet, struct ts_section_header *ts_section_header, ui…
118 void ts_section_header_dump (struct ts_section_header *t);
119 void ts_section_dump (struct ts_section_header *sec);
120 void ts_section_header_set_private_vars (struct ts_section_header *ts_section_header);
122 int ts_section_is_same(struct ts_section_header *s1, struct ts_section_header *s2);
127 struct ts_section_header * ts_section_data_alloc (void);
128 void ts_section_data_clear (struct ts_section_header *sec);
129 void ts_section_data_free (struct ts_section_header **ts_section_header);
131 void ts_section_data_copy (struct ts_section_header *src, struct ts_section_header *dst);
[all …]
H A Dtsdata.h42 struct ts_section_header { struct
85 struct ts_section_header *section_header; argument
109 struct ts_section_header *section_header;
132 struct ts_section_header *section_header;
166 struct ts_section_header *section_header;
193 struct ts_section_header *section_header;
227 struct ts_section_header *section_header;
244 struct ts_section_header *section_header;
263 struct ts_section_header *section_header;
H A Dprivsec.c27 struct ts_section_header *section_header = privsec->section_header; in ts_privsec_clear()
64 struct ts_section_header section_header; in ts_privsec_push_packet()
65 memset(&section_header, 0, sizeof(struct ts_section_header)); in ts_privsec_push_packet()
96 struct ts_section_header *sec = privsec->section_header; in ts_privsec_dump()
H A Dtdt.c27 struct ts_section_header *section_header = tdt->section_header; in ts_tdt_clear()
62 struct ts_section_header section_header; in ts_tdt_push_packet()
63 memset(&section_header, 0, sizeof(struct ts_section_header)); in ts_tdt_push_packet()
98 struct ts_section_header *sec = tdt->section_header; in ts_tdt_parse()
205 struct ts_section_header *sec = tdt->section_header; in ts_tdt_dump()
H A Dcrc.c49 uint32_t ts_crc32_section(struct ts_section_header *section_header) { in ts_crc32_section()
53 int ts_crc32_section_check(struct ts_section_header *section_header, char *table) { in ts_crc32_section_check()
H A Dpat.c37 struct ts_section_header *section_header = pat->section_header; in ts_pat_clear()
77 struct ts_section_header section_header; in ts_pat_push_packet()
78 memset(&section_header, 0, sizeof(struct ts_section_header)); in ts_pat_push_packet()
209 struct ts_section_header *sec = pat->section_header; in ts_pat_dump()
H A Dsdt.c38 struct ts_section_header *section_header = sdt->section_header; in ts_sdt_clear()
78 struct ts_section_header section_header; in ts_sdt_push_packet()
79 memset(&section_header, 0, sizeof(struct ts_section_header)); in ts_sdt_push_packet()
238 struct ts_section_header *sec = sdt->section_header; in ts_sdt_dump()
H A Dnit.c38 struct ts_section_header *section_header = nit->section_header; in ts_nit_clear()
80 struct ts_section_header section_header; in ts_nit_push_packet()
81 memset(&section_header, 0, sizeof(struct ts_section_header)); in ts_nit_push_packet()
262 struct ts_section_header *sec = nit->section_header; in ts_nit_dump()
H A Dcat.c26 struct ts_section_header *section_header = cat->section_header; in ts_cat_clear()
58 struct ts_section_header section_header; in ts_cat_push_packet()
59 memset(&section_header, 0, sizeof(struct ts_section_header)); in ts_cat_push_packet()
171 struct ts_section_header *sec = cat->section_header; in ts_cat_dump()
H A Dpmt.c38 struct ts_section_header *section_header = pmt->section_header; in ts_pmt_clear()
78 struct ts_section_header section_header; in ts_pmt_push_packet()
79 memset(&section_header, 0, sizeof(struct ts_section_header)); in ts_pmt_push_packet()
260 struct ts_section_header *sec = pmt->section_header; in ts_pmt_dump()
H A Deit.c38 struct ts_section_header *section_header = eit->section_header; in ts_eit_clear()
78 struct ts_section_header section_header; in ts_eit_push_packet()
79 memset(&section_header, 0, sizeof(struct ts_section_header)); in ts_eit_push_packet()
270 struct ts_section_header *sect = eit->section_header; in ts_eit_dump()