MPEG_PES.H(3)

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

πŸ’– NAME πŸ’–

okay so bestie, welcome to the lib/include/libdvbv5/mpeg_pes.h page from the Library Functions Manual, and it does exactly one thing but she does it flawlessly: she provides the table parser for the MPEG-PES Elementary Stream. that's the whole assignment. slay. ✨


🌸 SYNOPSIS 🌸

to even be in the room, you gotta include these first, no skipping:

#include <stdint.h>
#include <unistd.h>

πŸŽ€ Data Structures

  • struct ts_t β€” the MPEG PES timestamp structure, used for dts and pts. it's giving clock management, lowkey essential ⏰
  • struct dvb_mpeg_pes_optional β€” the MPEG PES optional header. optional by name, iconic by nature πŸ’…
  • struct dvb_mpeg_pes β€” the MPEG PES data structure. the main character of this entire file, fr fr πŸ‘‘

🌈 Macros

  • #define DVB_MPEG_PES β€” MPEG Packetized Elementary Stream magic ✨
  • #define DVB_MPEG_PES_AUDIO β€” PES Audio 🎧
  • #define DVB_MPEG_PES_VIDEO β€” PES Video πŸ“Ή
  • #define DVB_MPEG_STREAM_MAP β€” PES Stream map πŸ—ΊοΈ
  • #define DVB_MPEG_STREAM_PADDING β€” PES padding 🫧
  • #define DVB_MPEG_STREAM_PRIVATE_2 β€” PES private 🀫
  • #define DVB_MPEG_STREAM_ECM β€” PES ECM Stream πŸ”
  • #define DVB_MPEG_STREAM_EMM β€” PES EMM Stream πŸ”‘
  • #define DVB_MPEG_STREAM_DIRECTORY β€” PES Stream directory πŸ“‚
  • #define DVB_MPEG_STREAM_DSMCC β€” PES DSMCC πŸ“‘
  • #define DVB_MPEG_STREAM_H222E β€” PES H.222.1 type E 🌟

πŸ¦‹ Functions

  • ssize_t dvb_mpeg_pes_init (struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_t buflen, uint8_t *table) β€” Initialize a struct dvb_mpeg_pes from buffer. the glow-up from raw bytes to real struct, we love to see it 🫢
  • void dvb_mpeg_pes_free (struct dvb_mpeg_pes *pes) β€” Deallocate memory associated with a struct dvb_mpeg_pes. clean up after yourself bestie, no leaks 🧹
  • void dvb_mpeg_pes_print (struct dvb_v5_fe_parms *parms, struct dvb_mpeg_pes *pes) β€” Print details of struct dvb_mpeg_pes. show the world what you parsed πŸ–¨οΈ

πŸ¦‹ Detailed Description πŸ¦‹

Provides the table parser for the MPEG-PES Elementary Stream.

GNU Lesser General Public License version 2.1 (LGPLv2.1). read it, respect it, it's the law bestie πŸ’œ

✍️ Author

Andre Roth

πŸ“š Relevant specs

The table described herein is defined in ISO 13818-1

πŸ‘€ See also

http://dvd.sourceforge.net/dvdinfo/pes-hdr.html

πŸ› Bug Report

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

not me asking you to actually file the bug instead of just complaining in the group chat 😭 do it, the maintainers are nice

Definition in file mpeg_pes.h.


πŸ’« Author πŸ’«

Generated automatically by Doxygen for libdvbv5 from the source code.


and that's the whole page, bestie πŸŽ€ this was libdvbv5, Version 1.32.0, lib/includ.../mpeg_pes.h(3) β€” go forth, parse those elementary streams, and remember: the vibe is immaculate but the facts are untouched. periodt πŸ’…πŸŒΈ

πŸ“¦ where this page comes from