• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * gst-isdb-descriptor.h -
3  * Copyright (C) 2020 Edward Hervey
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_ISDB_DESCRIPTOR_H
25 #define GST_ISDB_DESCRIPTOR_H
26 
27 #include <gst/gst.h>
28 #include <gst/mpegts/mpegts-prelude.h>
29 
30 G_BEGIN_DECLS
31 
32 /**
33  * SECTION:gst-isdb-descriptor
34  * @title: ISDB variants of MPEG-TS descriptors
35  * @short_description: Descriptors for the various ISDB specifications
36  * @include: gst/mpegts/mpegts.h
37  *
38  * This contains the various descriptors defined by the ISDB specifications
39  */
40 
41 /**
42  * GstMpegtsISDBDescriptorType:
43  *
44  * These values correspond to the registered descriptor type from
45  * the various ISDB specifications.
46  *
47  * Consult the relevant specifications for more details.
48  */
49 typedef enum {
50   /* ISDB ARIB B10 v4.6 */
51   GST_MTS_DESC_ISDB_HIERARCHICAL_TRANSMISSION   = 0xC0,
52   GST_MTS_DESC_ISDB_DIGITAL_COPY_CONTROL        = 0xC1,
53   GST_MTS_DESC_ISDB_NETWORK_IDENTIFICATION      = 0xC2,
54   GST_MTS_DESC_ISDB_PARTIAL_TS_TIME             = 0xc3,
55   GST_MTS_DESC_ISDB_AUDIO_COMPONENT             = 0xc4,
56   GST_MTS_DESC_ISDB_HYPERLINK                   = 0xc5,
57   GST_MTS_DESC_ISDB_TARGET_REGION               = 0xc6,
58   GST_MTS_DESC_ISDB_DATA_CONTENT                = 0xc7,
59   GST_MTS_DESC_ISDB_VIDEO_DECODE_CONTROL        = 0xc8,
60   GST_MTS_DESC_ISDB_DOWNLOAD_CONTENT            = 0xc9,
61   GST_MTS_DESC_ISDB_CA_EMM_TS                   = 0xca,
62   GST_MTS_DESC_ISDB_CA_CONTRACT_INFORMATION     = 0xcb,
63   GST_MTS_DESC_ISDB_CA_SERVICE                  = 0xcc,
64   GST_MTS_DESC_ISDB_TS_INFORMATION              = 0xcd,
65   GST_MTS_DESC_ISDB_EXTENDED_BROADCASTER        = 0xce,
66   GST_MTS_DESC_ISDB_LOGO_TRANSMISSION           = 0xcf,
67   GST_MTS_DESC_ISDB_BASIC_LOCAL_EVENT           = 0xd0,
68   GST_MTS_DESC_ISDB_REFERENCE                   = 0xd1,
69   GST_MTS_DESC_ISDB_NODE_RELATION               = 0xd2,
70   GST_MTS_DESC_ISDB_SHORT_NODE_INFORMATION      = 0xd3,
71   GST_MTS_DESC_ISDB_STC_REFERENCE               = 0xd4,
72   GST_MTS_DESC_ISDB_SERIES                      = 0xd5,
73   GST_MTS_DESC_ISDB_EVENT_GROUP                 = 0xd6,
74   GST_MTS_DESC_ISDB_SI_PARAMETER                = 0xd7,
75   GST_MTS_DESC_ISDB_BROADCASTER_NAME            = 0xd8,
76   GST_MTS_DESC_ISDB_COMPONENT_GROUP             = 0xd9,
77   GST_MTS_DESC_ISDB_SI_PRIME_TS                 = 0xda,
78   GST_MTS_DESC_ISDB_BOARD_INFORMATION           = 0xdb,
79   GST_MTS_DESC_ISDB_LDT_LINKAGE                 = 0xdc,
80   GST_MTS_DESC_ISDB_CONNECTED_TRANSMISSION      = 0xdd,
81   GST_MTS_DESC_ISDB_CONTENT_AVAILABILITY        = 0xde,
82   /* ... */
83   GST_MTS_DESC_ISDB_SERVICE_GROUP               = 0xe0
84 
85 } GstMpegtsISDBDescriptorType;
86 
87 G_END_DECLS
88 
89 #endif
90