atsc_table_eit_event(3)

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

✨ NAME ✨

atsc_table_eit_event β€” the ATSC EIT event table, and no this isn't a random struct, it's the struct. Also hi, you're reading the Library Functions Manual, section 3, and we're gonna get through this together 🫢


🌸 SYNOPSIS 🌸

#include <atsc_eit.h>

πŸ’… Data Fields

union {
   uint16_t bitfield
   struct {
      uint16_t event_id:14
      uint16_t one:2
   }
};
uint32_t start_time
union {
   uint32_t bitfield2
   struct {
      uint32_t title_length:8
      uint32_t duration:20
      uint32_t etm:2
      uint32_t one2:2
      uint32_t :2
   }
};
struct dvb_desc * descriptor
struct atsc_table_eit_event * next
struct tm start
uint16_t source_id

πŸ¦‹ Detailed Description πŸ¦‹

ATSC EIT event table. That's the whole vibe, bestie β€” this is the struct that holds one EIT event. πŸ’–

πŸŽ€ Parameters

  • event_id β€” an uniquelly (inside a service ID) event ID ✨
  • title_length β€” title length. Zero means no title (so like, no title at all, we respect it)
  • duration β€” duration in seconds ⏱️
  • etm β€” Extended Text Message location
  • descriptor β€” pointer to struct dvb_desc
  • next β€” pointer to struct atsc_table_eit_event
  • start β€” event start (in struct tm format) πŸ“…
  • source_id β€” source id (obtained from ATSC header)

This structure is used to store the original ATSC EIT event table, converting the integer fields to the CPU endianness, and converting the timestamps to a way that it is better handled on Linux. Periodt. That's literally its whole job. πŸ”₯

⚠️ The undocumented parameters are used only internally by the API and/or are fields that are reserved. They shouldn't be used, as they may change on future API releases. Like fr fr, don't touch them, they're not yours 😭

Everything after atsc_table_eit_event::descriptor (including it) won't be bit-mapped to the data parsed from the MPEG TS. So, metadata are added there. Got it? Metadata lives there. 🏠

Definition at line 81 of file atsc_eit.h.


πŸ‘‘ Field Documentation πŸ‘‘

πŸ’œ union { ... } atsc_table_eit_event

πŸ’œ union { ... } atsc_table_eit_event

(Yes bestie, it says it twice. We don't make the rules, we just report them. πŸ’€)

🌈 uint32_t atsc_table_eit_event::__pad0__

Definition at line 97 of file atsc_eit.h.

🌈 uint16_t atsc_table_eit_event::bitfield

Definition at line 83 of file atsc_eit.h.

🌈 uint32_t atsc_table_eit_event::bitfield2

Definition at line 91 of file atsc_eit.h.

🌈 struct dvb_desc* atsc_table_eit_event::descriptor

Definition at line 100 of file atsc_eit.h.

🌈 uint32_t atsc_table_eit_event::duration

Definition at line 94 of file atsc_eit.h.

🌈 uint32_t atsc_table_eit_event::etm

Definition at line 95 of file atsc_eit.h.

🌈 uint16_t atsc_table_eit_event::event_id

Definition at line 85 of file atsc_eit.h.

🌈 struct atsc_table_eit_event* atsc_table_eit_event::next

Definition at line 101 of file atsc_eit.h.

🌈 uint16_t atsc_table_eit_event::one

Definition at line 86 of file atsc_eit.h.

🌈 uint32_t atsc_table_eit_event::one2

Definition at line 96 of file atsc_eit.h.

🌈 uint16_t atsc_table_eit_event::source_id

Definition at line 103 of file atsc_eit.h.

🌈 struct tm atsc_table_eit_event::start

Definition at line 102 of file atsc_eit.h.

🌈 uint32_t atsc_table_eit_event::start_time

Definition at line 89 of file atsc_eit.h.

🌈 uint32_t atsc_table_eit_event::title_length

Definition at line 93 of file atsc_eit.h.


🧚 Author 🧚

Generated automatically by Doxygen for libdvbv5 from the source code. Slay, Doxygen did that. πŸ€–βœ¨


Okay that's the whole page, you ate it. πŸ’… This was libdvbv5, Version 1.32.0, atsc_table_eit_event(3) β€” go forth and parse some tables, main character. πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from