libdvbv5  1.11.0
Library to work with Digital TV devices on Linux
dvb_table_eit_event Struct Reference

DVB EIT event table. More...

#include <eit.h>

Collaboration diagram for dvb_table_eit_event:

Data Fields

uint16_t event_id
 
union {
   uint16_t   bitfield1
 
   uint8_t   dvbstart [5]
 
}; 
 
uint8_t dvbduration [3]
 
union {
   uint16_t   bitfield2
 
   struct {
      uint16_t   desc_length:12
 
      uint16_t   free_CA_mode:1
 
      uint16_t   running_status:3
 
   } 
 
}; 
 
struct dvb_descdescriptor
 
struct dvb_table_eit_eventnext
 
struct tm start
 
uint32_t duration
 
uint16_t service_id
 

Detailed Description

DVB EIT event table.

Parameters
event_idan uniquelly (inside a service ID) event ID
desc_lengthdescriptor's length
free_CA_modefree CA mode. 0 indicates that the event is not scrambled
running_statusrunning status of the event. The status can be translated to string via dvb_eit_running_status_name string table.
descriptorpointer to struct dvb_desc
nextpointer to struct dvb_table_eit_event
tm_startevent start (in struct tm format)
durationduration in seconds
service_idservice ID

This structure is used to store the original 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.

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.

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

Definition at line 105 of file eit.h.

Field Documentation

union { ... }
union { ... }
uint16_t dvb_table_eit_event::bitfield1

Definition at line 108 of file eit.h.

uint16_t dvb_table_eit_event::bitfield2

Definition at line 113 of file eit.h.

uint16_t dvb_table_eit_event::desc_length

Definition at line 115 of file eit.h.

struct dvb_desc* dvb_table_eit_event::descriptor

Definition at line 120 of file eit.h.

uint32_t dvb_table_eit_event::duration

Definition at line 123 of file eit.h.

uint8_t dvb_table_eit_event::dvbduration[3]

Definition at line 111 of file eit.h.

uint8_t dvb_table_eit_event::dvbstart[5]

Definition at line 109 of file eit.h.

uint16_t dvb_table_eit_event::event_id

Definition at line 106 of file eit.h.

uint16_t dvb_table_eit_event::free_CA_mode

Definition at line 116 of file eit.h.

struct dvb_table_eit_event* dvb_table_eit_event::next

Definition at line 121 of file eit.h.

uint16_t dvb_table_eit_event::running_status

Definition at line 117 of file eit.h.

uint16_t dvb_table_eit_event::service_id

Definition at line 124 of file eit.h.

struct tm dvb_table_eit_event::start

Definition at line 122 of file eit.h.


The documentation for this struct was generated from the following file: