section.h 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. /*
  2. * section and descriptor parser
  3. *
  4. * Copyright (C) 2005 Kenneth Aafloy (kenneth@linuxtv.org)
  5. * Copyright (C) 2005 Andrew de Quincey (adq_dvb@lidskialf.net)
  6. *
  7. * This library is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU Lesser General Public
  9. * License as published by the Free Software Foundation; either
  10. * version 2.1 of the License, or (at your option) any later version.
  11. *
  12. * This library is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * Lesser General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU Lesser General Public
  18. * License along with this library; if not, write to the Free Software
  19. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
  20. */
  21. #ifndef _UCSI_DVB_SECTION_H
  22. #define _UCSI_DVB_SECTION_H 1
  23. #ifdef __cplusplus
  24. extern "C"
  25. {
  26. #endif
  27. #include <libucsi/dvb/bat_section.h>
  28. #include <libucsi/dvb/dit_section.h>
  29. #include <libucsi/dvb/eit_section.h>
  30. #include <libucsi/dvb/nit_section.h>
  31. #include <libucsi/dvb/rst_section.h>
  32. #include <libucsi/dvb/sdt_section.h>
  33. #include <libucsi/dvb/sit_section.h>
  34. #include <libucsi/dvb/st_section.h>
  35. #include <libucsi/dvb/tdt_section.h>
  36. #include <libucsi/dvb/tot_section.h>
  37. #include <libucsi/dvb/tva_container_section.h>
  38. #include <libucsi/dvb/int_section.h>
  39. #include <libucsi/dvb/mpe_fec_section.h>
  40. /**
  41. * The following are not implemented just now.
  42. */
  43. /*
  44. #include <libucsi/dvb/tva_related_content_section.h>
  45. #include <libucsi/dvb/tva_content_identifier_section.h>
  46. #include <libucsi/dvb/tva_resolution_provider_notification_section.h>
  47. #include <libucsi/dvb/ait_section.h>
  48. #include <libucsi/dvb/cit_section.h>
  49. #include <libucsi/dvb/rct_section.h>
  50. #include <libucsi/dvb/rnt_section.h>
  51. */
  52. #define TRANSPORT_NIT_PID 0x10
  53. #define TRANSPORT_SDT_PID 0x11
  54. #define TRANSPORT_BAT_PID 0x11
  55. #define TRANSPORT_EIT_PID 0x12
  56. #define TRANSPORT_CIT_PID 0x12
  57. #define TRANSPORT_RST_PID 0x13
  58. #define TRANSPORT_TDT_PID 0x14
  59. #define TRANSPORT_TOT_PID 0x14
  60. #define TRANSPORT_RNT_PID 0x16
  61. #define TRANSPORT_DIT_PID 0x1e
  62. #define TRANSPORT_SIT_PID 0x1f
  63. /**
  64. * Enumeration of DVB section tags.
  65. */
  66. enum dvb_section_tag {
  67. stag_dvb_network_information_actual = 0x40,
  68. stag_dvb_network_information_other = 0x41,
  69. stag_dvb_service_description_actual = 0x42,
  70. stag_dvb_service_description_other = 0x46,
  71. stag_dvb_bouquet_association = 0x4a,
  72. stag_dvb_update_notification = 0x4b, /* same syntax as IP_MAC */
  73. stag_dvb_ip_mac_notification = 0x4c,
  74. stag_dvb_event_information_nownext_actual = 0x4e,
  75. stag_dvb_event_information_nownext_other = 0x4f,
  76. stag_dvb_event_information_schedule_actual = 0x50, /* 0x50->0x5f */
  77. stag_dvb_event_information_schedule_other = 0x60, /* 0x60->0x6f */
  78. stag_dvb_time_date = 0x70,
  79. stag_dvb_running_status = 0x71,
  80. stag_dvb_stuffing = 0x72,
  81. stag_dvb_time_offset = 0x73,
  82. stag_dvb_application_information = 0x74,
  83. stag_dvb_tva_container = 0x75,
  84. stag_dvb_tva_related_content = 0x76,
  85. stag_dvb_tva_content_identifier = 0x77,
  86. stag_dvb_mpe_fec = 0x78,
  87. stag_dvb_tva_resolution_provider_notification = 0x79,
  88. stag_dvb_discontinuity_information = 0x7e,
  89. stag_dvb_selection_information = 0x7f,
  90. };
  91. #ifdef __cplusplus
  92. }
  93. #endif
  94. #endif