section.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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_MPEG_SECTION_H
  22. #define _UCSI_MPEG_SECTION_H 1
  23. #ifdef __cplusplus
  24. extern "C"
  25. {
  26. #endif
  27. #include <libucsi/mpeg/cat_section.h>
  28. #include <libucsi/mpeg/odsmt_section.h>
  29. #include <libucsi/mpeg/pat_section.h>
  30. #include <libucsi/mpeg/pmt_section.h>
  31. #include <libucsi/mpeg/tsdt_section.h>
  32. #include <libucsi/mpeg/metadata_section.h>
  33. #include <libucsi/mpeg/datagram_section.h>
  34. #define TRANSPORT_PAT_PID 0x00
  35. #define TRANSPORT_CAT_PID 0x01
  36. #define TRANSPORT_TSDT_PID 0x02
  37. /**
  38. * Enumeration of MPEG section tags.
  39. */
  40. enum mpeg_section_tag {
  41. stag_mpeg_program_association = 0x00,
  42. stag_mpeg_conditional_access = 0x01,
  43. stag_mpeg_program_map = 0x02,
  44. stag_mpeg_transport_stream_description = 0x03,
  45. stag_mpeg_iso14496_scene_description = 0x04,
  46. stag_mpeg_iso14496_object_description = 0x05,
  47. stag_mpeg_metadata = 0x06,
  48. stag_mpeg_datagram = 0x3e,
  49. };
  50. #ifdef __cplusplus
  51. }
  52. #endif
  53. #endif