lib/includ...vbv5/pat.h(3)
β¨ lib/include/libdvbv5/pat.h π (that's the page, bestie β it lives in the libdvbv5 Library Functions Manual, section 3, and it's ALL about the PAT table)
okay so real talk, this little header file is the blueprint for the PAT MPEG-TS table β the descriptors, the structs, the whole vibe. it's giving "I know exactly what programs are in this transport stream and I'm not shy about it." periodt. π
πΈ NAME πΈ
lib/include/libdvbv5/pat.h β provides the descriptors for the PAT MPEG-TS table. that's it, that's the whole job, and she does it flawlessly. π
β¨ SYNOPSIS β¨
#include <stdint.h>
#include <unistd.h>
#include <libdvbv5/header.h>
π¦ Data Structures
struct dvb_table_pat_programβ the MPEG-TS PAT program table, one lil program entry doing her thing πstruct dvb_table_patβ the MPEG-TS PAT table itself, the main character π
π§ Macros
#define DVB_TABLE_PATβ the PAT table ID π#define DVB_TABLE_PAT_PIDβ the PAT Program ID π’#define dvb_pat_program_foreach(_pgm, _pat)β the macro you use to go find the programs chillin' inside a PAT table. lowkey the handiest one here. π
π Functions
ssize_t dvb_table_pat_init (struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_t buflen, struct dvb_table_pat **table)β initializes AND parses the PAT table, she does both, no cap β¨void dvb_table_pat_free (struct dvb_table_pat *table)β frees every single byte the PAT table parser allocated. clean up after yourself, bestie π§Ήvoid dvb_table_pat_print (struct dvb_v5_fe_parms *parms, struct dvb_table_pat *table)β prints out what's in the PAT table, so you can actually see it π¨οΈ
π Detailed Description π
Provides the descriptors for the PAT MPEG-TS table. she's the source of truth for this whole table format, iykyk. π
π«Ά Copyright
GNU Lesser General Public License version 2.1 (LGPLv2.1)
π Author
- Mauro Carvalho Chehab
- Andre Roth
π Relevant specs
the table described herein is defined at:
- ISO/IEC 13818-1
π See also
http://www.etherguidesystems.com/help/sdos/mpeg/syntax/tablesections/pat.aspx
π Bug Report
please submit bug reports and patches to linux-media@vger.kernel.org β they want your patches, fr fr, don't be shy π
Definition in file pat.h.
π Author (yes, again, it's a whole section)
Generated automatically by Doxygen for libdvbv5 from the source code. the robot wrote this one, but she ate. π€π
and that's the whole page, bestie!! πβ¨ this came from libdvbv5, version 1.32.0, and the page itself is lib/include/libdvbv5/pat.h(3) β slay, go read your PAT tables responsibly π¦πΈπ
π¦ 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