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

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

πŸ’– NAME πŸ’–

okay bestie, so lib/include/libdvbv5/vct.h β€” this header is literally the blueprint for the TVCT and CVCT tables. that's it, that's the whole job. descriptors for those tables, no cap. πŸ’…


✨ SYNOPSIS ✨

like, include these first or nothing works, fr fr:

#include <stdint.h>
#include <unistd.h>
#include <libdvbv5/atsc_header.h>

πŸ¦‹ Data Structures πŸ¦‹

  • struct atsc_table_vct_channel β€” the ATSC VCT channel table, and the way it covers both CVCT and TVCT at once? iconic.
  • struct atsc_table_vct β€” the ATSC VCT table itself, also covering both CVCT and TVCT. yes, both. again. we love a versatile queen πŸ‘‘
  • union atsc_table_vct_descriptor_length β€” the ATSC VCT descriptor length. just a lil union doing its lil job πŸ’œ

πŸŽ€ Macros πŸŽ€

  • #define ATSC_TABLE_TVCT β€” the TVCT table ID, babe. that's the one.
  • #define ATSC_TABLE_CVCT β€” the CVCT table ID. sibling energy.
  • #define ATSC_TABLE_VCT_PID β€” the Program ID with the VCT tables riding on it 🚌
  • #define atsc_vct_channel_foreach(_channel, _vct) β€” the macro you use to go find channels on a VCT table. it's giving search bar, but make it C. πŸ”

🌸 Functions 🌸

  • ssize_t atsc_table_vct_init (struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_t buflen, struct atsc_table_vct **table) β€” initializes and parses the VCT table. the glow-up from raw bytes to actual data. ✨
  • void atsc_table_vct_free (struct atsc_table_vct *table) β€” frees all the data that the VCT table parser allocated. cleanup era, we respect it. 🧹
  • void atsc_table_vct_print (struct dvb_v5_fe_parms *parms, struct atsc_table_vct *table) β€” prints out the content of the VCT table, so you can actually see what you got. πŸ‘€

πŸ’… Detailed Description πŸ’…

so this whole thing provides the descriptors for TVCT and CVCT tables. that's the vibe. that's the mission. 🫢

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

Author

  • Mauro Carvalho Chehab
  • Andre Roth

Relevant specs the table described in here is defined at:

  • ATSC A/65:2009

See also

Bug Report pls pls pls submit bug reports and patches to linux-media@vger.kernel.org β€” they wanna hear from you, bestie 😭

Definition in file vct.h.


🌈 Author 🌈

Generated automatically by Doxygen for libdvbv5 from the source code. not me being auto-generated by a robot, i could never πŸ’€


k that's the whole page, love u, bye πŸŽ€

signing off from libdvbv5, Version 1.32.0 β€” mwah, stay parsed πŸ’–βœ¨

πŸ“¦ where this page comes from