libdvbv5: lib/include/libdvbv5/descriptors.h Source File

libdvbv5 1.32.0 Library to work with Digital TV devices on Linux

descriptors.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2011-2012 - Mauro Carvalho Chehab
3 * Copyright (c) 2012-2014 - Andre Roth <neolynx@gmail.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU Lesser General Public License as published by
7 * the Free Software Foundation version 2.1 of the License.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 * Or, point your browser to http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
18 */
19
42
43
44#ifndef _DESCRIPTORS_H
45#define _DESCRIPTORS_H
46
47#include <unistd.h>
48#include <stdint.h>
49#include <arpa/inet.h>
50
55#define DVB_MAX_PAYLOAD_PACKET_SIZE 4096
56
61#define DVB_CRC_SIZE 4
62
63
64#ifndef _DOXYGEN
65struct dvb_v5_fe_parms;
66#endif
67
79 typedef void (*dvb_table_init_func)(struct dvb_v5_fe_parms *parms,
80 const uint8_t *buf, ssize_t buflen,
81 void **table);
82
87extern const dvb_table_init_func dvb_table_initializers[256];
88
89#ifndef _DOXYGEN
90#define bswap16(b) do {\
91 b = ntohs(b); \
92} while (0)
93
94#define bswap32(b) do {\
95 b = ntohl(b); \
96} while (0)
97
98/* Deprecated */
99#define DVB_DESC_HEADER() \
100 uint8_t type; \
101 uint8_t length; \
102 struct dvb_desc *next
103
104#endif /* _DOXYGEN */
105
117 struct dvb_desc {
118 uint8_t type;
119 uint8_t length;
120 struct dvb_desc *next;
121
122 uint8_t data[];
123} __attribute__((packed));
124
125#ifndef _DOXYGEN
126
127#define dvb_desc_foreach( _desc, _tbl ) \
128 if (_tbl && _tbl->descriptor) \
129 for( struct dvb_desc *_desc = _tbl->descriptor; _desc; _desc = _desc->next ) \
130
131#define dvb_desc_find(_struct, _desc, _tbl, _type) \
132 if (_tbl && _tbl->descriptor) \
133 for( _struct *_desc = (_struct *) _tbl->descriptor; _desc; _desc = (_struct *) _desc->next ) \
134 if(_desc->type == _type) \
135
136#endif /* _DOXYGEN */
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
148uint32_t dvb_bcd(uint32_t bcd);
149
159 void dvb_hexdump(struct dvb_v5_fe_parms *parms, const char *prefix,
160 const unsigned char *buf, int len);
161
183 int dvb_desc_parse(struct dvb_v5_fe_parms *parms, const uint8_t *buf,
184 uint16_t buflen, struct dvb_desc **head_desc);
185
192 void dvb_desc_free (struct dvb_desc **list);
193
201 void dvb_desc_print(struct dvb_v5_fe_parms *parms, struct dvb_desc *desc);
202
203#ifdef __cplusplus
204}
205#endif
206
215 typedef int (*dvb_desc_init_func) (struct dvb_v5_fe_parms *parms,
216 const uint8_t *buf, struct dvb_desc *desc);
217
225 typedef void (*dvb_desc_print_func)(struct dvb_v5_fe_parms *parms,
226 const struct dvb_desc *desc);
227
234 typedef void (*dvb_desc_free_func) (struct dvb_desc *desc);
235
249 struct dvb_descriptor {
250 const char *name;
251 dvb_desc_init_func init;
252 dvb_desc_print_func print;
253 dvb_desc_free_func free;
254 ssize_t size;
255};
256
261extern const struct dvb_descriptor dvb_descriptors[];
262
592 enum descriptors {
593 /* ISO/IEC 13818-1 */
594 video_stream_descriptor = 0x02,
595 audio_stream_descriptor = 0x03,
596 hierarchy_descriptor = 0x04,
597 registration_descriptor = 0x05,
598 ds_alignment_descriptor = 0x06,
599 target_background_grid_descriptor = 0x07,
600 video_window_descriptor = 0x08,
601 conditional_access_descriptor = 0x09,
602 iso639_language_descriptor = 0x0a,
603 system_clock_descriptor = 0x0b,
604 multiplex_buffer_utilization_descriptor = 0x0c,
605 copyright_descriptor = 0x0d,
606 maximum_bitrate_descriptor = 0x0e,
607 private_data_indicator_descriptor = 0x0f,
608 smoothing_buffer_descriptor = 0x10,
609 std_descriptor = 0x11,
610 ibp_descriptor = 0x12,
611
612 mpeg4_video_descriptor = 0x1b,
613 mpeg4_audio_descriptor = 0x1c,
614 iod_descriptor = 0x1d,
615 sl_descriptor = 0x1e,
616 fmc_descriptor = 0x1f,
617 external_es_id_descriptor = 0x20,
618 muxcode_descriptor = 0x21,
619 fmxbuffersize_descriptor = 0x22,
620 multiplexbuffer_descriptor = 0x23,
621 content_labeling_descriptor = 0x24,
622 metadata_pointer_descriptor = 0x25,
623 metadata_descriptor = 0x26,
624 metadata_std_descriptor = 0x27,
625 AVC_video_descriptor = 0x28,
626 ipmp_descriptor = 0x29,
627 AVC_timing_and_HRD_descriptor = 0x2a,
628 mpeg2_aac_audio_descriptor = 0x2b,
629 flexmux_timing_descriptor = 0x2c,
630
631 /* ETSI EN 300 468 V1.11.1 (2010-04) */
632
633 network_name_descriptor = 0x40,
634 service_list_descriptor = 0x41,
635 stuffing_descriptor = 0x42,
636 satellite_delivery_system_descriptor = 0x43,
637 cable_delivery_system_descriptor = 0x44,
638 VBI_data_descriptor = 0x45,
639 VBI_teletext_descriptor = 0x46,
640 bouquet_name_descriptor = 0x47,
641 service_descriptor = 0x48,
642 country_availability_descriptor = 0x49,
643 linkage_descriptor = 0x4a,
644 NVOD_reference_descriptor = 0x4b,
645 time_shifted_service_descriptor = 0x4c,
646 short_event_descriptor = 0x4d,
647 extended_event_descriptor = 0x4e,
648 time_shifted_event_descriptor = 0x4f,
649 component_descriptor = 0x50,
650 mosaic_descriptor = 0x51,
651 stream_identifier_descriptor = 0x52,
652 CA_identifier_descriptor = 0x53,
653 content_descriptor = 0x54,
654 parental_rating_descriptor = 0x55,
655 teletext_descriptor = 0x56,
656 telephone_descriptor = 0x57,
657 local_time_offset_descriptor = 0x58,
658 subtitling_descriptor = 0x59,
659 terrestrial_delivery_system_descriptor = 0x5a,
660 multilingual_network_name_descriptor = 0x5b,
661 multilingual_bouquet_name_descriptor = 0x5c,
662 multilingual_service_name_descriptor = 0x5d,
663 multilingual_component_descriptor = 0x5e,
664 private_data_specifier_descriptor = 0x5f,
665 service_move_descriptor = 0x60,
666 short_smoothing_buffer_descriptor = 0x61,
667 frequency_list_descriptor = 0x62,
668 partial_transport_stream_descriptor = 0x63,
669 data_broadcast_descriptor = 0x64,
670 scrambling_descriptor = 0x65,
671 data_broadcast_id_descriptor = 0x66,
672 transport_stream_descriptor = 0x67,
673 DSNG_descriptor = 0x68,
674 PDC_descriptor = 0x69,
675 AC_3_descriptor = 0x6a,
676 ancillary_data_descriptor = 0x6b,
677 cell_list_descriptor = 0x6c,
678 cell_frequency_link_descriptor = 0x6d,
679 announcement_support_descriptor = 0x6e,
680 application_signalling_descriptor = 0x6f,
681 adaptation_field_data_descriptor = 0x70,
682 service_identifier_descriptor = 0x71,
683 service_availability_descriptor = 0x72,
684 default_authority_descriptor = 0x73,
685 related_content_descriptor = 0x74,
686 TVA_id_descriptor = 0x75,
687 content_identifier_descriptor = 0x76,
688 time_slice_fec_identifier_descriptor = 0x77,
689 ECM_repetition_rate_descriptor = 0x78,
690 S2_satellite_delivery_system_descriptor = 0x79,
691 enhanced_AC_3_descriptor = 0x7a,
692 DTS_descriptor = 0x7b,
693 AAC_descriptor = 0x7c,
694 XAIT_location_descriptor = 0x7d,
695 FTA_content_management_descriptor = 0x7e,
696 extension_descriptor = 0x7f,
697
698 /* SCTE 35 2004 */
699 CUE_identifier_descriptor = 0x8a,
700
701 extended_channel_name = 0xa0,
702 service_location = 0xa1,
703 /* From http://www.etherguidesystems.com/Help/SDOs/ATSC/Semantics/Descriptors/Default.aspx */
704 component_name_descriptor = 0xa3,
705
706 /* From http://www.coolstf.com/tsreader/descriptors.html */
707 logical_channel_number_descriptor = 0x83,
708
709 /* ISDB Descriptors, as defined on ABNT NBR 15603-1 2007 */
710
711 carousel_id_descriptor = 0x13,
712 association_tag_descriptor = 0x14,
713 deferred_association_tags_descriptor = 0x15,
714
715 hierarchical_transmission_descriptor = 0xc0,
716 digital_copy_control_descriptor = 0xc1,
717 network_identifier_descriptor = 0xc2,
718 partial_transport_stream_time_descriptor = 0xc3,
719 audio_component_descriptor = 0xc4,
720 hyperlink_descriptor = 0xc5,
721 target_area_descriptor = 0xc6,
722 data_contents_descriptor = 0xc7,
723 video_decode_control_descriptor = 0xc8,
724 download_content_descriptor = 0xc9,
725 CA_EMM_TS_descriptor = 0xca,
726 CA_contract_information_descriptor = 0xcb,
727 CA_service_descriptor = 0xcc,
728 TS_Information_descriptor = 0xcd,
729 extended_broadcaster_descriptor = 0xce,
730 logo_transmission_descriptor = 0xcf,
731 basic_local_event_descriptor = 0xd0,
732 reference_descriptor = 0xd1,
733 node_relation_descriptor = 0xd2,
734 short_node_information_descriptor = 0xd3,
735 STC_reference_descriptor = 0xd4,
736 series_descriptor = 0xd5,
737 event_group_descriptor = 0xd6,
738 SI_parameter_descriptor = 0xd7,
739 broadcaster_Name_Descriptor = 0xd8,
740 component_group_descriptor = 0xd9,
741 SI_prime_TS_descriptor = 0xda,
742 board_information_descriptor = 0xdb,
743 LDT_linkage_descriptor = 0xdc,
744 connected_transmission_descriptor = 0xdd,
745 content_availability_descriptor = 0xde,
746 service_group_descriptor = 0xe0,
747 carousel_compatible_composite_descriptor = 0xf7,
748 conditional_playback_descriptor = 0xf8,
749 ISDBT_delivery_system_descriptor = 0xfa,
750 partial_reception_descriptor = 0xfb,
751 emergency_information_descriptor = 0xfc,
752 data_component_descriptor = 0xfd,
753 system_management_descriptor = 0xfe,
754
755 /* ATSC descriptors - ATSC A/65:2009 spec */
756 atsc_stuffing_descriptor = 0x80,
757 atsc_ac3_audio_descriptor = 0x81,
758 atsc_caption_service_descriptor = 0x86,
759 atsc_content_advisory_descriptor = 0x87,
760 atsc_extended_channel_descriptor = 0xa0,
761 atsc_service_location_descriptor = 0xa1,
762 atsc_time_shifted_service_descriptor = 0xa2,
763 atsc_component_name_descriptor = 0xa3,
764 atsc_DCC_departing_request_descriptor = 0xa8,
765 atsc_DCC_arriving_request_descriptor = 0xa9,
766 atsc_redistribution_control_descriptor = 0xaa,
767 atsc_ATSC_private_information_descriptor = 0xad,
768 atsc_genre_descriptor = 0xab,
769};
770
771
772/*
773 * NOTE: this is here just to avoid API break. There was a typo
774 * on the name of this descriptor
775 */
776#define TS_Information_descriptior TS_Information_descriptor
777
778/* Please see desc_extension.h for extension_descriptor types */
779
780#endif
atsc_content_advisory_descriptor
@ atsc_content_advisory_descriptor
atsc_content_advisory descriptor - ATSC A/65:2009
Definition descriptors.h:759
content_descriptor
@ content_descriptor
content descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:653
service_location
@ service_location
service_location descriptor - SCTE 35 2004
Definition descriptors.h:702
network_identifier_descriptor
@ network_identifier_descriptor
network_identifier descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:717
CA_EMM_TS_descriptor
@ CA_EMM_TS_descriptor
CA_EMM_TS descriptor - ABNT NBR 15603-1 2007.
Definition descriptors.h:725
component_descriptor
@ component_descriptor
component descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:649
cell_frequency_link_descriptor
@ cell_frequency_link_descriptor
cell_frequency_link descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:678
carousel_compatible_composite_descriptor
@ carousel_compatible_composite_descriptor
carousel_compatible_composite descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:747
parental_rating_descriptor
@ parental_rating_descriptor
parental_rating descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:654
ancillary_data_descriptor
@ ancillary_data_descriptor
ancillary_data descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:676
node_relation_descriptor
@ node_relation_descriptor
node_relation descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:733
STC_reference_descriptor
@ STC_reference_descriptor
STC_reference descriptor - ABNT NBR 15603-1 2007.
Definition descriptors.h:735
atsc_caption_service_descriptor
@ atsc_caption_service_descriptor
atsc_caption_service descriptor - ATSC A/65:2009
Definition descriptors.h:758
network_name_descriptor
@ network_name_descriptor
network_name descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:633
data_contents_descriptor
@ data_contents_descriptor
data_contents descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:722
logical_channel_number_descriptor
@ logical_channel_number_descriptor
logical_channel_number descriptor - SCTE 35 2004
Definition descriptors.h:707
content_identifier_descriptor
@ content_identifier_descriptor
content_identifier descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:687
digital_copy_control_descriptor
@ digital_copy_control_descriptor
digital_copy_control descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:716
AVC_timing_and_HRD_descriptor
@ AVC_timing_and_HRD_descriptor
AVC_timing_and_HRD descriptor - ISO/IEC 13818-1.
Definition descriptors.h:627
ISDBT_delivery_system_descriptor
@ ISDBT_delivery_system_descriptor
ISDBT terrestrial_delivery_system descriptor - ABNT NBR 15603-1 2007.
Definition descriptors.h:749
carousel_id_descriptor
@ carousel_id_descriptor
carousel_id descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:711
DTS_descriptor
@ DTS_descriptor
DTS descriptor - ETSI EN 300 468 V1.11.1 (2010-04).
Definition descriptors.h:692
XAIT_location_descriptor
@ XAIT_location_descriptor
XAIT_location descriptor - ETSI EN 300 468 V1.11.1 (2010-04).
Definition descriptors.h:694
video_decode_control_descriptor
@ video_decode_control_descriptor
video_decode_control descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:723
CA_contract_information_descriptor
@ CA_contract_information_descriptor
CA_contract_information descriptor - ABNT NBR 15603-1 2007.
Definition descriptors.h:726
ibp_descriptor
@ ibp_descriptor
ibp descriptor - ISO/IEC 13818-1
Definition descriptors.h:610
basic_local_event_descriptor
@ basic_local_event_descriptor
basic_local_event descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:731
event_group_descriptor
@ event_group_descriptor
event_group descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:737
DSNG_descriptor
@ DSNG_descriptor
DSNG descriptor - ETSI EN 300 468 V1.11.1 (2010-04).
Definition descriptors.h:673
multilingual_component_descriptor
@ multilingual_component_descriptor
multilingual_component descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:663
extended_broadcaster_descriptor
@ extended_broadcaster_descriptor
extended_broadcaster descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:729
AAC_descriptor
@ AAC_descriptor
AAC descriptor - ETSI EN 300 468 V1.11.1 (2010-04).
Definition descriptors.h:693
component_group_descriptor
@ component_group_descriptor
component_group descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:740
CA_identifier_descriptor
@ CA_identifier_descriptor
CA_identifier descriptor - ETSI EN 300 468 V1.11.1 (2010-04).
Definition descriptors.h:652
data_broadcast_descriptor
@ data_broadcast_descriptor
data_broadcast descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:669
system_clock_descriptor
@ system_clock_descriptor
system_clock descriptor - ISO/IEC 13818-1
Definition descriptors.h:603
muxcode_descriptor
@ muxcode_descriptor
muxcode descriptor - ISO/IEC 13818-1
Definition descriptors.h:618
bouquet_name_descriptor
@ bouquet_name_descriptor
bouquet_name descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:640
default_authority_descriptor
@ default_authority_descriptor
default_authority descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:684
iod_descriptor
@ iod_descriptor
iod descriptor - ISO/IEC 13818-1
Definition descriptors.h:614
atsc_time_shifted_service_descriptor
@ atsc_time_shifted_service_descriptor
atsc_time_shifted_service descriptor - ATSC A/65:2009
Definition descriptors.h:762
AVC_video_descriptor
@ AVC_video_descriptor
AVC_video descriptor - ISO/IEC 13818-1.
Definition descriptors.h:625
data_component_descriptor
@ data_component_descriptor
data_component descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:752
short_node_information_descriptor
@ short_node_information_descriptor
short_node_information descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:734
service_list_descriptor
@ service_list_descriptor
service_list descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:634
ds_alignment_descriptor
@ ds_alignment_descriptor
ds_alignment descriptor - ISO/IEC 13818-1
Definition descriptors.h:598
extended_channel_name
@ extended_channel_name
extended_channel_name descriptor - SCTE 35 2004
Definition descriptors.h:701
time_slice_fec_identifier_descriptor
@ time_slice_fec_identifier_descriptor
time_slice_fec_identifier descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:688
content_labeling_descriptor
@ content_labeling_descriptor
content_labeling descriptor - ISO/IEC 13818-1
Definition descriptors.h:621
ECM_repetition_rate_descriptor
@ ECM_repetition_rate_descriptor
ECM_repetition_rate descriptor - ETSI EN 300 468 V1.11.1 (2010-04).
Definition descriptors.h:689
extension_descriptor
@ extension_descriptor
extension descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:696
atsc_redistribution_control_descriptor
@ atsc_redistribution_control_descriptor
atsc_redistribution_control descriptor - ATSC A/65:2009
Definition descriptors.h:766
board_information_descriptor
@ board_information_descriptor
board_information descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:742
time_shifted_event_descriptor
@ time_shifted_event_descriptor
time_shifted_event descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:648
partial_transport_stream_descriptor
@ partial_transport_stream_descriptor
partial_transport_stream descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:668
multiplex_buffer_utilization_descriptor
@ multiplex_buffer_utilization_descriptor
multiplex_buffer_utilization descriptor - ISO/IEC 13818-1
Definition descriptors.h:604
scrambling_descriptor
@ scrambling_descriptor
scrambling descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:670
audio_stream_descriptor
@ audio_stream_descriptor
audio_stream descriptor - ISO/IEC 13818-1
Definition descriptors.h:595
service_identifier_descriptor
@ service_identifier_descriptor
service_identifier descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:682
smoothing_buffer_descriptor
@ smoothing_buffer_descriptor
smoothing_buffer descriptor - ISO/IEC 13818-1
Definition descriptors.h:608
cable_delivery_system_descriptor
@ cable_delivery_system_descriptor
cable_delivery_system descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:637
broadcaster_Name_Descriptor
@ broadcaster_Name_Descriptor
broadcaster_Name descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:739
target_area_descriptor
@ target_area_descriptor
target_area descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:721
atsc_ac3_audio_descriptor
@ atsc_ac3_audio_descriptor
atsc_ac3_audio descriptor - ATSC A/65:2009
Definition descriptors.h:757
service_group_descriptor
@ service_group_descriptor
service_group descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:746
atsc_DCC_departing_request_descriptor
@ atsc_DCC_departing_request_descriptor
atsc_DCC_departing_request descriptor - ATSC A/65:2009
Definition descriptors.h:764
external_es_id_descriptor
@ external_es_id_descriptor
external_es_id descriptor - ISO/IEC 13818-1
Definition descriptors.h:617
metadata_std_descriptor
@ metadata_std_descriptor
metadata_std descriptor - ISO/IEC 13818-1
Definition descriptors.h:624
application_signalling_descriptor
@ application_signalling_descriptor
application_signalling descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:680
std_descriptor
@ std_descriptor
std descriptor - ISO/IEC 13818-1
Definition descriptors.h:609
short_event_descriptor
@ short_event_descriptor
short_event descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:646
VBI_data_descriptor
@ VBI_data_descriptor
VBI_data descriptor - ETSI EN 300 468 V1.11.1 (2010-04).
Definition descriptors.h:638
stuffing_descriptor
@ stuffing_descriptor
stuffing descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:635
content_availability_descriptor
@ content_availability_descriptor
content_availability descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:745
registration_descriptor
@ registration_descriptor
registration descriptor - ISO/IEC 13818-1
Definition descriptors.h:597
short_smoothing_buffer_descriptor
@ short_smoothing_buffer_descriptor
short_smoothing_buffer descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:666
atsc_component_name_descriptor
@ atsc_component_name_descriptor
atsc_component_name descriptor - ATSC A/65:2009
Definition descriptors.h:763
SI_prime_TS_descriptor
@ SI_prime_TS_descriptor
SI_prime_transport_stream descriptor - ABNT NBR 15603-1 2007.
Definition descriptors.h:741
announcement_support_descriptor
@ announcement_support_descriptor
announcement_support descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:679
component_name_descriptor
@ component_name_descriptor
component_name descriptor - SCTE 35 2004
Definition descriptors.h:704
CUE_identifier_descriptor
@ CUE_identifier_descriptor
CUE_identifier descriptor - SCTE 35 2004.
Definition descriptors.h:699
emergency_information_descriptor
@ emergency_information_descriptor
emergency_information descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:751
atsc_genre_descriptor
@ atsc_genre_descriptor
atsc_genre descriptor - ATSC A/65:2009
Definition descriptors.h:768
metadata_descriptor
@ metadata_descriptor
metadata descriptor - ISO/IEC 13818-1
Definition descriptors.h:623
atsc_extended_channel_descriptor
@ atsc_extended_channel_descriptor
atsc_extended_channel descriptor - ATSC A/65:2009
Definition descriptors.h:760
atsc_ATSC_private_information_descriptor
@ atsc_ATSC_private_information_descriptor
atsc_ATSC_private_information descriptor - ATSC A/65:2009
Definition descriptors.h:767
mpeg4_video_descriptor
@ mpeg4_video_descriptor
mpeg4_video descriptor - ISO/IEC 13818-1
Definition descriptors.h:612
multilingual_bouquet_name_descriptor
@ multilingual_bouquet_name_descriptor
multilingual_bouquet_name descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:661
multilingual_network_name_descriptor
@ multilingual_network_name_descriptor
multilingual_network_name descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:660
multiplexbuffer_descriptor
@ multiplexbuffer_descriptor
multiplexbuffer descriptor - ISO/IEC 13818-1
Definition descriptors.h:620
cell_list_descriptor
@ cell_list_descriptor
cell_list descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:677
maximum_bitrate_descriptor
@ maximum_bitrate_descriptor
maximum_bitrate descriptor - ISO/IEC 13818-1
Definition descriptors.h:606
satellite_delivery_system_descriptor
@ satellite_delivery_system_descriptor
satellite_delivery_system descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:636
terrestrial_delivery_system_descriptor
@ terrestrial_delivery_system_descriptor
terrestrial_delivery_system descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:659
service_move_descriptor
@ service_move_descriptor
service_move descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:665
atsc_service_location_descriptor
@ atsc_service_location_descriptor
atsc_service_location descriptor - ATSC A/65:2009
Definition descriptors.h:761
download_content_descriptor
@ download_content_descriptor
download_content descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:724
data_broadcast_id_descriptor
@ data_broadcast_id_descriptor
data_broadcast_id descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:671
transport_stream_descriptor
@ transport_stream_descriptor
transport_stream descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:672
multilingual_service_name_descriptor
@ multilingual_service_name_descriptor
multilingual_service_name descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:662
hyperlink_descriptor
@ hyperlink_descriptor
hyperlink descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:720
atsc_stuffing_descriptor
@ atsc_stuffing_descriptor
atsc_stuffing descriptor - ATSC A/65:2009
Definition descriptors.h:756
deferred_association_tags_descriptor
@ deferred_association_tags_descriptor
deferred_association_tags descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:713
AC_3_descriptor
@ AC_3_descriptor
AC_3 descriptor - ETSI EN 300 468 V1.11.1 (2010-04).
Definition descriptors.h:675
association_tag_descriptor
@ association_tag_descriptor
association_tag descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:712
time_shifted_service_descriptor
@ time_shifted_service_descriptor
time_shifted_service descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:645
partial_reception_descriptor
@ partial_reception_descriptor
partial_reception descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:750
frequency_list_descriptor
@ frequency_list_descriptor
frequency_list descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:667
service_availability_descriptor
@ service_availability_descriptor
service_availability descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:683
FTA_content_management_descriptor
@ FTA_content_management_descriptor
FTA_content_management descriptor - ETSI EN 300 468 V1.11.1 (2010-04).
Definition descriptors.h:695
logo_transmission_descriptor
@ logo_transmission_descriptor
logo_transmission descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:730
iso639_language_descriptor
@ iso639_language_descriptor
iso639_language descriptor - ISO/IEC 13818-1
Definition descriptors.h:602
teletext_descriptor
@ teletext_descriptor
teletext descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:655
metadata_pointer_descriptor
@ metadata_pointer_descriptor
metadata_pointer descriptor - ISO/IEC 13818-1
Definition descriptors.h:622
conditional_access_descriptor
@ conditional_access_descriptor
conditional_access descriptor - ISO/IEC 13818-1
Definition descriptors.h:601
copyright_descriptor
@ copyright_descriptor
copyright descriptor - ISO/IEC 13818-1
Definition descriptors.h:605
ipmp_descriptor
@ ipmp_descriptor
ipmp descriptor - ISO/IEC 13818-1
Definition descriptors.h:626
mpeg4_audio_descriptor
@ mpeg4_audio_descriptor
mpeg4_audio descriptor - ISO/IEC 13818-1
Definition descriptors.h:613
service_descriptor
@ service_descriptor
service descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:641
private_data_specifier_descriptor
@ private_data_specifier_descriptor
private_data_specifier descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:664
series_descriptor
@ series_descriptor
series descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:736
hierarchical_transmission_descriptor
@ hierarchical_transmission_descriptor
hierarchical_transmission descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:715
system_management_descriptor
@ system_management_descriptor
system_management descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:753
video_stream_descriptor
@ video_stream_descriptor
video_stream descriptor - ISO/IEC 13818-1
Definition descriptors.h:594
sl_descriptor
@ sl_descriptor
sl descriptor - ISO/IEC 13818-1
Definition descriptors.h:615
related_content_descriptor
@ related_content_descriptor
related_content descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:685
target_background_grid_descriptor
@ target_background_grid_descriptor
target_background_grid descriptor - ISO/IEC 13818-1
Definition descriptors.h:599
PDC_descriptor
@ PDC_descriptor
PDC descriptor - ETSI EN 300 468 V1.11.1 (2010-04).
Definition descriptors.h:674
fmxbuffersize_descriptor
@ fmxbuffersize_descriptor
fmxbuffersize descriptor - ISO/IEC 13818-1
Definition descriptors.h:619
TVA_id_descriptor
@ TVA_id_descriptor
TVA_id descriptor - ETSI EN 300 468 V1.11.1 (2010-04).
Definition descriptors.h:686
private_data_indicator_descriptor
@ private_data_indicator_descriptor
private_data_indicator descriptor - ISO/IEC 13818-1
Definition descriptors.h:607
extended_event_descriptor
@ extended_event_descriptor
extended_event descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:647
mpeg2_aac_audio_descriptor
@ mpeg2_aac_audio_descriptor
mpeg2_aac_audio descriptor - ISO/IEC 13818-1
Definition descriptors.h:628
partial_transport_stream_time_descriptor
@ partial_transport_stream_time_descriptor
partial_transport_stream_time descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:718
telephone_descriptor
@ telephone_descriptor
telephone descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:656
country_availability_descriptor
@ country_availability_descriptor
country_availability descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:642
VBI_teletext_descriptor
@ VBI_teletext_descriptor
VBI_teletext descriptor - ETSI EN 300 468 V1.11.1 (2010-04).
Definition descriptors.h:639
enhanced_AC_3_descriptor
@ enhanced_AC_3_descriptor
enhanced_AC_3 descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:691
S2_satellite_delivery_system_descriptor
@ S2_satellite_delivery_system_descriptor
S2_satellite_delivery_system descriptor - ETSI EN 300 468 V1.11.1 (2010-04).
Definition descriptors.h:690
hierarchy_descriptor
@ hierarchy_descriptor
hierarchy descriptor - ISO/IEC 13818-1
Definition descriptors.h:596
stream_identifier_descriptor
@ stream_identifier_descriptor
stream_identifier descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:651
audio_component_descriptor
@ audio_component_descriptor
audio_component descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:719
connected_transmission_descriptor
@ connected_transmission_descriptor
connected_transmission descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:744
adaptation_field_data_descriptor
@ adaptation_field_data_descriptor
adaptation_field_data descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:681
conditional_playback_descriptor
@ conditional_playback_descriptor
conditional_playback descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:748
NVOD_reference_descriptor
@ NVOD_reference_descriptor
NVOD_reference descriptor - ETSI EN 300 468 V1.11.1 (2010-04).
Definition descriptors.h:644
SI_parameter_descriptor
@ SI_parameter_descriptor
SI_parameter descriptor - ABNT NBR 15603-1 2007.
Definition descriptors.h:738
flexmux_timing_descriptor
@ flexmux_timing_descriptor
flexmux_timing descriptor - ISO/IEC 13818-1
Definition descriptors.h:629
CA_service_descriptor
@ CA_service_descriptor
CA_service descriptor - ABNT NBR 15603-1 2007.
Definition descriptors.h:727
subtitling_descriptor
@ subtitling_descriptor
subtitling descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:658
local_time_offset_descriptor
@ local_time_offset_descriptor
local_time_offset descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:657
atsc_DCC_arriving_request_descriptor
@ atsc_DCC_arriving_request_descriptor
atsc_DCC_arriving_request descriptor - ATSC A/65:2009
Definition descriptors.h:765
LDT_linkage_descriptor
@ LDT_linkage_descriptor
LDT_linkage descriptor - ABNT NBR 15603-1 2007.
Definition descriptors.h:743
TS_Information_descriptor
@ TS_Information_descriptor
transport_stream_information descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:728
linkage_descriptor
@ linkage_descriptor
linkage descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:643
mosaic_descriptor
@ mosaic_descriptor
mosaic descriptor - ETSI EN 300 468 V1.11.1 (2010-04)
Definition descriptors.h:650
video_window_descriptor
@ video_window_descriptor
video_window descriptor - ISO/IEC 13818-1
Definition descriptors.h:600
fmc_descriptor
@ fmc_descriptor
fmc descriptor - ISO/IEC 13818-1
Definition descriptors.h:616
reference_descriptor
@ reference_descriptor
reference descriptor - ABNT NBR 15603-1 2007
Definition descriptors.h:732
dvb_desc_free
void dvb_desc_free(struct dvb_desc **list)
frees a dvb_desc linked list
dvb_desc_free_func
void(* dvb_desc_free_func)(struct dvb_desc *desc)
Function prototype for the descriptors memory free code.
Definition descriptors.h:234
descriptors
descriptors
List containing all descriptors used by Digital TV MPEG-TS.
Definition descriptors.h:592
dvb_hexdump
void dvb_hexdump(struct dvb_v5_fe_parms *parms, const char *prefix, const unsigned char *buf, int len)
dumps data into the logs in hexadecimal format
dvb_desc_print
void dvb_desc_print(struct dvb_v5_fe_parms *parms, struct dvb_desc *desc)
prints the contents of a struct dvb_desc linked list
dvb_descriptors
const struct dvb_descriptor dvb_descriptors[]
Contains the parsers for the several descriptors.
dvb_desc_print_func
void(* dvb_desc_print_func)(struct dvb_v5_fe_parms *parms, const struct dvb_desc *desc)
Function prototype for the descriptors parsing print code.
Definition descriptors.h:225
dvb_table_initializers
const dvb_table_init_func dvb_table_initializers[256]
Table with all possible descriptors.
dvb_table_init_func
void(* dvb_table_init_func)(struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_t buflen, void **table)
Function prototype for a function that initializes the descriptors parsing on a table.
Definition descriptors.h:79
dvb_bcd
uint32_t dvb_bcd(uint32_t bcd)
Converts from BCD to CPU integer internal representation.
dvb_desc_init_func
int(* dvb_desc_init_func)(struct dvb_v5_fe_parms *parms, const uint8_t *buf, struct dvb_desc *desc)
Function prototype for the descriptors parsing init code.
Definition descriptors.h:215
dvb_desc_parse
int dvb_desc_parse(struct dvb_v5_fe_parms *parms, const uint8_t *buf, uint16_t buflen, struct dvb_desc **head_desc)
parse MPEG-TS descriptors
dvb_desc
Linked list containing the several descriptors found on a MPEG-TS table.
Definition descriptors.h:117
dvb_desc::type
uint8_t type
Definition descriptors.h:118
dvb_desc::data
uint8_t data[]
Definition descriptors.h:122
dvb_desc::length
uint8_t length
Definition descriptors.h:119
dvb_desc::next
struct dvb_desc * next
Definition descriptors.h:120
dvb_descriptor
Contains the parser information for the MPEG-TS parser code.
Definition descriptors.h:249
dvb_descriptor::init
dvb_desc_init_func init
Definition descriptors.h:251
dvb_descriptor::name
const char * name
Definition descriptors.h:250
dvb_descriptor::size
ssize_t size
Definition descriptors.h:254
dvb_descriptor::free
dvb_desc_free_func free
Definition descriptors.h:253
dvb_descriptor::print
dvb_desc_print_func print
Definition descriptors.h:252
dvb_v5_fe_parms
Keeps data needed to handle the DVB frontend.
Definition dvb-fe.h:117