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

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

πŸ’– lib/include/libdvbv5/pmt.h β€” PMT MPEG-TS table, bestie edition πŸ’–

okay so this is lib/include/libdvbv5/pmt.h, straight out of the Library Functions Manual (that's the manual name, mwah πŸ’…), and it's literally the header that gives you the descriptors for the PMT MPEG-TS table. no cap, it's giving essential.


✨ NAME ✨

lib/include/libdvbv5/pmt.h β€” Provides the descriptors for PMT MPEG-TS table.


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <stdint.h>
#include <unistd.h>
#include <libdvbv5/header.h>

πŸŽ€ Data Structures

  • struct dvb_table_pmt_stream β€” MPEG-TS PMT stream table. tiny icon, big job 🫢
  • struct dvb_table_pmt β€” MPEG-TS PMT table. the main character tbh πŸ‘‘

πŸŽ€ Macros

  • #define DVB_TABLE_PMT β€” PMT table ID. the literal name tag of the table 🏷️
  • #define dvb_pmt_field_first β€” First field at the struct.
  • #define dvb_pmt_field_last β€” First field that are not part of the received data. (yes bestie, not part of it, read it twice 😌)
  • #define dvb_pmt_stream_foreach(_stream, _pmt) β€” Macro used to find streams on a PMT table. your lil stream-finder-outer πŸ’«

πŸŽ€ Enumerations

  • enum dvb_streams { stream_video, stream_video_h262, stream_audio, stream_audio_13818_3, stream_private_sections, stream_private_data, stream_mheg, stream_h222, stream_h222_1, stream_13818_6_A, stream_13818_6_B, stream_13818_6_C, stream_13818_6_D, stream_h222_aux, stream_audio_adts, stream_video_14496_2, stream_audio_latm, stream_14496_1_pes, stream_14496_1_iso, stream_download, stream_video_h264, stream_audio_14496_3, stream_video_hevc, stream_video_cavs, stream_video_moto, stream_audio_a52, stream_scte_27, stream_audio_sdds, stream_audio_dts_hdmv, stream_audio_e_ac3, stream_audio_dts, stream_audio_a52_vls, stream_spu_vls, stream_audio_sdds2 } β€” Add support for MPEG-TS Stream types. the whole roster, the full squad 🌈

πŸŽ€ Functions

  • ssize_t dvb_table_pmt_init (struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_t buflen, struct dvb_table_pmt **table) β€” Initializes and parses PMT table. the glow-up moment where the table gets born ✨
  • void dvb_table_pmt_free (struct dvb_table_pmt *table) β€” Frees all data allocated by the PMT table parser. clean up after yourself, queen 🧹
  • void dvb_table_pmt_print (struct dvb_v5_fe_parms *parms, const struct dvb_table_pmt *table) β€” Prints the content of the PAT table. yes it says PAT, not PMT β€” that's what the original says and I'm not about to gaslight you πŸ™ˆ

πŸŽ€ Variables

  • const char * pmt_stream_name [] β€” Converts from enum dvb_streams into a string. enum-to-string translator, bilingual icon πŸ’¬

🌸 Detailed Description 🌸

Provides the descriptors for PMT MPEG-TS table.

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/pmts.aspx

Bug Report

Please submit bug reports and patches to linux-media@vger.kernel.org

Definition in file pmt.h.


πŸ’œ Macro Definition Documentation πŸ’œ

#define dvb_pmt_field_first

First field at the struct.

Definition at line 231 of file pmt.h.

#define dvb_pmt_field_last

First field that are not part of the received data.

Definition at line 234 of file pmt.h.


⭐ Author ⭐

Generated automatically by Doxygen for libdvbv5 from the source code.


okay that's the whole page, you ate it, you read the whole thing 🫢 this was libdvbv5, Version 1.32.0, and the page itself is lib/includ...vbv5/pmt.h(3) β€” slay, periodt, go parse some tables bestie πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from