📄 dvb_str.c
字号:
{ 0x0D, 0x7F, "reserved" }, { 0x80, 0xFE, "user defined" }, { 0xFF, 0xFF, "reserved" }, { 0,0, NULL } }; return findTableID (Table, flag);}char *dvbstrHandover_TYPE (u_int flag){ STR_TABLE Table[] = { { 0x00, 0x00, "reserved" }, { 0x01, 0x01, "DVB hand-over to an identical service in a neighbouring country" }, { 0x02, 0x02, "DVB hand-over to local variation to same service" }, { 0x03, 0x03, "DVB hand-over to an associated service" }, { 0,0, NULL } }; return findTableID (Table, flag);}char *dvbstrOrigin_TYPE (u_int flag){ STR_TABLE Table[] = { { 0x00, 0x00, "NIT" }, { 0x01, 0x01, "SDT" }, { 0,0, NULL } }; return findTableID (Table, flag);}/* -- Service Link Descriptor*/ char *dvbstrService_TYPE (u_int flag){ STR_TABLE Table[] = { { 0x00, 0x00, "reserved" }, { 0x01, 0x01, "digital television service" }, { 0x02, 0x02, "digital radio sound service" }, { 0x03, 0x03, "Teletext service" }, { 0x04, 0x04, "NVOD reference service" }, { 0x05, 0x05, "NVOD time-shifted service" }, { 0x06, 0x06, "mosaic service" }, { 0x07, 0x07, "PAL coded signal" }, { 0x08, 0x08, "SECAM coded signal" }, { 0x09, 0x09, "D/D2-MAC" }, { 0x0A, 0x0A, "FM-Radio" }, { 0x0B, 0x0B, "NTSC coded signal" }, { 0x0C, 0x0C, "data broadcast service" }, { 0x0D, 0x0D, "reserved for Common Interface Usage" }, { 0x0E, 0x0E, "RCS Map" }, { 0x0F, 0x0F, "RCS FLS" }, { 0x10, 0x10, "DVB MHP service" }, { 0x11, 0x7F, "reserved" }, { 0x80, 0xFE, "User defined" }, { 0xFF, 0xFF, "reserved" }, { 0,0, NULL } }; return findTableID (Table, flag);}/* -- Programm Map Table Stream Type -- ISO 13818-1 -- 2004-07 updated H.222.0 AMD1 -- 2004-08 updated H.222.0 AMD3*/char *dvbstrStream_TYPE (u_int flag){ STR_TABLE Table[] = { // -- updated 2003-10-17 from H.220 // -- updated 2003-11-04 from ATSC / ISO13818-6AMD1-2000 // -- updated 2004-07-26 from ITU-T Rec H.222.0 AMD1 // -- updated 2004-08-12 from ITU-T Rec H.222.0 AMD3 { 0x00, 0x00, "ITU-T | ISO-IE Reserved" }, { 0x01, 0x01, "ISO/IEC 11172 Video" }, { 0x02, 0x02, "ITU-T Rec. H.262 | ISO/IEC 13818-2 Video | ISO/IEC 11172-2 constr. parameter video stream" }, { 0x03, 0x03, "ISO/IEC 11172 Audio" }, { 0x04, 0x04, "ISO/IEC 13818-3 Audio" }, { 0x05, 0x05, "ITU-T Rec. H.222.0 | ISO/IEC 13818-1 private sections" }, { 0x06, 0x06, "ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data" }, { 0x07, 0x07, "ISO/IEC 13512 MHEG" }, { 0x08, 0x08, "ITU-T Rec. H.222.0 | ISO/IEC 13818-1 Annex A DSM CC" }, { 0x09, 0x09, "ITU-T Rec. H.222.0 | ISO/IEC 13818-1/11172-1 auxiliary" }, { 0x0A, 0x0A, "ISO/IEC 13818-6 Multiprotocol encapsulation" }, { 0x0B, 0x0B, "ISO/IEC 13818-6 DSM-CC U-N Messages" }, { 0x0C, 0x0C, "ISO/IEC 13818-6 Stream Descriptors" }, { 0x0D, 0x0D, "ISO/IEC 13818-6 Sections (any type, including private data)" }, { 0x0E, 0x0E, "ISO/IEC 13818-1 auxiliary" }, { 0x0F, 0x0F, "ISO/IEC 13818-7 Audio with ADTS transport sytax" }, { 0x10, 0x10, "ISO/IEC 14496-2 Visual" }, { 0x11, 0x11, "ISO/IEC 14496-3 Audio with LATM transport syntax as def. in ISO/IEC 14496-3/AMD1" }, { 0x12, 0x12, "ISO/IEC 14496-1 SL-packetized stream or FlexMux stream carried in PES packets" }, { 0x13, 0x13, "ISO/IEC 14496-1 SL-packetized stream or FlexMux stream carried in ISO/IEC 14496 sections" }, { 0x14, 0x14, "ISO/IEC 13818-6 DSM-CC synchronized download protocol" }, // Update 2004-07 { 0x15, 0x15, "Metadata carried in PES packets using the Metadata Access Unit Wrapper" }, { 0x16, 0x16, "Metadata carried in metadata_sections" }, { 0x17, 0x17, "Metadata carried in ISO/IEC 13818-6 (DSM-CC) Data Carousel" }, { 0x18, 0x18, "Metadata carried in ISO/IEC 13818-6 (DSM-CC) Object Carousel" }, { 0x19, 0x19, "Metadata carried in ISO/IEC 13818-6 Synchronized Download Protocol using the Metadata Access Unit Wrapper" }, { 0x1A, 0x1A, "IPMP stream (defined in ISO/IEC 13818-11, MPEG-2 IPMP)" }, { 0x1B, 0x1B, "AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video" }, { 0x1C, 0x7E, "ITU-T Rec. H.222.0 | ISO/IEC 13818-1 reserved" }, { 0x7F, 0x7F, "IPMP stream" }, // $$$ ATSC ID Names could be includes... // $$$ TODO streamtype == 0x90 at MPE_FEC , see EN 301192 v1.4.1 s9.5 { 0x80, 0xFF, "User private" }, { 0,0, NULL } }; return findTableID (Table, flag);}/* -- Programm Map Table Stream Type (Short String ID: ""=Unkown, "S"=Section, "P"=PES) -- only important types... -- (short string used for spidering PIDs)*/char *dvbstrStream_TYPE_SHORT (u_int flag){ // see dvbstrStream_TYPE STR_TABLE Table[] = { { 0x00, 0x00, "" }, { 0x01, 0x04, "P" }, { 0x05, 0x05, "S" }, { 0x06, 0x06, "P" }, { 0x07, 0x07, "" }, { 0x08, 0x09, "P" }, { 0x0A, 0x0A, "" }, { 0x0B, 0x0B, "S" }, { 0x0C, 0x0C, "P" }, { 0x0D, 0x0D, "S" }, { 0x0E, 0x0E, "P" }, { 0x0F, 0xFF, "" }, { 0x10, 0x10, "" }, { 0x11, 0x11, "" }, { 0x12, 0x12, "P" }, { 0x13, 0x13, "S" }, { 0x14, 0x14, "" }, // $$$ TODO sect o PES { 0x15, 0x15, "P" }, { 0x16, 0x16, "S" }, { 0x17, 0x7F, "" }, // ??? $$$ TODO { 0,0, NULL } }; return findTableID (Table, flag);}/* -- Audio Types (descriptor e.g. ISO 639)*/char *dvbstrAudio_TYPE (u_int flag){ STR_TABLE Table[] = { { 0x00, 0x00, "undefined" }, { 0x01, 0x01, "clean effects" }, { 0x02, 0x02, "hearing impaired" }, { 0x03, 0x03, "visual impaired commentary" }, { 0x04, 0xFF, "reserved" }, { 0,0, NULL } }; return findTableID (Table, flag);}/* -- CA-System Identifier (ETSI ETR 162)*/char *dvbstrCASystem_ID (u_int id){ STR_TABLE Table[] = { // -- updated from dvb.org 2003-10-16 { 0x0000, 0x0000, "Reserved" }, { 0x0001, 0x00FF, "Standardized Systems" }, { 0x0100, 0x01FF, "Canal Plus (Seca/MediaGuard)" }, { 0x0200, 0x02FF, "CCETT" }, { 0x0300, 0x03FF, "MSG MediaServices GmbH" }, { 0x0400, 0x04FF, "Eurodec" }, { 0x0500, 0x05FF, "France Telecom (Viaccess)" }, { 0x0600, 0x06FF, "Irdeto" }, { 0x0700, 0x07FF, "Jerrold/GI/Motorola" }, { 0x0800, 0x08FF, "Matra Communication" }, { 0x0900, 0x09FF, "News Datacom (Videoguard)" }, { 0x0A00, 0x0AFF, "Nokia" }, { 0x0B00, 0x0BFF, "Norwegian Telekom (Conax)" }, { 0x0C00, 0x0CFF, "NTL" }, { 0x0D00, 0x0DFF, "Philips (Cryptoworks)" }, { 0x0E00, 0x0EFF, "Scientific Atlanta (Power VU)" }, { 0x0F00, 0x0FFF, "Sony" }, { 0x1000, 0x10FF, "Tandberg Television" }, { 0x1100, 0x11FF, "Thompson" }, { 0x1200, 0x12FF, "TV/COM" }, { 0x1300, 0x13FF, "HPT - Croatian Post and Telecommunications" }, { 0x1400, 0x14FF, "HRT - Croatian Radio and Television" }, { 0x1500, 0x15FF, "IBM" }, { 0x1600, 0x16FF, "Nera" }, { 0x1700, 0x17FF, "Beta Technik (Betacrypt)" }, { 0x1800, 0x18FF, "Kudelski SA"}, { 0x1900, 0x19FF, "Titan Information Systems"}, { 0x2000, 0x20FF, "Telef髇ica Servicios Audiovisuales"}, { 0x2100, 0x21FF, "STENTOR (France Telecom, CNES and DGA)"}, { 0x2200, 0x22FF, "Scopus Network Technologies"}, { 0x2300, 0x23FF, "BARCO AS"}, { 0x2400, 0x24FF, "StarGuide Digital Networks "}, { 0x2500, 0x25FF, "Mentor Data System, Inc."}, { 0x2600, 0x26FF, "European Broadcasting Union"}, { 0x4700, 0x47FF, "General Instrument"}, { 0x4800, 0x48FF, "Telemann"}, { 0x4900, 0x49FF, "Digital TV Industry Alliance of China"}, { 0x4A00, 0x4A0F, "Tsinghua TongFang"}, { 0x4A10, 0x4A1F, "Easycas"}, { 0x4A20, 0x4A2F, "AlphaCrypt"}, { 0x4A30, 0x4A3F, "DVN Holdings"}, { 0x4A40, 0x4A4F, "Shanghai Advanced Digital Technology Co. Ltd. (ADT)"}, { 0x4A50, 0x4A5F, "Shenzhen Kingsky Company (China) Ltd"}, { 0x4A60, 0x4A6F, "@SKY"}, { 0x4A70, 0x4A7F, "DreamCrypt"}, { 0x4A80, 0x4A8F, "THALESCrypt"}, { 0x4A90, 0x4A9F, "Runcom Technologies"}, { 0x4AA0, 0x4AAF, "SIDSA"}, { 0x4AB0, 0x4ABF, "Beijing Compunicate Technology Inc."}, { 0x4AC0, 0x4ACF, "Latens Systems Ltd"}, { 0,0, NULL } }; return findTableID (Table, id);}/* -- Data Broadcast ID -- ETR 162*/ char *dvbstrDataBroadcast_ID (u_int flag){ STR_TABLE Table[] = { // -- upodated 2003-10-16 // { Data Broadcast ID, Data Broadcast ID, "Data Broadcast Specification Name" }, { 0x0000, 0x0000, "Reserved for future use" }, { 0x0001, 0x0001, "Data pipe" }, { 0x0002, 0x0002, "Asynchronous data stream" }, { 0x0003, 0x0003, "Synchronous data stream" }, { 0x0004, 0x0004, "Synchronised data stream" }, { 0x0005, 0x0005, "Multi protocol encapsulation" }, { 0x0006, 0x0006, "Data Carousel" }, { 0x0007, 0x0007, "Object Carousel" }, { 0x0008, 0x0008, "DVB ATM streams" }, { 0x0009, 0x0009, "Higher Protocols based on asynchronous data streams" }, { 0x000A, 0x000A, "System Software Update" }, // TR 102 006 { 0x000B, 0x00ef, "Reserved for future use by DVB" }, { 0x00F0, 0x00F0, "MHP Object Carousel" }, // from registration at www.dvb.org { 0x00F1, 0x00F1, "reserved for MHP Multi Protocol Encapsulation" }, { 0x00F2, 0x00Fe, "Reserved for MHP use" }, { 0x00FF, 0x00FF, "Reserved for future use by DVB" }, { 0x0100, 0x0100, "Eutelsat Data Piping" }, { 0x0101, 0x0101, "Eutelsat Data Streaming" }, { 0x0102, 0x0102, "SAGEM IP encapsulation in MPEG-2 PES packets" }, { 0x0103, 0x0103, "BARCO Data Broadcasting" }, { 0x0104, 0x0104, "CyberCity Multiprotocol Encapsulation (New Media Communications Ltd.)" }, { 0x0105, 0x0105, "CyberSat Multiprotocol Encapsulation (New Media Communications Ltd.)" }, { 0x0106, 0x0106, "The Digital Network" }, { 0x0107, 0x0107, "OpenTV Data Carousel" }, { 0x0108, 0x0108, "Panasonic" }, { 0x0109, 0x0109, "MSG MediaServices GmbH" }, { 0x010A, 0x010A, "TechnoTrend" }, { 0x010B, 0x010B, "Canal + Technologies system software download" }, { 0x0110, 0x0110, "Televizja Polsat" }, { 0x0111, 0x0111, "UK DTG" }, { 0x0112, 0x0112, "SkyMedia" }, { 0x0113, 0x0113, "Intellibyte DataBroadcasting" }, { 0x0114, 0x0114, "TeleWeb Data Carousel" }, { 0x0115, 0x0115, "TeleWeb Object Carousel" }, { 0x0116, 0x0116, "TeleWeb" }, { 0x4444, 0x4444, "4TV Data Broadcast" }, { 0x4E4F, 0x4E4F, "Nokia IP based software delivery" }, { 0xBBB1, 0xBBB1, "BBG Data Caroussel" }, { 0xBBB2, 0xBBB2, "BBG Object Caroussel" }, { 0xBBBB, 0xBBBB, "Bertelsmann Broadband Group" }, { 0xFFFF, 0xFFFF, "Reserved for future use" }, { 0,0, NULL } }; return findTableID (Table, flag);}/* -- Network Identification coding (ETR 162)*/char *dvbstrOriginalNetwork_ID (u_int i){ STR_TABLE Table[] = { // -- updated 2003-10-16 // -- { Original Network ID, Original Network ID, "Description | Operator" }, { 0x0000, 0x0000, "Reserved | Reserved" }, { 0x0001, 0x0001, "Astra Satellite Network 19,2癊 | Soci閠
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -