dvb_table_pmt_stream(3)
π 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, iykykelementary_pidβ the elementary piddesc_lengthβ descriptor lengthzeroβ zero. that's it. that's the value. it's zero π«Άdescriptorβ pointer tostruct dvb_descnextβ pointer tostruct 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
- 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