From 52372a25c714e8a33aa265f2ba9afcfa51dfe832 Mon Sep 17 00:00:00 2001 From: Stefan Ringel Date: Thu, 29 May 2014 16:54:59 +0200 Subject: [PATCH] docs: mpegts: add atsc docs https://bugzilla.gnome.org/show_bug.cgi?id=730940 --- docs/libs/gst-plugins-bad-libs.types | 12 ++++++ gst-libs/gst/mpegts/gst-atsc-section.h | 52 +++++++++++++++++++++++++- 2 files changed, 63 insertions(+), 1 deletion(-) diff --git a/docs/libs/gst-plugins-bad-libs.types b/docs/libs/gst-plugins-bad-libs.types index ba43ffdbc8..0538d1b27b 100644 --- a/docs/libs/gst-plugins-bad-libs.types +++ b/docs/libs/gst-plugins-bad-libs.types @@ -27,6 +27,18 @@ gst_mpegts_running_status_get_type gst_mpegts_dvb_service_type_get_type gst_mpegts_stream_type_get_type +gst_mpegts_section_atsc_table_id_get_type +gst_mpegts_atsc_mgt_table_type_get_type +gst_mpegts_atsc_vct_get_type +gst_mpegts_atsc_vct_source_get_type +gst_mpegts_atsc_mgt_get_type +gst_mpegts_atsc_mgt_table_get_type +gst_mpegts_atsc_string_segment_get_type +gst_mpegts_atsc_mult_string_get_type +gst_mpegts_atsc_eit_event_get_type +gst_mpegts_atsc_eit_get_type +gst_mpegts_atsc_ett_get_type +gst_mpegts_atsc_stt_get_type gst_insert_bin_get_type diff --git a/gst-libs/gst/mpegts/gst-atsc-section.h b/gst-libs/gst/mpegts/gst-atsc-section.h index 14b8684adb..87d3b3ec8d 100644 --- a/gst-libs/gst/mpegts/gst-atsc-section.h +++ b/gst-libs/gst/mpegts/gst-atsc-section.h @@ -75,7 +75,22 @@ typedef struct _GstMpegtsAtscVCT GstMpegtsAtscVCT; /** * GstMpegtsAtscVCTSource: - * @descriptors: (element-type GstMpegtsDescriptor): descriptors + * @short_name: The short name of a source + * @major_channel_number: The major channel number + * @minor_channel_number: The minor channel number + * @modulation_mode: The modulation mode + * @carrier_frequency: The carrier frequency + * @channel_TSID: The transport stream ID + * @program_number: The program number (see #GstMpegtsPatProgram) + * @ETM_location: The ETM location + * @access_controlled: is access controlled + * @hidden: is hidden + * @path_select: is path select, CVCT only + * @out_of_band: is out of band, CVCT only + * @hide_guide: is hide guide + * @service_type: The service type + * @source_id: The source id + * @descriptors: (element-type GstMpegtsDescriptor): an array of #GstMpegtsDescriptor * * Source from a @GstMpegtsAtscVCT, can be used both for TVCT and CVCT tables */ @@ -103,6 +118,8 @@ struct _GstMpegtsAtscVCTSource /** * GstMpegtsAtscVCT: + * @transport_stream_id: The transport stream + * @protocol_version: The protocol version * @sources: (element-type GstMpegtsAtscVCTSource): sources * @descriptors: (element-type GstMpegtsDescriptor): descriptors * @@ -147,6 +164,10 @@ typedef enum { /** * GstMpegtsAtscMGTTable: + * @table_type: #GstMpegtsAtscMGTTableType + * @pid: The packet ID + * @version_number: The version number + * @number_bytes: * @descriptors: (element-type GstMpegtsDescriptor): descriptors * * Source from a @GstMpegtsAtscMGT @@ -162,6 +183,8 @@ struct _GstMpegtsAtscMGTTable /** * GstMpegtsAtscMGT: + * @protocol_version: The protocol version + * @tables_defined: The numbers of subtables * @tables: (element-type GstMpegtsAtscMGTTable): the tables * @descriptors: (element-type GstMpegtsDescriptor): descriptors * @@ -193,6 +216,16 @@ const GstMpegtsAtscMGT * gst_mpegts_section_get_atsc_mgt (GstMpegtsSection * sec typedef struct _GstMpegtsAtscStringSegment GstMpegtsAtscStringSegment; typedef struct _GstMpegtsAtscMultString GstMpegtsAtscMultString; +/** + * GstMpegtsAtscStringSegment: + * @compression_type: The compression type + * @mode: The mode + * @compressed_data_size: The size of compressed data + * @compressed_data: The compressed data + * @cached_string: + * + * A string segment + */ struct _GstMpegtsAtscStringSegment { guint8 compression_type; guint8 mode; @@ -207,6 +240,7 @@ const gchar * gst_mpegts_atsc_string_segment_get_string (GstMpegtsAtscStringSegm /** * GstMpegtsAtscMultString: + * @iso_639_langcode: The ISO639 language code * @segments: (element-type GstMpegtsAtscStringSegment) * */ @@ -231,6 +265,10 @@ typedef struct _GstMpegtsAtscEIT GstMpegtsAtscEIT; /** * GstMpegtsAtscEITEvent: + * @event_id: The event id + * @start_time: The start time + * @etm_location: The etm location + * @length_in_seconds: The length in seconds * @titles: (element-type GstMpegtsAtscMultString): the titles * @descriptors: (element-type GstMpegtsDescriptor): descriptors * @@ -248,6 +286,8 @@ struct _GstMpegtsAtscEITEvent { /** * GstMpegtsAtscEIT: + * @source_id: The source id + * @protocol_version: The protocol version * @events: (element-type GstMpegtsAtscEITEvent): Events * * Event Information Table (ATSC) @@ -278,6 +318,9 @@ typedef struct _GstMpegtsAtscETT GstMpegtsAtscETT; /** * GstMpegtsAtscETT: + * @ett_table_id_extension: + * @protocol_version: The protocol version + * @etm_id: The etm id * @messages: (element-type GstMpegtsAtscMultString): List of texts * * Extended Text Table (ATSC) @@ -305,7 +348,14 @@ typedef struct _GstMpegtsAtscSTT GstMpegtsAtscSTT; /** * GstMpegtsAtscSTT: + * @protocol_version: The protocol version + * @system_time: The system time + * @gps_utc_offset: The GPS to UTC offset + * @ds_status: + * @ds_dayofmonth: The day of month + * @ds_hour: The hour * @descriptors: (element-type GstMpegtsDescriptor): descriptors + * @utc_datetime: The UTC date and time * * System Time Table (A65) *