lib/includ...vbv5/pat.h(3)

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

✨ 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. 🌟

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