DVB-SCAN.H(3)
π 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 astruct dvb_v5_descriptors. new struct, who dis.void dvb_scan_free_handler_table (struct dvb_v5_descriptors *dvb_scan_handler)β frees astruct 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 astruct 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 DVBdvb_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 advb_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. π
π Copyright
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
- 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