• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * gst-hdmv-section.h -
3  * Copyright (C) 2020, Centricular ltd
4  *
5  * Authors:
6  *   Edward Hervey <edward@centricular.com>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Library General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Library General Public License for more details.
17  *
18  * You should have received a copy of the GNU Library General Public
19  * License along with this library; if not, write to the
20  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
21  * Boston, MA 02110-1301, USA.
22  */
23 
24 #ifndef GST_HDMV_SECTION_H
25 #define GST_HDMV_SECTION_H
26 
27 #include <gst/gst.h>
28 #include <gst/mpegts/gstmpegtssection.h>
29 #include <gst/mpegts/gstmpegtsdescriptor.h>
30 
31 G_BEGIN_DECLS
32 
33 /**
34  * SECTION:gst-hdmv-section
35  * @title: HDMV variants of MPEG-TS (Bluray, AVCHD, ...)
36  * @short_description: Stream Types for the various Bluray specifications
37  * @include: gst/mpegts/mpegts.h
38  */
39 
40 /**
41  * GstMpegtsHdmvStreamType:
42  *
43  * Type of mpeg-ts streams for Blu-ray formats. To be matched with the
44  * stream-type of a #GstMpegtsSection.
45  *
46  * Since: 1.20
47  */
48 typedef enum {
49   GST_MPEGTS_STREAM_TYPE_HDMV_AUDIO_LPCM = 0x80,
50   GST_MPEGTS_STREAM_TYPE_HDMV_AUDIO_AC3 = 0x81,
51   GST_MPEGTS_STREAM_TYPE_HDMV_AUDIO_DTS = 0x82,
52   GST_MPEGTS_STREAM_TYPE_HDMV_AUDIO_AC3_TRUE_HD = 0x83,
53   GST_MPEGTS_STREAM_TYPE_HDMV_AUDIO_AC3_PLUS = 0x84,
54   GST_MPEGTS_STREAM_TYPE_HDMV_AUDIO_DTS_HD = 0x85,
55   GST_MPEGTS_STREAM_TYPE_HDMV_AUDIO_DTS_HD_MASTER_AUDIO = 0x86,
56   GST_MPEGTS_STREAM_TYPE_HDMV_AUDIO_EAC3 = 0x87,
57   GST_MPEGTS_STREAM_TYPE_HDMV_SUBPICTURE_PGS = 0x90,
58   GST_MPEGTS_STREAM_TYPE_HDMV_IGS = 0x91,
59   GST_MPEGTS_STREAM_TYPE_HDMV_SUBTITLE = 0x92,
60   GST_MPEGTS_STREAM_TYPE_HDMV_AUDIO_AC3_PLUS_SECONDARY = 0xa1,
61   GST_MPEGTS_STREAM_TYPE_HDMV_AUDIO_DTS_HD_SECONDARY = 0xa2,
62 } GstMpegtsHdmvStreamType;
63 
64 G_END_DECLS
65 
66 #endif  /* GST_HDMV_SECTION_H */
67