descriptor.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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_ATSC_DESCRIPTOR_H
  22. #define _UCSI_ATSC_DESCRIPTOR_H 1
  23. #ifdef __cplusplus
  24. extern "C"
  25. {
  26. #endif
  27. #include <libucsi/endianops.h>
  28. #include <libucsi/atsc/stuffing_descriptor.h>
  29. #include <libucsi/atsc/ac3_descriptor.h>
  30. #include <libucsi/atsc/caption_service_descriptor.h>
  31. #include <libucsi/atsc/component_name_descriptor.h>
  32. #include <libucsi/atsc/content_advisory_descriptor.h>
  33. #include <libucsi/atsc/dcc_arriving_request_descriptor.h>
  34. #include <libucsi/atsc/dcc_departing_request_descriptor.h>
  35. #include <libucsi/atsc/extended_channel_name_descriptor.h>
  36. #include <libucsi/atsc/genre_descriptor.h>
  37. #include <libucsi/atsc/rc_descriptor.h>
  38. #include <libucsi/atsc/service_location_descriptor.h>
  39. #include <libucsi/atsc/time_shifted_service_descriptor.h>
  40. /**
  41. * Enumeration of ATSC descriptor tags.
  42. */
  43. enum atsc_descriptor_tag {
  44. dtag_atsc_stuffing = 0x80,
  45. dtag_atsc_ac3_audio = 0x81,
  46. dtag_atsc_caption_service = 0x86,
  47. dtag_atsc_content_advisory = 0x87,
  48. dtag_atsc_extended_channel_name = 0xa0,
  49. dtag_atsc_service_location = 0xa1,
  50. dtag_atsc_time_shifted_service = 0xa2,
  51. dtag_atsc_component_name = 0xa3,
  52. dtag_atsc_dcc_departing_request = 0xa8,
  53. dtag_atsc_dcc_arriving_request = 0xa9,
  54. dtag_atsc_redistribution_control = 0xaa,
  55. dtag_atsc_private_information = 0xad,
  56. dtag_atsc_content_identifier = 0xb6,
  57. dtag_atsc_genre = 0xab,
  58. };
  59. #ifdef __cplusplus
  60. }
  61. #endif
  62. #endif