lib/includ...vbv5/nit.h(3)
π 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 foundtypedef 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.
π Copyright
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
- 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