atsc_table_mgt_table(3)

πŸ“¦
version 1.32.0 Β· 2 versions
, in fedora 43

✨ 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, bestie
  • pid β€” the table type pid
  • type_version β€” type type version number (yes that's what it says, and yes it's iconic)
  • size β€” number of bytes for the table entry
  • desc_length β€” table type descriptors length
  • descriptor β€” pointer to struct dvb_desc
  • next β€” pointer to struct 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 file mgt.h.
  • uint16_t atsc_table_mgt_table::bitfield2 β€” Definition at line 90 of file mgt.h.
  • uint16_t atsc_table_mgt_table::desc_length β€” Definition at line 92 of file mgt.h.
  • struct dvb_desc* atsc_table_mgt_table::descriptor β€” Definition at line 96 of file mgt.h.
  • struct atsc_table_mgt_table* atsc_table_mgt_table::next β€” Definition at line 97 of file mgt.h.
  • uint16_t atsc_table_mgt_table::one β€” Definition at line 83 of file mgt.h.
  • uint8_t atsc_table_mgt_table::one2 β€” Definition at line 87 of file mgt.h.
  • uint16_t atsc_table_mgt_table::one3 β€” Definition at line 93 of file mgt.h.
  • uint16_t atsc_table_mgt_table::pid β€” Definition at line 82 of file mgt.h.
  • uint32_t atsc_table_mgt_table::size β€” Definition at line 88 of file mgt.h.
  • uint16_t atsc_table_mgt_table::type β€” Definition at line 78 of file mgt.h.
  • uint8_t atsc_table_mgt_table::type_version β€” Definition at line 86 of file mgt.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