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

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

πŸ’– lib/include/libdvbv5/nit.h πŸ’–

ok so bestie, welcome to the libdvbv5 section 3 manual β€” this is the nit.h page and it's literally the header that hands you all the descriptors for the NIT MPEG-TS table. sit down, hydrate, and let's get into it 🫢


✨ NAME ✨

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

like. that's the whole vibe. descriptors. NIT. MPEG-TS. iconic.


🌸 SYNOPSIS 🌸

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

πŸŽ€ Data Structures

  • union dvb_table_nit_transport_header β€” MPEG-TS NIT transport header. the little header gremlin πŸ’…
  • struct dvb_table_nit_transport β€” MPEG-TS NIT transport table.
  • struct dvb_table_nit β€” MPEG-TS NIT table. the main character, fr fr πŸ‘‘

⭐ Macros

  • #define DVB_TABLE_NIT β€” NIT table ID.
  • #define DVB_TABLE_NIT2 β€” NIT table ID (alternative table ID). yes she has a twin, slay ✨
  • #define DVB_TABLE_NIT_PID β€” NIT Program ID.
  • #define dvb_nit_transport_foreach(_tran, _nit) β€” Macro used to find a transport inside a NIT table. loop-de-loop through those transports, no cap πŸ¦‹

🌈 Typedefs

  • typedef void nit_handler_callback_t(struct dvb_table_nit *nit, struct dvb_desc *desc, void *priv) β€” typedef for a callback used when a NIT table entry is found
  • typedef void nit_tran_handler_callback_t(struct dvb_table_nit *nit, struct dvb_table_nit_transport *tran, struct dvb_desc *desc, void *priv) β€” typedef for a callback used when a NIT transport table entry is found

πŸ’œ Functions

  • ssize_t dvb_table_nit_init (struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_t buflen, struct dvb_table_nit **table) β€” Initializes and parses NIT table. she does the reading AND the understanding, multi-talented πŸ’…
  • void dvb_table_nit_free (struct dvb_table_nit *table) β€” Frees all data allocated by the NIT table parser. clean up after yourself bestie, leave no leaks 🧚
  • void dvb_table_nit_print (struct dvb_v5_fe_parms *parms, struct dvb_table_nit *table) β€” Prints the content of the NIT table. show it off, main character energy ✨
  • void dvb_table_nit_descriptor_handler (struct dvb_v5_fe_parms *parms, struct dvb_table_nit *table, enum descriptors descriptor, nit_handler_callback_t *call_nit, nit_tran_handler_callback_t *call_tran, void *priv) β€” For each entry at NIT and NIT transport tables, call a callback. every single entry gets a lil callback moment πŸŽ€

πŸ¦‹ Detailed Description πŸ¦‹

Provides the descriptors for NIT MPEG-TS table.

ok so that's the whole point of this file. it's giving "descriptor delivery service" and honestly? obsessed.

GNU Lesser General Public License version 2.1 (LGPLv2.1)

πŸ‘‘ Author

  • Mauro Carvalho Chehab
  • Andre Roth

😭 Bug Report

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

πŸ“ Relevant specs

The table described herein is defined at:

  • ISO/IEC 13818-1
  • ETSI EN 300 468

πŸ’€ Bug Report

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

yes bestie they really do list Bug Report twice β€” I'm not editing the source of truth, I'm just delivering it. twice the bug reports, twice the love πŸ’–

🌸 Definition in file nit.h.


⭐ Author ⭐

Generated automatically by Doxygen for libdvbv5 from the source code.


and that's the whole page, bestie!! 🌈 this was generated automatically by Doxygen for libdvbv5, and we're rolling with Version 1.32.0, so go forth and parse those NIT tables β€” you got this, ily, mwah πŸ’…πŸ’–πŸ«Ά

πŸ“¦ where this page comes from