aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libucsi/dvb/section.h
blob: 8488d71fa2a1f16180e98aeb2c774b23c981f9a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26pre { line-height: 125%; margin: 0; }
td.linenos pre { color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px; }
span.linenos { color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px; }
td.linenos pre.special { color: #000000; background-color: #ffffc0; padding: 0 5px 0 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding: 0 5px 0 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #333333 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #666666 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */
.highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.highlight .na { color: #336699 } /* Name.Attribute */
.highlight .nb { color: #003388 } /* Name.Builtin */
.highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */
.highlight .no { color: #003366; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #555555 } /* Name.Decorator */
.highlight .ne { color: #bb0066
/*
 * section and descriptor parser
 *
 * Copyright (C) 2005 Kenneth Aafloy (kenneth@linuxtv.org)
 * Copyright (C) 2005 Andrew de Quincey (adq_dvb@lidskialf.net)
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 */

#ifndef _UCSI_DVB_SECTION_H
#define _UCSI_DVB_SECTION_H 1

#ifdef __cplusplus
extern "C"
{
#endif

#include <libucsi/dvb/bat_section.h>
#include <libucsi/dvb/dit_section.h>
#include <libucsi/dvb/eit_section.h>
#include <libucsi/dvb/nit_section.h>
#include <libucsi/dvb/rst_section.h>
#include <libucsi/dvb/sdt_section.h>
#include <libucsi/dvb/sit_section.h>
#include <libucsi/dvb/st_section.h>
#include <libucsi/dvb/tdt_section.h>
#include <libucsi/dvb/tot_section.h>
#include <libucsi/dvb/tva_container_section.h>
#include <libucsi/dvb/int_section.h>

/**
 * The following are not implemented just now.
 */
/*
#include <libucsi/dvb/tva_related_content_section.h>
#include <libucsi/dvb/tva_content_identifier_section.h>
#include <libucsi/dvb/tva_resolution_provider_notification_section.h>
#include <libucsi/dvb/ait_section.h>
#include <libucsi/dvb/cit_section.h>
#include <libucsi/dvb/rct_section.h>
#include <libucsi/dvb/rnt_section.h>
*/

#define TRANSPORT_NIT_PID 0x10
#define TRANSPORT_SDT_PID 0x11
#define TRANSPORT_BAT_PID 0x11
#define TRANSPORT_EIT_PID 0x12
#define TRANSPORT_CIT_PID 0x12
#define TRANSPORT_RST_PID 0x13
#define TRANSPORT_TDT_PID 0x14
#define TRANSPORT_TOT_PID 0x14
#define TRANSPORT_RNT_PID 0x16
#define TRANSPORT_DIT_PID 0x1e
#define TRANSPORT_SIT_PID 0x1f

/**
 * Enumeration of DVB section tags.
 */
enum dvb_section_tag {
	stag_dvb_network_information_actual			= 0x40,
	stag_dvb_network_information_other			= 0x41,

	stag_dvb_service_description_actual			= 0x42,
	stag_dvb_service_description_other			= 0x46,

	stag_dvb_bouquet_association				= 0x4a,
	stag_dvb_update_notification				= 0x4b, /* same syntax as IP_MAC */
	stag_dvb_ip_mac_notification				= 0x4c,

	stag_dvb_event_information_nownext_actual		= 0x4e,
	stag_dvb_event_information_nownext_other		= 0x4f,
	stag_dvb_event_information_schedule_actual		= 0x50, /* 0x50->0x5f */
	stag_dvb_event_information_schedule_other		= 0x60, /* 0x60->0x6f */

	stag_dvb_time_date					= 0x70,
	stag_dvb_running_status					= 0x71,
	stag_dvb_stuffing					= 0x72,
	stag_dvb_time_offset					= 0x73,
	stag_dvb_application_information			= 0x74,
	stag_dvb_tva_container					= 0x75,
	stag_dvb_tva_related_content				= 0x76,
	stag_dvb_tva_content_identifier				= 0x77,
	stag_dvb_mpe_fec					= 0x78,
	stag_dvb_tva_resolution_provider_notification		= 0x79,

	stag_dvb_discontinuity_information			= 0x7e,
	stag_dvb_selection_information				= 0x7f,

};

#ifdef __cplusplus
}
#endif

#endif