mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-09 19:09:41 +00:00
982aee25c6
* In order to avoid future clashing between table_id for the various mpeg-ts variants, use different enums. * In order to keep everything clean(ish) and allow for cleaner growth, split into different files (will need the same for descriptors later) * Also ... implement free functions for all table types :)
67 lines
2.4 KiB
C
67 lines
2.4 KiB
C
/*
|
|
* mpegtspacketizer.h -
|
|
* Copyright (C) 2013 Edward Hervey
|
|
*
|
|
* Authors:
|
|
* Edward Hervey <edward@collabora.com>
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Library General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Library General Public
|
|
* License along with this library; if not, write to the
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
* Boston, MA 02110-1301, USA.
|
|
*/
|
|
|
|
#ifndef GST_ATSC_SECTION_H
|
|
#define GST_ATSC_SECTION_H
|
|
|
|
#include <gst/gst.h>
|
|
#include <gst/mpegts/gstmpegtssection.h>
|
|
#include <gst/mpegts/gstmpegtsdescriptor.h>
|
|
|
|
/**
|
|
* GstMpegTsSectionATSCTableID:
|
|
*
|
|
* Values for a #GstMpegTsSection table_id.
|
|
*
|
|
* These are the registered ATSC table_id variants.
|
|
*
|
|
* see also: #GstMpegTsSectionTableID
|
|
*/
|
|
typedef enum {
|
|
|
|
|
|
/* ATSC (A/65) */
|
|
GST_MTS_TABLE_ID_ATSC_MASTER_GUIDE = 0xC7,
|
|
GST_MTS_TABLE_ID_ATSC_TERRESTRIAL_VIRTUAL_CHANNEL = 0xC8,
|
|
GST_MTS_TABLE_ID_ATSC_CABLE_VIRTUAL_CHANNEL = 0xC9,
|
|
GST_MTS_TABLE_ID_ATSC_RATING_REGION = 0xCA,
|
|
GST_MTS_TABLE_ID_ATSC_EVENT_INFORMATION = 0xCB,
|
|
GST_MTS_TABLE_ID_ATSC_CHANNEL_OR_EVENT_EXTENDED_TEXT = 0xCC,
|
|
GST_MTS_TABLE_ID_ATSC_SYSTEM_TIME = 0xCD,
|
|
/* ATSC (A/90) */
|
|
GST_MTS_TABLE_ID_ATSC_DATA_EVENT = 0xCE,
|
|
GST_MTS_TABLE_ID_ATSC_DATA_SERVICE = 0xCF,
|
|
/* 0xD0 ?? */
|
|
GST_MTS_TABLE_ID_ATSC_NETWORK_RESOURCE = 0xD1,
|
|
GST_MTS_TABLE_ID_ATSC_LONG_TERM_SERVICE = 0xD2,
|
|
GST_MTS_TABLE_ID_ATSC_DIRECTED_CHANNEL_CHANGE = 0xD3,
|
|
GST_MTS_TABLE_ID_ATSC_DIRECTED_CHANNEL_CHANGE_SECTION_CODE = 0xD4,
|
|
/* 0xD5 ?? */
|
|
GST_MTS_TABLE_ID_ATSC_AGGREGATE_EVENT_INFORMATION = 0xD6,
|
|
GST_MTS_TABLE_ID_ATSC_AGGREGATE_EXTENDED_TEXT = 0xD7,
|
|
/* 0xD8 ?? */
|
|
GST_MTS_TABLE_ID_ATSC_AGGREGATE_DATA_EVENT = 0xD9,
|
|
GST_MTS_TABLE_ID_ATSC_SATELLITE_VIRTUAL_CHANNEL = 0xDA,
|
|
} GstMpegTsSectionATSCTableID;
|
|
|
|
#endif /* GST_MPEGTS_SECTION_H */
|