Commit 22dfd9ae authored by Edward Hervey's avatar Edward Hervey 🤘

mpegts: Unify API : GstMpegts / gst_mpegts_ / GST_*_MPEGTS_

It was previously a mix and match of both variants, introducing just too much
confusion.

The prefix are from now on:
* GstMpegts for structures and type names (and not GstMpegTs)
* gst_mpegts_ for functions (and not gst_mpeg_ts_)
* GST_MPEGTS_ for enums/flags (and not GST_MPEG_TS_)
* GST_TYPE_MPEGTS_ for types (and not GST_TYPE_MPEG_TS_)

The rationale for chosing that is:
* the namespace is shorter/direct (it's mpegts, not mpeg_ts nor mpeg-ts)
* the namespace is one word under Gst
* it's shorter (yah)
parent cddabd75
......@@ -184,101 +184,101 @@ gst_mpegts_initialize
<SECTION>
<FILE>gstmpegtsdescriptor</FILE>
<SUBSECTION Common>
GstMpegTsDescriptor
GstMpegTsDescriptorType
GstMpegTsMiscDescriptorType
GstMpegtsDescriptor
GstMpegtsDescriptorType
GstMpegtsMiscDescriptorType
gst_mpegts_find_descriptor
gst_mpegts_parse_descriptors
gst_mpegts_descriptor_from_custom
<SUBSECTION registration>
gst_mpegts_descriptor_from_registration
<SUBSECTION iso639>
GstMpegTsISO639LanguageDescriptor
GstMpegTsIso639AudioType
GstMpegtsISO639LanguageDescriptor
GstMpegtsIso639AudioType
gst_mpegts_descriptor_parse_iso_639_language
gst_mpegts_descriptor_parse_iso_639_language_idx
gst_mpegts_descriptor_parse_iso_639_language_nb
gst_mpegts_iso_639_language_descriptor_free
<SUBSECTION logical_channel>
GstMpegTsLogicalChannel
GstMpegTsLogicalChannelDescriptor
GstMpegtsLogicalChannel
GstMpegtsLogicalChannelDescriptor
gst_mpegts_descriptor_parse_logical_channel
<SUBSECTION Standard>
GST_TYPE_MPEG_TS_DVB_CODE_RATE
GST_TYPE_MPEG_TS_CABLE_OUTER_FEC_SCHEME
GST_TYPE_MPEG_TS_MODULATION_TYPE
GST_TYPE_MPEG_TS_SATELLITE_POLARIZATION_TYPE
GST_TYPE_MPEG_TS_SATELLITE_ROLLOFF
GST_TYPE_MPEGTS_DVB_CODE_RATE
GST_TYPE_MPEGTS_CABLE_OUTER_FEC_SCHEME
GST_TYPE_MPEGTS_MODULATION_TYPE
GST_TYPE_MPEGTS_SATELLITE_POLARIZATION_TYPE
GST_TYPE_MPEGTS_SATELLITE_ROLLOFF
GST_TYPE_MPEGTS_ISO_639_LANGUAGE
GST_TYPE_MPEGTS_DESCRIPTOR
GST_TYPE_MPEG_TS_DVB_SERVICE_TYPE
GST_TYPE_MPEG_TS_DESCRIPTOR_TYPE
GST_TYPE_MPEG_TS_ISO639_AUDIO_TYPE
GST_TYPE_MPEG_TS_ATSC_DESCRIPTOR_TYPE
GST_TYPE_MPEG_TS_DVB_DESCRIPTOR_TYPE
GST_TYPE_MPEG_TS_ISDB_DESCRIPTOR_TYPE
GST_TYPE_MPEG_TS_MISC_DESCRIPTOR_TYPE
GST_TYPE_MPEGTS_DVB_SERVICE_TYPE
GST_TYPE_MPEGTS_DESCRIPTOR_TYPE
GST_TYPE_MPEGTS_ISO639_AUDIO_TYPE
GST_TYPE_MPEGTS_ATSC_DESCRIPTOR_TYPE
GST_TYPE_MPEGTS_DVB_DESCRIPTOR_TYPE
GST_TYPE_MPEGTS_ISDB_DESCRIPTOR_TYPE
GST_TYPE_MPEGTS_MISC_DESCRIPTOR_TYPE
gst_mpegts_descriptor_get_type
gst_mpegts_iso_639_language_get_type
gst_mpeg_ts_cable_outer_fec_scheme_get_type
gst_mpeg_ts_modulation_type_get_type
gst_mpeg_ts_satellite_polarization_type_get_type
gst_mpeg_ts_satellite_rolloff_get_type
gst_mpeg_ts_dvb_code_rate_get_type
gst_mpeg_ts_descriptor_type_get_type
gst_mpeg_ts_atsc_descriptor_type_get_type
gst_mpeg_ts_dvb_descriptor_type_get_type
gst_mpeg_ts_isdb_descriptor_type_get_type
gst_mpeg_ts_misc_descriptor_type_get_type
gst_mpeg_ts_iso639_audio_type_get_type
gst_mpeg_ts_dvb_service_type_get_type
gst_mpegts_cable_outer_fec_scheme_get_type
gst_mpegts_modulation_type_get_type
gst_mpegts_satellite_polarization_type_get_type
gst_mpegts_satellite_rolloff_get_type
gst_mpegts_dvb_code_rate_get_type
gst_mpegts_descriptor_type_get_type
gst_mpegts_atsc_descriptor_type_get_type
gst_mpegts_dvb_descriptor_type_get_type
gst_mpegts_isdb_descriptor_type_get_type
gst_mpegts_misc_descriptor_type_get_type
gst_mpegts_iso639_audio_type_get_type
gst_mpegts_dvb_service_type_get_type
</SECTION>
<SECTION>
<FILE>gst-atsc-descriptor</FILE>
GstMpegTsATSCDescriptorType
GstMpegtsATSCDescriptorType
<SUBSECTION Standard>
GST_TYPE_MPEG_TS_ATSC_DESCRIPTOR_TYPE
gst_mpeg_ts_atsc_descriptor_type_get_type
GST_TYPE_MPEGTS_ATSC_DESCRIPTOR_TYPE
gst_mpegts_atsc_descriptor_type_get_type
</SECTION>
<SECTION>
<FILE>gst-dvb-descriptor</FILE>
GstMpegTsDVBDescriptorType
GstMpegTsDVBExtendedDescriptorType
GstMpegtsDVBDescriptorType
GstMpegtsDVBExtendedDescriptorType
<SUBSECTION content>
GstMpegTsContent
GstMpegtsContent
gst_mpegts_descriptor_parse_dvb_content
<SUBSECTION component>
GstMpegTsComponentDescriptor
GstMpegtsComponentDescriptor
gst_mpegts_descriptor_parse_dvb_component
<SUBSECTION extended_event>
GstMpegTsExtendedEventItem
GstMpegTsExtendedEventDescriptor
GstMpegtsExtendedEventItem
GstMpegtsExtendedEventDescriptor
gst_mpegts_descriptor_parse_dvb_extended_event
<SUBSECTION satellite_delivery>
GstMpegTsSatelliteDeliverySystemDescriptor
GstMpegTsDVBCodeRate
GstMpegTsModulationType
GstMpegTsSatellitePolarizationType
GstMpegTsSatelliteRolloff
GstMpegtsSatelliteDeliverySystemDescriptor
GstMpegtsDVBCodeRate
GstMpegtsModulationType
GstMpegtsSatellitePolarizationType
GstMpegtsSatelliteRolloff
gst_mpegts_descriptor_parse_satellite_delivery_system
<SUBSECTION cable_delivery>
GstMpegTsCableDeliverySystemDescriptor
GstMpegTsCableOuterFECScheme
GstMpegtsCableDeliverySystemDescriptor
GstMpegtsCableOuterFECScheme
gst_mpegts_descriptor_parse_cable_delivery_system
<SUBSECTION terrestrial_delivery>
GstMpegTsTerrestrialDeliverySystemDescriptor
GstMpegTsTerrestrialTransmissionMode
GstMpegTsTerrestrialGuardInterval
GstMpegTsTerrestrialHierarchy
GstMpegTsModulationType
GstMpegTsDVBCodeRate
GstMpegtsTerrestrialDeliverySystemDescriptor
GstMpegtsTerrestrialTransmissionMode
GstMpegtsTerrestrialGuardInterval
GstMpegtsTerrestrialHierarchy
GstMpegtsModulationType
GstMpegtsDVBCodeRate
gst_mpegts_descriptor_parse_terrestrial_delivery_system
<SUBSECTION t2_delivery>
GstMpegTsT2DeliverySystemCellExtension
GstMpegTsT2DeliverySystemCell
GstMpegTsT2DeliverySystemDescriptor
GstMpegtsT2DeliverySystemCellExtension
GstMpegtsT2DeliverySystemCell
GstMpegtsT2DeliverySystemDescriptor
gst_mpegts_descriptor_parse_dvb_t2_delivery_system
<SUBSECTION short_event>
gst_mpegts_descriptor_parse_dvb_short_event
......@@ -286,11 +286,11 @@ gst_mpegts_descriptor_parse_dvb_short_event
gst_mpegts_descriptor_parse_dvb_network_name
gst_mpegts_descriptor_from_dvb_network_name
<SUBSECTION service>
GstMpegTsDVBServiceType
GstMpegtsDVBServiceType
gst_mpegts_descriptor_parse_dvb_service
gst_mpegts_descriptor_from_dvb_service
<SUBSECTION teletext>
GstMpegTsDVBTeletextType
GstMpegtsDVBTeletextType
gst_mpegts_descriptor_parse_dvb_teletext_idx
gst_mpegts_descriptor_parse_dvb_teletext_nb
<SUBSECTION subtitling>
......@@ -298,53 +298,53 @@ gst_mpegts_descriptor_parse_dvb_subtitling_idx
gst_mpegts_descriptor_parse_dvb_subtitling_nb
gst_mpegts_descriptor_from_dvb_subtitling
<SUBSECTION linkage>
GstMpegTsDVBLinkageType
GstMpegTsDVBLinkageHandOverType
GstMpegTsDVBLinkageMobileHandOver
GstMpegTsDVBLinkageEvent
GstMpegTsDVBLinkageExtendedEvent
GstMpegTsDVBLinkageDescriptor
GstMpegtsDVBLinkageType
GstMpegtsDVBLinkageHandOverType
GstMpegtsDVBLinkageMobileHandOver
GstMpegtsDVBLinkageEvent
GstMpegtsDVBLinkageExtendedEvent
GstMpegtsDVBLinkageDescriptor
gst_mpegts_descriptor_parse_dvb_linkage
<SUBSECTION private_data_specifier>
gst_mpegts_descriptor_parse_dvb_private_data_specifier
<SUBSECTION frequency_list>
gst_mpegts_descriptor_parse_dvb_frequency_list
<SUBSECTION data_broadcast>
GstMpegTsDataBroadcastDescriptor
GstMpegtsDataBroadcastDescriptor
gst_mpegts_descriptor_parse_dvb_data_broadcast
<SUBSECTION scrambling>
GstMpegTsDVBScramblingModeType
GstMpegtsDVBScramblingModeType
gst_mpegts_descriptor_parse_dvb_scrambling
<SUBSECTION data_broadcast_id>
gst_mpegts_descriptor_parse_dvb_data_broadcast_id
<SUBSECTION parental_rating>
GstMpegTsDVBParentalRatingItem
GstMpegtsDVBParentalRatingItem
gst_mpegts_descriptor_parse_dvb_parental_rating
<SUBSECTION stream_identifier>
gst_mpegts_descriptor_parse_dvb_stream_identifier
<SUBSECTION ca_identifier>
gst_mpegts_descriptor_parse_dvb_ca_identifier
<SUBSECTION service_list>
GstMpegTsDVBServiceListItem
GstMpegtsDVBServiceListItem
gst_mpegts_descriptor_parse_dvb_service_list
<SUBSECTION stuffing>
gst_mpegts_descriptor_parse_dvb_stuffing
<SUBSECTION bouquet_name>
gst_mpegts_descriptor_parse_dvb_bouquet_name
<SUBSECTION multilingual_network_name>
GstMpegTsDvbMultilingualNetworkNameItem
GstMpegtsDvbMultilingualNetworkNameItem
gst_mpegts_descriptor_parse_dvb_multilingual_network_name
<SUBSECTION multilingual_bouquet_name>
GstMpegTsDvbMultilingualBouquetNameItem
GstMpegtsDvbMultilingualBouquetNameItem
gst_mpegts_descriptor_parse_dvb_multilingual_bouquet_name
<SUBSECTION multilingual_service_name>
GstMpegTsDvbMultilingualServiceNameItem
GstMpegtsDvbMultilingualServiceNameItem
gst_mpegts_descriptor_parse_dvb_multilingual_service_name
<SUBSECTION multilingual_component>
GstMpegTsDvbMultilingualComponentItem
GstMpegtsDvbMultilingualComponentItem
gst_mpegts_descriptor_parse_dvb_multilingual_component
<SUBSECTION Standard>
GST_TYPE_MPEG_TS_DVB_CODE_RATE
GST_TYPE_MPEGTS_DVB_CODE_RATE
GST_TYPE_MPEGTS_COMPONENT_DESCRIPTOR
GST_TYPE_MPEGTS_DVB_DATA_BROADCAST_DESCRIPTOR
GST_TYPE_MPEGTS_DVB_LINKAGE_DESCRIPTOR
......@@ -360,19 +360,19 @@ gst_mpegts_t2_delivery_system_descriptor_get_type
<SECTION>
<FILE>gst-isdb-descriptor</FILE>
GstMpegTsISDBDescriptorType
GstMpegtsISDBDescriptorType
<SUBSECTION Standard>
GST_TYPE_MPEG_TS_ISDB_DESCRIPTOR_TYPE
gst_mpeg_ts_isdb_descriptor_type_get_type
GST_TYPE_MPEGTS_ISDB_DESCRIPTOR_TYPE
gst_mpegts_isdb_descriptor_type_get_type
</SECTION>
<SECTION>
<FILE>gstmpegtssection</FILE>
<SUBSECTION section>
GST_MPEGTS_SECTION_TYPE
GstMpegTsSection
GstMpegTsSectionTableID
GstMpegTsSectionType
GstMpegtsSection
GstMpegtsSectionTableID
GstMpegtsSectionType
gst_message_new_mpegts_section
gst_message_parse_mpegts_section
gst_mpegts_section_send_event
......@@ -382,15 +382,15 @@ gst_mpegts_section_new
gst_mpegts_section_ref
gst_mpegts_section_unref
<SUBSECTION PAT>
GstMpegTsPatProgram
GstMpegtsPatProgram
gst_mpegts_section_get_pat
gst_mpegts_pat_new
gst_mpegts_pat_program_new
gst_mpegts_section_from_pat
<SUBSECTION PMT>
GstMpegTsPMT
GstMpegTsPMTStream
GstMpegTsStreamType
GstMpegtsPMT
GstMpegtsPMTStream
GstMpegtsStreamType
gst_mpegts_section_get_pmt
gst_mpegts_pmt_new
gst_mpegts_pmt_stream_new
......@@ -400,41 +400,41 @@ gst_mpegts_section_get_tsdt
<SUBSECTION CAT>
gst_mpegts_section_get_cat
<SUBSECTION Standard>
GST_TYPE_MPEG_TS_SECTION_TABLE_ID
GST_TYPE_MPEG_TS_SECTION_TYPE
GST_TYPE_MPEG_TS_SECTION_DVB_TABLE_ID
GST_TYPE_MPEGTS_SECTION_TABLE_ID
GST_TYPE_MPEGTS_SECTION_TYPE
GST_TYPE_MPEGTS_SECTION_DVB_TABLE_ID
GST_MPEGTS_SECTION
GST_TYPE_MPEG_TS_STREAM_TYPE
GST_TYPE_MPEGTS_STREAM_TYPE
GST_TYPE_MPEGTS_PMT
GST_TYPE_MPEGTS_PMT_STREAM
GST_TYPE_MPEGTS_SECTION
gst_mpeg_ts_section_table_id_get_type
gst_mpeg_ts_section_type_get_type
gst_mpegts_section_table_id_get_type
gst_mpegts_section_type_get_type
gst_mpegts_pmt_get_type
gst_mpegts_pmt_stream_get_type
gst_mpegts_section_get_type
gst_mpeg_ts_stream_type_get_type
gst_mpegts_stream_type_get_type
</SECTION>
<SECTION>
<FILE>gst-atsc-section</FILE>
GstMpegTsSectionATSCTableID
GstMpegTsAtscVCTSource
GstMpegTsAtscVCT
GstMpegtsSectionATSCTableID
GstMpegtsAtscVCTSource
GstMpegtsAtscVCT
gst_mpegts_section_get_atsc_tvct
gst_mpegts_section_get_atsc_cvct
GstMpegTsAtscMGTTableType
GstMpegTsAtscMGTTable
GstMpegTsAtscMGT
GstMpegtsAtscMGTTableType
GstMpegtsAtscMGTTable
GstMpegtsAtscMGT
gst_mpegts_section_get_atsc_mgt
gst_mpegts_atsc_string_segment_get_string
GstMpegTsAtscMultString
GstMpegTsAtscEITEvent
GstMpegTsAtscEIT
GstMpegtsAtscMultString
GstMpegtsAtscEITEvent
GstMpegtsAtscEIT
gst_mpegts_section_get_atsc_eit
GstMpegTsAtscETT
GstMpegtsAtscETT
gst_mpegts_section_get_atsc_ett
GstMpegTsAtscSTT
GstMpegtsAtscSTT
gst_mpegts_section_get_atsc_stt
gst_mpegts_atsc_stt_get_datetime_utc
<SUBSECTION Standard>
......@@ -448,7 +448,7 @@ GST_TYPE_MPEGTS_ATSC_STRING_SEGMENT
GST_TYPE_MPEGTS_ATSC_STT
GST_TYPE_MPEGTS_ATSC_VCT
GST_TYPE_MPEGTS_ATSC_VCT_SOURCE
GstMpegTsAtscStringSegment
GstMpegtsAtscStringSegment
gst_mpegts_atsc_eit_event_get_type
gst_mpegts_atsc_eit_get_type
gst_mpegts_atsc_ett_get_type
......@@ -463,34 +463,34 @@ gst_mpegts_atsc_vct_source_get_type
<SECTION>
<FILE>gst-dvb-section</FILE>
GstMpegTsSectionDVBTableID
GstMpegtsSectionDVBTableID
<SUBSECTION NIT>
GstMpegTsNIT
GstMpegTsNITStream
GstMpegtsNIT
GstMpegtsNITStream
gst_mpegts_section_get_nit
gst_mpegts_nit_new
gst_mpegts_nit_stream_new
gst_mpegts_section_from_nit
<SUBSECTION BAT>
GstMpegTsBAT
GstMpegTsBATStream
GstMpegtsBAT
GstMpegtsBATStream
gst_mpegts_section_get_bat
<SUBSECTION SDT>
GstMpegTsSDT
GstMpegTsSDTService
GstMpegtsSDT
GstMpegtsSDTService
gst_mpegts_section_get_sdt
gst_mpegts_sdt_new
gst_mpegts_sdt_service_new
gst_mpegts_section_from_sdt
<SUBSECTION EIT>
GstMpegTsEIT
GstMpegTsEITEvent
GstMpegTsRunningStatus
GstMpegtsEIT
GstMpegtsEITEvent
GstMpegtsRunningStatus
gst_mpegts_section_get_eit
<SUBSECTION TDT>
gst_mpegts_section_get_tdt
<SUBSECTION TOT>
GstMpegTsTOT
GstMpegtsTOT
gst_mpegts_section_get_tot
<SUBSECTION Standard>
GST_TYPE_MPEGTS_BAT
......@@ -502,10 +502,10 @@ GST_TYPE_MPEGTS_NIT_STREAM
GST_TYPE_MPEGTS_SDT
GST_TYPE_MPEGTS_SDT_SERVICE
GST_TYPE_MPEGTS_TOT
GST_TYPE_MPEG_TS_SECTION_DVB_TABLE_ID
GST_TYPE_MPEG_TS_RUNNING_STATUS
gst_mpeg_ts_running_status_get_type
gst_mpeg_ts_section_dvb_table_id_get_type
GST_TYPE_MPEGTS_SECTION_DVB_TABLE_ID
GST_TYPE_MPEGTS_RUNNING_STATUS
gst_mpegts_running_status_get_type
gst_mpegts_section_dvb_table_id_get_type
gst_mpegts_bat_stream_get_type
gst_mpegts_bat_get_type
gst_mpegts_eit_event_get_type
......
......@@ -7,20 +7,20 @@
#include <gst/gl/gl.h>
gst_mpegts_section_get_type
gst_mpeg_ts_section_type_get_type
gst_mpeg_ts_section_table_id_get_type
gst_mpegts_section_type_get_type
gst_mpegts_section_table_id_get_type
gst_mpegts_descriptor_get_type
gst_mpeg_ts_cable_outer_fec_scheme_get_type
gst_mpeg_ts_modulation_type_get_type
gst_mpeg_ts_satellite_polarization_type_get_type
gst_mpeg_ts_satellite_rolloff_get_type
gst_mpeg_ts_dvb_code_rate_get_type
gst_mpeg_ts_descriptor_type_get_type
gst_mpeg_ts_iso639_audio_type_get_type
gst_mpeg_ts_running_status_get_type
gst_mpeg_ts_dvb_service_type_get_type
gst_mpeg_ts_stream_type_get_type
gst_mpegts_cable_outer_fec_scheme_get_type
gst_mpegts_modulation_type_get_type
gst_mpegts_satellite_polarization_type_get_type
gst_mpegts_satellite_rolloff_get_type
gst_mpegts_dvb_code_rate_get_type
gst_mpegts_descriptor_type_get_type
gst_mpegts_iso639_audio_type_get_type
gst_mpegts_running_status_get_type
gst_mpegts_dvb_service_type_get_type
gst_mpegts_stream_type_get_type
gst_insert_bin_get_type
......
......@@ -67,7 +67,7 @@ GstMpegts-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstmpegts-@GST_API_
GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_UPDATE=no \
$(INTROSPECTION_SCANNER) -v --namespace GstMpegts \
--nsversion=@GST_API_VERSION@ \
--identifier-prefix=GstMpegTs \
--identifier-prefix=GstMpegts \
--symbol-prefix=gst_mpegts \
--symbol-prefix=gst \
--warn-all -v \
......
This diff is collapsed.
......@@ -31,13 +31,13 @@
G_BEGIN_DECLS
/**
* GstMpegTsSectionATSCTableID:
* GstMpegtsSectionATSCTableID:
*
* Values for a #GstMpegTsSection table_id.
* Values for a #GstMpegtsSection table_id.
*
* These are the registered ATSC table_id variants.
*
* see also: #GstMpegTsSectionTableID
* see also: #GstMpegtsSectionTableID
*/
typedef enum {
......@@ -64,22 +64,22 @@ typedef enum {
/* 0xD8 ?? */
GST_MTS_TABLE_ID_ATSC_AGGREGATE_DATA_EVENT = 0xD9,
GST_MTS_TABLE_ID_ATSC_SATELLITE_VIRTUAL_CHANNEL = 0xDA,
} GstMpegTsSectionATSCTableID;
} GstMpegtsSectionATSCTableID;
/* TVCT/CVCT */
#define GST_TYPE_MPEGTS_ATSC_VCT (gst_mpegts_atsc_vct_get_type ())
#define GST_TYPE_MPEGTS_ATSC_VCT_SOURCE (gst_mpegts_atsc_vct_source_get_type ())
typedef struct _GstMpegTsAtscVCTSource GstMpegTsAtscVCTSource;
typedef struct _GstMpegTsAtscVCT GstMpegTsAtscVCT;
typedef struct _GstMpegtsAtscVCTSource GstMpegtsAtscVCTSource;
typedef struct _GstMpegtsAtscVCT GstMpegtsAtscVCT;
/**
* GstMpegTsAtscVCTSource:
* @descriptors: (element-type GstMpegTsDescriptor): descriptors
* GstMpegtsAtscVCTSource:
* @descriptors: (element-type GstMpegtsDescriptor): descriptors
*
* Source from a @GstMpegTsAtscVCT, can be used both for TVCT and CVCT tables
* Source from a @GstMpegtsAtscVCT, can be used both for TVCT and CVCT tables
*/
struct _GstMpegTsAtscVCTSource
struct _GstMpegtsAtscVCTSource
{
gchar *short_name;
guint16 major_channel_number;
......@@ -102,16 +102,16 @@ struct _GstMpegTsAtscVCTSource
};
/**
* GstMpegTsAtscVCT:
* @sources: (element-type GstMpegTsAtscVCTSource): sources
* @descriptors: (element-type GstMpegTsDescriptor): descriptors
* GstMpegtsAtscVCT:
* @sources: (element-type GstMpegtsAtscVCTSource): sources
* @descriptors: (element-type GstMpegtsDescriptor): descriptors
*
* Represents both:
* Terrestrial Virtual Channel Table (A65)
* Cable Virtual Channel Table (A65)
*
*/
struct _GstMpegTsAtscVCT
struct _GstMpegtsAtscVCT
{
guint16 transport_stream_id;
guint8 protocol_version;
......@@ -122,30 +122,30 @@ struct _GstMpegTsAtscVCT
GType gst_mpegts_atsc_vct_get_type (void);
GType gst_mpegts_atsc_vct_source_get_type (void);
const GstMpegTsAtscVCT * gst_mpegts_section_get_atsc_tvct (GstMpegTsSection * section);
const GstMpegTsAtscVCT * gst_mpegts_section_get_atsc_cvct (GstMpegTsSection * section);
const GstMpegtsAtscVCT * gst_mpegts_section_get_atsc_tvct (GstMpegtsSection * section);
const GstMpegtsAtscVCT * gst_mpegts_section_get_atsc_cvct (GstMpegtsSection * section);
/* MGT */
#define GST_TYPE_MPEGTS_ATSC_MGT (gst_mpegts_atsc_mgt_get_type ())
#define GST_TYPE_MPEGTS_ATSC_MGT_TABLE (gst_mpegts_atsc_mgt_table_get_type ())
typedef struct _GstMpegTsAtscMGTTable GstMpegTsAtscMGTTable;
typedef struct _GstMpegTsAtscMGT GstMpegTsAtscMGT;
typedef struct _GstMpegtsAtscMGTTable GstMpegtsAtscMGTTable;
typedef struct _GstMpegtsAtscMGT GstMpegtsAtscMGT;
typedef enum {
GST_MPEG_TS_ATSC_MGT_TABLE_TYPE_EIT0 = 0x0100,
GST_MPEG_TS_ATSC_MGT_TABLE_TYPE_EIT127 = 0x017F,
GST_MPEG_TS_ATSC_MGT_TABLE_TYPE_ETT0 = 0x0200,
GST_MPEG_TS_ATSC_MGT_TABLE_TYPE_ETT127 = 0x027F
} GstMpegTsAtscMGTTableType;
GST_MPEGTS_ATSC_MGT_TABLE_TYPE_EIT0 = 0x0100,
GST_MPEGTS_ATSC_MGT_TABLE_TYPE_EIT127 = 0x017F,
GST_MPEGTS_ATSC_MGT_TABLE_TYPE_ETT0 = 0x0200,
GST_MPEGTS_ATSC_MGT_TABLE_TYPE_ETT127 = 0x027F
} GstMpegtsAtscMGTTableType;
/**
* GstMpegTsAtscMGTTable:
* @descriptors: (element-type GstMpegTsDescriptor): descriptors
* GstMpegtsAtscMGTTable:
* @descriptors: (element-type GstMpegtsDescriptor): descriptors
*
* Source from a @GstMpegTsAtscMGT
* Source from a @GstMpegtsAtscMGT
*/
struct _GstMpegTsAtscMGTTable
struct _GstMpegtsAtscMGTTable
{
guint16 table_type;
guint16 pid;
......@@ -155,14 +155,14 @@ struct _GstMpegTsAtscMGTTable
};
/**
* GstMpegTsAtscMGT:
* @tables: (element-type GstMpegTsAtscMGTTable): the tables
* @descriptors: (element-type GstMpegTsDescriptor): descriptors
* GstMpegtsAtscMGT:
* @tables: (element-type GstMpegtsAtscMGTTable): the tables
* @descriptors: (element-type GstMpegtsDescriptor): descriptors
*
* Master Guide Table (A65)
*
*/
struct _GstMpegTsAtscMGT
struct _GstMpegtsAtscMGT
{
guint8 protocol_version;
guint16 tables_defined;
......@@ -173,17 +173,17 @@ struct _GstMpegTsAtscMGT
GType gst_mpegts_atsc_mgt_get_type (void);
GType gst_mpegts_atsc_mgt_table_get_type (void);
const GstMpegTsAtscMGT * gst_mpegts_section_get_atsc_mgt (GstMpegTsSection * section);
const GstMpegtsAtscMGT * gst_mpegts_section_get_atsc_mgt (GstMpegtsSection * section);
/* Multiple string structure (used in ETT and EIT */
#define GST_TYPE_MPEGTS_ATSC_STRING_SEGMENT (gst_mpegts_atsc_string_segment_get_type())
#define GST_TYPE_MPEGTS_ATSC_MULT_STRING (gst_mpegts_atsc_mult_string_get_type())
typedef struct _GstMpegTsAtscStringSegment GstMpegTsAtscStringSegment;
typedef struct _GstMpegTsAtscMultString GstMpegTsAtscMultString;
typedef struct _GstMpegtsAtscStringSegment GstMpegtsAtscStringSegment;
typedef struct _GstMpegtsAtscMultString GstMpegtsAtscMultString;
struct _GstMpegTsAtscStringSegment {
struct _GstMpegtsAtscStringSegment {
guint8 compression_type;
guint8 mode;
guint8 compressed_data_size;
......@@ -192,14 +192,14 @@ struct _GstMpegTsAtscStringSegment {
gchar *cached_string;
};
const gchar * gst_mpegts_atsc_string_segment_get_string (GstMpegTsAtscStringSegment * seg);
const gchar * gst_mpegts_atsc_string_segment_get_string (GstMpegtsAtscStringSegment * seg);
/**
* GstMpegTsAtscMultString:
* @segments: (element-type GstMpegTsAtscStringSegment)
* GstMpegtsAtscMultString:
* @segments: (element-type GstMpegtsAtscStringSegment)
*
*/
struct _GstMpegTsAtscMultString {
struct _GstMpegtsAtscMultString {
gchar iso_639_langcode[4];
GPtrArray *segments;
};
......@@ -212,17 +212,17 @@ GType gst_mpegts_atsc_mult_string_get_type (void);
#define GST_TYPE_MPEGTS_ATSC_EIT_EVENT (gst_mpegts_atsc_eit_event_get_type())
#define GST_TYPE_MPEGTS_ATSC_EIT (gst_mpegts_atsc_eit_get_type())
typedef struct _GstMpegTsAtscEITEvent GstMpegTsAtscEITEvent;
typedef struct _GstMpegTsAtscEIT GstMpegTsAtscEIT;
typedef struct _GstMpegtsAtscEITEvent GstMpegtsAtscEITEvent;
typedef struct _GstMpegtsAtscEIT GstMpegtsAtscEIT;
/**
* GstMpegTsAtscEITEvent:
* @titles: (element-type GstMpegTsAtscMultString): the titles
* @descriptors: (element-type GstMpegTsDescriptor): descriptors
* GstMpegtsAtscEITEvent:
* @titles: (element-type GstMpegtsAtscMultString): the titles
* @descriptors: (element-type GstMpegtsDescriptor): descriptors