atsc_table_mgt_table(3)
β¨ atsc_table_mgt_table β¨
okay bestie, gather round, because today we're talking about atsc_table_mgt_table from the atsc_table_mgt_table(3) page β it lives in libdvbv5, and it's literally the ATSC tables description at the MGT table. that's the whole vibe. π
πΈ NAME πΈ
atsc_table_mgt_table β ATSC tables descrition at MGT table.
(yes, "descrition". we don't fix typos in this house, we preserve them. that's canon. π«Ά)
π SYNOPSIS π
#include <mgt.h>
π Data Fields π
uint16_t type
union {
uint16_t bitfield
struct {
uint16_t pid:13
uint16_t one:3
}
};
uint8_t type_version:5
uint8_t one2:3
uint32_t size
union {
uint16_t bitfield2
struct {
uint16_t desc_length:12
uint16_t one3:4
}
};
struct dvb_desc * descriptor
struct atsc_table_mgt_table * next
π¦ Detailed Description π¦
ATSC tables descrition at MGT table.
β Parameters β
typeβ the table type, bestiepidβ the table type pidtype_versionβ type type version number (yes that's what it says, and yes it's iconic)sizeβ number of bytes for the table entrydesc_lengthβ table type descriptors lengthdescriptorβ pointer tostruct dvb_descnextβ pointer tostruct atsc_table_mgt_table
This structure is used to store the original VCT channel table, converting the integer fields to the CPU endianness. endianness conversion, she's doing the work so you don't have to π
The undocumented parameters are used only internally by the API and/or are fields that are reserved. They shouldn't be used, as they may change on future API releases. no cap β hands off the reserved ones, they are NOT your main characters. π
Everything after atsc_table_mgt_table::descriptor (including it) won't be bit-mapped * to the data parsed from the MPEG TS. So, metadata are added there. (that stray * is in the original and we are keeping it, periodt.)
Definition at line 77 of file mgt.h.
π Field Documentation π
π union { ... } atsc_table_mgt_table
π union { ... } atsc_table_mgt_table
(yeah, the anonymous unions showed up twice. we love a mysterious queen who refuses to introduce herself. π)
uint16_t atsc_table_mgt_table::bitfieldβ Definition at line 80 of filemgt.h.uint16_t atsc_table_mgt_table::bitfield2β Definition at line 90 of filemgt.h.uint16_t atsc_table_mgt_table::desc_lengthβ Definition at line 92 of filemgt.h.struct dvb_desc* atsc_table_mgt_table::descriptorβ Definition at line 96 of filemgt.h.struct atsc_table_mgt_table* atsc_table_mgt_table::nextβ Definition at line 97 of filemgt.h.uint16_t atsc_table_mgt_table::oneβ Definition at line 83 of filemgt.h.uint8_t atsc_table_mgt_table::one2β Definition at line 87 of filemgt.h.uint16_t atsc_table_mgt_table::one3β Definition at line 93 of filemgt.h.uint16_t atsc_table_mgt_table::pidβ Definition at line 82 of filemgt.h.uint32_t atsc_table_mgt_table::sizeβ Definition at line 88 of filemgt.h.uint16_t atsc_table_mgt_table::typeβ Definition at line 78 of filemgt.h.uint8_t atsc_table_mgt_table::type_versionβ Definition at line 86 of filemgt.h.
π Author π
Generated automatically by Doxygen for libdvbv5 from the source code. (so if you have beef with the wording, take it up with Doxygen, not me π§)
and that's the whole page, bestie!! you slayed it. go forth and parse your MGT tables with confidence. πβ¨
sign-off time: this lil manual came from libdvbv5, Version 1.32.0, and the footer date for atsc_table_mgt_table(3). mwah. π
π¦ where this page comes from
- fedora 43: libdvbv5-devel 1.32.0-1.fc43 Β· LGPL-2.1-or-later AND LGPL-2.1-or-later WITH Linux-syscall-note
- fedora 43: libdvbv5-devel 1.32.0-1.fc43 Β· LGPL-2.1-or-later AND LGPL-2.1-or-later WITH Linux-syscall-note
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms