dvb_table_pmt_stream(3)

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

πŸ’– dvb_table_pmt_stream β€” NAME ✨

ok so bestie, welcome to dvb_table_pmt_stream(3), a manual page from the Library Functions Manual, and it's literally all about the MPEG-TS PMT stream table. yes we're doing struct lore today, grab a strawberry πŸ“


🌸 SYNOPSIS 🌸

first things first, you gotta pull in the header:

#include <pmt.h>

πŸŽ€ Data Fields

here's the whole cast, no skips, everyone shows up:

uint8_t type
union {
   uint16_t bitfield
   struct {
      uint16_t elementary_pid:13
      uint16_t reserved:3
   }
};
union {
   uint16_t bitfield2
   struct {
      uint16_t desc_length:10
      uint16_t zero:2
      uint16_t reserved2:4
   }
};
struct dvb_desc * descriptor
struct dvb_table_pmt_stream * next

πŸ’« Detailed Description πŸ’«

bestie it's the MPEG-TS PMT stream table. that's the vibe. that's the whole thing. πŸ’…

✨ Parameters

  • type β€” the stream type, iykyk
  • elementary_pid β€” the elementary pid
  • desc_length β€” descriptor length
  • zero β€” zero. that's it. that's the value. it's zero 🫢
  • descriptor β€” pointer to struct dvb_desc
  • next β€” pointer to struct dvb_table_pmt_stream

this structure is used to store the original PMT stream table, and it's doing the little endianness glow-up by converting the integer fields to the CPU endianness. slay ✨

now, about the undocumented parameters β€” they're used only internally by the API and/or they're fields that are reserved. do NOT touch them, okay? they shouldn't be used, because they may change on future API releases. it's giving "do not perceive me" energy πŸ™ˆ

and listen, everything after dvb_table_pmt_stream::descriptor (including it) won't be bit-mapped to the data parsed from the MPEG TS. so, metadata are added there. periodt.

Definition at line 166 of file pmt.h.

πŸ¦‹ Field Documentation πŸ¦‹

okay now the field-by-field breakdown, main character by main character:

🌈 union { ... } dvb_table_pmt_stream

the first anonymous union. she's here, she's union-ing.

🌈 union { ... } dvb_table_pmt_stream

and the second one, same name, different union. iconic of her honestly.

πŸ’œ uint16_t dvb_table_pmt_stream::bitfield

Definition at line 169 of file pmt.h.

πŸ’œ uint16_t dvb_table_pmt_stream::bitfield2

Definition at line 176 of file pmt.h.

πŸ’œ uint16_t dvb_table_pmt_stream::desc_length

Definition at line 178 of file pmt.h.

πŸ’œ struct dvb_desc* dvb_table_pmt_stream::descriptor

Definition at line 183 of file pmt.h.

πŸ’œ uint16_t dvb_table_pmt_stream::elementary_pid

Definition at line 171 of file pmt.h.

πŸ’œ struct dvb_table_pmt_stream* dvb_table_pmt_stream::next

Definition at line 184 of file pmt.h.

πŸ’œ uint16_t dvb_table_pmt_stream::reserved

Definition at line 172 of file pmt.h.

πŸ’œ uint16_t dvb_table_pmt_stream::reserved2

Definition at line 180 of file pmt.h.

πŸ’œ uint8_t dvb_table_pmt_stream::type

Definition at line 167 of file pmt.h.

πŸ’œ uint16_t dvb_table_pmt_stream::zero

Definition at line 179 of file pmt.h.

🌟 Author 🌟

Generated automatically by Doxygen for libdvbv5 from the source code. not me getting emotional over an auto-generated author block 😭


and that's the whole page bestie!! this was dvb_table_pmt_stream(3) from libdvbv5, Version 1.32.0 β€” she ate, no crumbs, and honestly the struct said what it said πŸ’…βœ¨ πŸ¦‹πŸ’–

πŸ“¦ where this page comes from