Searched refs:ts_section_header (Results 1 – 13 of 13) sorted by relevance
/dports/net/mptsd/mptsd-1.1/libtsfuncs/ |
H A D | sections.c | 20 void ts_section_header_set_private_vars(struct ts_section_header *ts_section_header) { in ts_section_header_set_private_vars() argument 22 …ts_section_header->data = ts_section_header->section_data + 3 + 5; // Skip header and extend… in ts_section_header_set_private_vars() 23 …ts_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() 28 …ts_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 D | secdata.c | 30 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 D | tsfuncs.h | 116 …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 D | tsdata.h | 42 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 D | privsec.c | 27 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(§ion_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 D | tdt.c | 27 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(§ion_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 D | crc.c | 49 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 D | pat.c | 37 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(§ion_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 D | sdt.c | 38 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(§ion_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 D | nit.c | 38 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(§ion_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 D | cat.c | 26 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(§ion_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 D | pmt.c | 38 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(§ion_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 D | eit.c | 38 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(§ion_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()
|