OSDN Git Service

update epgdump for dist.
[rec10/rec10-git.git] / dist / trunk / tstools / epgdump / eit.h
index 15f910b..f25f2d5 100755 (executable)
@@ -32,7 +32,7 @@ typedef struct _EITbody {
        int running_status;
        int free_CA_mode;
        int descriptors_loop_length;
-       /* °Ê²¼¤Ï²òÀÏ·ë²ÌÊݸÍÑ */
+       /* 以下は解析結果保存用 */
        int yy;
        int mm;
        int dd;
@@ -57,7 +57,10 @@ typedef struct _SEVTdesc {
 typedef struct _ContentDesc {
        int descriptor_tag;
        int descriptor_length;
-       char content[MAXSECLEN];
+       char content_nibble_level_1;
+       char content_nibble_level_2;
+       char user_nibble_1;
+       char user_nibble_2;
 } ContentDesc;
 
 typedef struct _SeriesDesc {
@@ -73,6 +76,36 @@ typedef struct _SeriesDesc {
        char series_name_char[MAXSECLEN];
 } SeriesDesc;
 
+typedef struct _ComponentDesc {
+       int descriptor_tag;
+       int descriptor_length;
+       int reserved_future_use;
+       int stream_content;
+       int component_type;
+       int component_tag;
+       char ISO_639_language_code[3];
+       char text_char[MAXSECLEN];
+} ComponentDesc;
+
+typedef struct _AudioComponentDesc {
+       int descriptor_tag;
+       int descriptor_length;
+       int reserved_future_use_1;
+       int stream_content;
+       int component_type;
+       int component_tag;
+       int stream_type;
+       int simulcast_group_tag;
+       int ES_multi_lingual_flag;
+       int main_component_flag;
+       int quality_indicator;
+       int sampling_rate;
+       int reserved_future_use_2;
+       char ISO_639_language_code_1[3];
+       char ISO_639_language_code_2[3];
+       char text_char[MAXSECLEN];
+} AudioComponentDesc;
+
 typedef struct _EEVTDhead {
        int  descriptor_tag;
        int  descriptor_length;
@@ -87,7 +120,7 @@ typedef struct _EEVTDitem {
        char item_description[MAXSECLEN];
        int  item_length;
        char item[MAXSECLEN];
-       /* ÂàÈòÍÑ */
+       /* 退避用 */
        int  descriptor_number;
 } EEVTDitem;