DVB-SCAN.H(3)

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

πŸ’– NAME πŸ’–

okay so bestie, <pink>dvb-scan.h</pink> is literally the header that hands you the interfaces to scan programs inside MPEG-TS digital TV streams. no cap, that's the whole vibe. πŸ¦‹


✨ SYNOPSIS ✨

first things first, you gotta pull in the squad:

#include <stdint.h>
#include <linux/dvb/dmx.h>
#include <libdvbv5/descriptors.h>
#include <libdvbv5/dvb-sat.h>

πŸŽ€ Data Structures

  • struct dvb_v5_descriptors_program β€” the matchmaker that associates PMT with PAT tables. it's giving wingman energy.
  • struct dvb_v5_descriptors β€” contains the descriptors you need to scan the Service ID and all the other relevant info floating around in a MPEG-TS Digital TV stream. main character struct fr fr.
  • struct dvb_table_filter β€” describes the PES filters that DVB scan uses. the bouncer at the club, checking who gets in. πŸ’…

🌸 Macros

#define MAX_TABLE_SIZE

πŸ¦‹ Typedefs

  • typedef int check_frontend_t(void *args, struct dvb_v5_fe_parms *parms) β€” a callback for your app to show the frontend status. like a little check-in text, but for your frontend. 🫢

πŸ”₯ Functions

  • void dvb_table_filter_free (struct dvb_table_filter *sect) β€” deallocates all data associated with a table filter. bye bestie, clean up after yourself. ✨
  • int dvb_read_section (struct dvb_v5_fe_parms *parms, int dmx_fd, unsigned char tid, uint16_t pid, void **table, unsigned timeout) β€” read MPEG-TS tables that comes from a DTV card. the classic.
  • int dvb_read_section_with_id (struct dvb_v5_fe_parms *parms, int dmx_fd, unsigned char tid, uint16_t pid, int ts_id, void **table, unsigned timeout) β€” same thing but with an specific table section ID. it's giving "I know exactly who I'm looking for". πŸ‘‘
  • int dvb_read_sections (struct dvb_v5_fe_parms *parms, int dmx_fd, struct dvb_table_filter *sect, unsigned timeout) β€” read MPEG-TS tables that comes from a DTV card (plural version, yes it's a different function, don't @ me, the source said so).
  • struct dvb_v5_descriptors * dvb_scan_alloc_handler_table (uint32_t delivery_system) β€” allocates a struct dvb_v5_descriptors. new struct, who dis.
  • void dvb_scan_free_handler_table (struct dvb_v5_descriptors *dvb_scan_handler) β€” frees a struct dvb_v5_descriptors. releasing it back to the universe. 🌈
  • struct dvb_v5_descriptors * dvb_get_ts_tables (struct dvb_v5_fe_parms *parms, int dmx_fd, uint32_t delivery_system, unsigned other_nit, unsigned timeout_multiply) β€” scans a DVB stream, looking for the tables needed to identify the programs inside a MPEG-TS. the detective arc. πŸ”
  • void dvb_free_ts_tables (struct dvb_v5_descriptors *dvb_desc) β€” frees a struct dvb_v5_descriptors. yes, again. there's two of them. iconic.
  • struct dvb_v5_descriptors * dvb_scan_transponder (struct dvb_v5_fe_parms *parms, struct dvb_entry *entry, int dmx_fd, check_frontend_t *check_frontend, void *args, unsigned other_nit, unsigned timeout_multiply) β€” scans a DVB dvb_add_scaned_transponder. going out into the wild to find transponders. πŸ¦‹
  • void dvb_add_scaned_transponders (struct dvb_v5_fe_parms *parms, struct dvb_v5_descriptors *dvb_scan_handler, struct dvb_entry *first_entry, struct dvb_entry *entry) β€” add new transponders to a dvb_file. adding them to the group chat, essentially. πŸ’Œ

🌸 Detailed Description 🌸

so like, the whole point: provides interfaces to scan programs inside MPEG-TS digital TV streams. that's the tea. πŸ“

GNU Lesser General Public License version 2.1 (LGPLv2.1). read it, respect it, periodt.

πŸ’œ Author

Mauro Carvalho Chehab β€” the icon who wrote this. πŸ‘‘

πŸ’œ Bug Report

found a bug? bestie, please submit bug reports and patches to linux-media@vger.kernel.org. don't suffer in silence, we don't gatekeep. 🫢

Definition in file dvb-scan.h.


πŸŽ€ Macro Definition Documentation πŸŽ€

#define MAX_TABLE_SIZE

lowkey the most mysterious macro in the building β€” no value shown, just vibes. Definition at line 39 of file dvb-scan.h. πŸ’…

🌈 Author 🌈

Generated automatically by Doxygen for libdvbv5 from the source code. yes, a robot wrote the original. slay, honestly. πŸ€–βœ¨


aww okay that's the whole page bestie!! and before you go β€” the fine print at the bottom said this is libdvbv5, Version 1.32.0, and it's page lib/includ.../dvb-scan.h(3) in the Library Functions Manual. take care of her, she's iconic. πŸ’–πŸŽ€πŸ¦‹
πŸ“¦ where this page comes from