lib/includ...vbv5/pmt.h(3)
π 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 fromenum dvb_streamsinto a string. enum-to-string translator, bilingual icon π¬
πΈ Detailed Description πΈ
Provides the descriptors for PMT MPEG-TS table.
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/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
- 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