diff options
author | Mark Purcell <msp@debian.org> | 2008-06-22 11:00:40 +1000 |
---|---|---|
committer | etobi <git@e-tobi.net> | 2013-09-03 09:48:42 +0200 |
commit | 891c51ff368ed700dec6025eeb47ce4d96f76418 (patch) | |
tree | 3729664829e4faa691d403274f38eb10890b533c /util/scan/atsc_psip_section.pl | |
parent | 1c6e1f28f54ec2606c23936c1d8689f2be55a86c (diff) | |
parent | ab959d7b4194715870128e616b8e29d4a101e488 (diff) | |
download | linux-dvb-apps-debian/1.1.1+rev1207-1.tar.gz |
Imported Debian patch 1.1.1+rev1207-1debian/1.1.1+rev1207-1
Diffstat (limited to 'util/scan/atsc_psip_section.pl')
-rw-r--r-- | util/scan/atsc_psip_section.pl | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/util/scan/atsc_psip_section.pl b/util/scan/atsc_psip_section.pl new file mode 100644 index 0000000..50548c6 --- /dev/null +++ b/util/scan/atsc_psip_section.pl @@ -0,0 +1,76 @@ +use strict; + +return { +#{ 0x80, 0x80, "ATSC stuffing descriptor" }, +#{ 0x81, 0x81, "ATSC AC-3 audio descriptor" }, +#{ 0x82, 0x85, "ATSC TODO" }, +#{ 0x86, 0x86, "ATSC caption service descriptor" }, +#{ 0x87, 0x87, "ATSC content advisory descriptor" }, +#{ 0x88, 0x8F, "ATSC TODO" }, +#{ 0xA0, 0xA0, "ATSC extended channel name descriptor" }, +#{ 0xA1, 0xA1, "ATSC service location descriptor" }, +#{ 0xA2, 0xA2, "ATSC time-shifted service descriptor" }, +#{ 0xA3, 0xA3, "ATSC component name descriptor" }, +#{ 0xA4, 0xA7, "ATSC TODO" }, +#{ 0xA8, 0xA8, "ATSC DCC departing request descriptor" }, +#{ 0xA9, 0xA9, "ATSC DCC arriving request descriptor" }, +#{ 0xAA, 0xAA, "ATSC redistribution control descriptor" }, + descriptors => [ + { id => 0xa0, + name => "ATSC_extended_channel_name_descriptor", + elements => [ + descriptor_tag => 8, + descriptor_length => 8, + TODO => 1, + ], + }, + { id => 0xa1, + name => "ATSC_service_location_descriptor", + elements => [ + descriptor_tag => 8, + descriptor_length => 8, + reserved => 3, + PCR_PID => 13, + number_elements => 8, + ], + } + ], + misc => [ + { name => "ATSC_service_location_element", + elements => [ + stream_type => 8, + reserved => 3, + elementary_PID => 13, + ISO_639_language_code => 24, + ], + }, + { name => "tvct_channel", + elements => [ + short_name0 => 16, + short_name1 => 16, + short_name2 => 16, + short_name3 => 16, + short_name4 => 16, + short_name5 => 16, + short_name6 => 16, + reserved0 => 4, + major_channel_number => 10, + minor_channel_number => 10, + modulation_mode => 8, + carrier_frequency => 32, + channel_TSID => 16, + program_number => 16, + ETM_location => 2, + access_controlled => 1, + hidden => 1, + reserved1 => 2, + hide_guide => 1, + reserved2 => 3, + service_type => 6, + source_id => 16, + reserved3 => 6, + descriptors_length => 10, + ], + }, + ] +}; |