Mercurial > libdvdread4.hg
comparison ifo_print.c @ 29:dfcb735f711e src
cosmetics: function renaming from libdvdread 0.9.5
author | diego |
---|---|
date | Thu, 25 Sep 2008 22:09:59 +0000 |
parents | 96cfd8fb3b3d |
children | c743d79f187b |
comparison
equal
deleted
inserted
replaced
28:96cfd8fb3b3d | 29:dfcb735f711e |
---|---|
424 } | 424 } |
425 | 425 |
426 } | 426 } |
427 | 427 |
428 | 428 |
429 static void ifo_print_USER_OPS(user_ops_t *user_ops) { | 429 static void ifoPrint_USER_OPS(user_ops_t *user_ops) { |
430 uint32_t uops; | 430 uint32_t uops; |
431 unsigned char *ptr = (unsigned char *)user_ops; | 431 unsigned char *ptr = (unsigned char *)user_ops; |
432 | 432 |
433 uops = (*ptr++ << 24); | 433 uops = (*ptr++ << 24); |
434 uops |= (*ptr++ << 16); | 434 uops |= (*ptr++ << 16); |
493 printf("\n"); | 493 printf("\n"); |
494 } | 494 } |
495 } | 495 } |
496 | 496 |
497 | 497 |
498 void ifo_print_VMGI_MAT(vmgi_mat_t *vmgi_mat) { | 498 void ifoPrint_VMGI_MAT(vmgi_mat_t *vmgi_mat) { |
499 | 499 |
500 printf("VMG Identifier: %.12s\n", vmgi_mat->vmg_identifier); | 500 printf("VMG Identifier: %.12s\n", vmgi_mat->vmg_identifier); |
501 printf("Last Sector of VMG: %08x\n", vmgi_mat->vmg_last_sector); | 501 printf("Last Sector of VMG: %08x\n", vmgi_mat->vmg_last_sector); |
502 printf("Last Sector of VMGI: %08x\n", vmgi_mat->vmgi_last_sector); | 502 printf("Last Sector of VMGI: %08x\n", vmgi_mat->vmgi_last_sector); |
503 printf("Specification version number: %01x.%01x\n", | 503 printf("Specification version number: %01x.%01x\n", |
542 printf("\n"); | 542 printf("\n"); |
543 } | 543 } |
544 } | 544 } |
545 | 545 |
546 | 546 |
547 void ifo_print_VTSI_MAT(vtsi_mat_t *vtsi_mat) { | 547 void ifoPrint_VTSI_MAT(vtsi_mat_t *vtsi_mat) { |
548 int i; | 548 int i; |
549 | 549 |
550 printf("VTS Identifier: %.12s\n", vtsi_mat->vts_identifier); | 550 printf("VTS Identifier: %.12s\n", vtsi_mat->vts_identifier); |
551 printf("Last Sector of VTS: %08x\n", vtsi_mat->vts_last_sector); | 551 printf("Last Sector of VTS: %08x\n", vtsi_mat->vts_last_sector); |
552 printf("Last Sector of VTSI: %08x\n", vtsi_mat->vtsi_last_sector); | 552 printf("Last Sector of VTSI: %08x\n", vtsi_mat->vtsi_last_sector); |
606 printf("\n"); | 606 printf("\n"); |
607 } | 607 } |
608 } | 608 } |
609 | 609 |
610 | 610 |
611 static void ifo_print_PGC_COMMAND_TBL(pgc_command_tbl_t *cmd_tbl) { | 611 static void ifoPrint_PGC_COMMAND_TBL(pgc_command_tbl_t *cmd_tbl) { |
612 int i; | 612 int i; |
613 | 613 |
614 if(cmd_tbl == NULL) { | 614 if(cmd_tbl == NULL) { |
615 printf("No Command table present\n"); | 615 printf("No Command table present\n"); |
616 return; | 616 return; |
631 ifo_print_cmd(i, &cmd_tbl->cell_cmds[i]); | 631 ifo_print_cmd(i, &cmd_tbl->cell_cmds[i]); |
632 } | 632 } |
633 } | 633 } |
634 | 634 |
635 | 635 |
636 static void ifo_print_PGC_PROGRAM_MAP(pgc_program_map_t *program_map, int nr) { | 636 static void ifoPrint_PGC_PROGRAM_MAP(pgc_program_map_t *program_map, int nr) { |
637 int i; | 637 int i; |
638 | 638 |
639 if(program_map == NULL) { | 639 if(program_map == NULL) { |
640 printf("No Program map present\n"); | 640 printf("No Program map present\n"); |
641 return; | 641 return; |
645 printf("Program %3i Entry Cell: %3i\n", i + 1, program_map[i]); | 645 printf("Program %3i Entry Cell: %3i\n", i + 1, program_map[i]); |
646 } | 646 } |
647 } | 647 } |
648 | 648 |
649 | 649 |
650 static void ifo_print_CELL_PLAYBACK(cell_playback_t *cell_playback, int nr) { | 650 static void ifoPrint_CELL_PLAYBACK(cell_playback_t *cell_playback, int nr) { |
651 int i; | 651 int i; |
652 | 652 |
653 if(cell_playback == NULL) { | 653 if(cell_playback == NULL) { |
654 printf("No Cell Playback info present\n"); | 654 printf("No Cell Playback info present\n"); |
655 return; | 655 return; |
715 cell_playback[i].last_sector, | 715 cell_playback[i].last_sector, |
716 cell_playback[i].last_vobu_start_sector); | 716 cell_playback[i].last_vobu_start_sector); |
717 } | 717 } |
718 } | 718 } |
719 | 719 |
720 static void ifo_print_CELL_POSITION(cell_position_t *cell_position, int nr) { | 720 static void ifoPrint_CELL_POSITION(cell_position_t *cell_position, int nr) { |
721 int i; | 721 int i; |
722 | 722 |
723 if(cell_position == NULL) { | 723 if(cell_position == NULL) { |
724 printf("No Cell Position info present\n"); | 724 printf("No Cell Position info present\n"); |
725 return; | 725 return; |
730 cell_position[i].vob_id_nr, cell_position[i].cell_nr); | 730 cell_position[i].vob_id_nr, cell_position[i].cell_nr); |
731 } | 731 } |
732 } | 732 } |
733 | 733 |
734 | 734 |
735 void ifo_print_PGC(pgc_t *pgc) { | 735 void ifoPrint_PGC(pgc_t *pgc) { |
736 int i; | 736 int i; |
737 | 737 |
738 if (!pgc) { | 738 if (!pgc) { |
739 printf("None\n"); | 739 printf("None\n"); |
740 return; | 740 return; |
745 printf("Playback time: "); | 745 printf("Playback time: "); |
746 dvdread_print_time(&pgc->playback_time); printf("\n"); | 746 dvdread_print_time(&pgc->playback_time); printf("\n"); |
747 | 747 |
748 /* If no programs/no time then does this mean anything? */ | 748 /* If no programs/no time then does this mean anything? */ |
749 printf("Prohibited user operations: "); | 749 printf("Prohibited user operations: "); |
750 ifo_print_USER_OPS(&pgc->prohibited_ops); | 750 ifoPrint_USER_OPS(&pgc->prohibited_ops); |
751 | 751 |
752 for(i = 0; i < 8; i++) { | 752 for(i = 0; i < 8; i++) { |
753 if(pgc->audio_control[i] & 0x8000) { /* The 'is present' bit */ | 753 if(pgc->audio_control[i] & 0x8000) { /* The 'is present' bit */ |
754 printf("Audio stream %i control: %04x\n", | 754 printf("Audio stream %i control: %04x\n", |
755 i, pgc->audio_control[i]); | 755 i, pgc->audio_control[i]); |
780 printf("Color %2i: %08x\n", i, pgc->palette[i]); | 780 printf("Color %2i: %08x\n", i, pgc->palette[i]); |
781 } | 781 } |
782 } | 782 } |
783 | 783 |
784 /* Memmory offsets to div. tables. */ | 784 /* Memmory offsets to div. tables. */ |
785 ifo_print_PGC_COMMAND_TBL(pgc->command_tbl); | 785 ifoPrint_PGC_COMMAND_TBL(pgc->command_tbl); |
786 ifo_print_PGC_PROGRAM_MAP(pgc->program_map, pgc->nr_of_programs); | 786 ifoPrint_PGC_PROGRAM_MAP(pgc->program_map, pgc->nr_of_programs); |
787 ifo_print_CELL_PLAYBACK(pgc->cell_playback, pgc->nr_of_cells); | 787 ifoPrint_CELL_PLAYBACK(pgc->cell_playback, pgc->nr_of_cells); |
788 ifo_print_CELL_POSITION(pgc->cell_position, pgc->nr_of_cells); | 788 ifoPrint_CELL_POSITION(pgc->cell_position, pgc->nr_of_cells); |
789 } | 789 } |
790 | 790 |
791 | 791 |
792 void ifo_print_TT_SRPT(tt_srpt_t *tt_srpt) { | 792 void ifoPrint_TT_SRPT(tt_srpt_t *tt_srpt) { |
793 int i; | 793 int i; |
794 | 794 |
795 printf("Number of TitleTrack search pointers: %i\n", | 795 printf("Number of TitleTrack search pointers: %i\n", |
796 tt_srpt->nr_of_srpts); | 796 tt_srpt->nr_of_srpts); |
797 for(i=0;i<tt_srpt->nr_of_srpts;i++) { | 797 for(i=0;i<tt_srpt->nr_of_srpts;i++) { |
820 tt_srpt->title[i].title_set_sector); | 820 tt_srpt->title[i].title_set_sector); |
821 } | 821 } |
822 } | 822 } |
823 | 823 |
824 | 824 |
825 void ifo_print_VTS_PTT_SRPT(vts_ptt_srpt_t *vts_ptt_srpt) { | 825 void ifoPrint_VTS_PTT_SRPT(vts_ptt_srpt_t *vts_ptt_srpt) { |
826 int i, j; | 826 int i, j; |
827 printf(" nr_of_srpts %i last byte %i\n", | 827 printf(" nr_of_srpts %i last byte %i\n", |
828 vts_ptt_srpt->nr_of_srpts, | 828 vts_ptt_srpt->nr_of_srpts, |
829 vts_ptt_srpt->last_byte); | 829 vts_ptt_srpt->last_byte); |
830 for(i=0;i<vts_ptt_srpt->nr_of_srpts;i++) { | 830 for(i=0;i<vts_ptt_srpt->nr_of_srpts;i++) { |
841 static void hexdump(uint8_t *ptr, int len) { | 841 static void hexdump(uint8_t *ptr, int len) { |
842 while(len--) | 842 while(len--) |
843 printf("%02x ", *ptr++); | 843 printf("%02x ", *ptr++); |
844 } | 844 } |
845 | 845 |
846 void ifo_print_PTL_MAIT(ptl_mait_t *ptl_mait) { | 846 void ifoPrint_PTL_MAIT(ptl_mait_t *ptl_mait) { |
847 int i, j; | 847 int i, j; |
848 | 848 |
849 printf("Number of Countries: %i\n", ptl_mait->nr_of_countries); | 849 printf("Number of Countries: %i\n", ptl_mait->nr_of_countries); |
850 printf("Number of VTSs: %i\n", ptl_mait->nr_of_vtss); | 850 printf("Number of VTSs: %i\n", ptl_mait->nr_of_vtss); |
851 //printf("Last byte: %i\n", ptl_mait->last_byte); | 851 //printf("Last byte: %i\n", ptl_mait->last_byte); |
870 printf("\n"); | 870 printf("\n"); |
871 } | 871 } |
872 } | 872 } |
873 } | 873 } |
874 | 874 |
875 void ifo_print_VTS_TMAPT(vts_tmapt_t *vts_tmapt) { | 875 void ifoPrint_VTS_TMAPT(vts_tmapt_t *vts_tmapt) { |
876 unsigned int timeunit; | 876 unsigned int timeunit; |
877 int i, j; | 877 int i, j; |
878 | 878 |
879 printf("Number of VTS_TMAPS: %i\n", vts_tmapt->nr_of_tmaps); | 879 printf("Number of VTS_TMAPS: %i\n", vts_tmapt->nr_of_tmaps); |
880 printf("Last byte: %i\n", vts_tmapt->last_byte); | 880 printf("Last byte: %i\n", vts_tmapt->last_byte); |
893 (vts_tmapt->tmap[i].map_ent[j] >> 31) ? "discontinuity" : ""); | 893 (vts_tmapt->tmap[i].map_ent[j] >> 31) ? "discontinuity" : ""); |
894 } | 894 } |
895 } | 895 } |
896 } | 896 } |
897 | 897 |
898 void ifo_print_C_ADT(c_adt_t *c_adt) { | 898 void ifoPrint_C_ADT(c_adt_t *c_adt) { |
899 int i, entries; | 899 int i, entries; |
900 | 900 |
901 printf("Number of VOBs in this VOBS: %i\n", c_adt->nr_of_vobs); | 901 printf("Number of VOBs in this VOBS: %i\n", c_adt->nr_of_vobs); |
902 //entries = c_adt->nr_of_vobs; | 902 //entries = c_adt->nr_of_vobs; |
903 entries = (c_adt->last_byte + 1 - C_ADT_SIZE)/sizeof(c_adt_t); | 903 entries = (c_adt->last_byte + 1 - C_ADT_SIZE)/sizeof(c_adt_t); |
910 c_adt->cell_adr_table[i].last_sector); | 910 c_adt->cell_adr_table[i].last_sector); |
911 } | 911 } |
912 } | 912 } |
913 | 913 |
914 | 914 |
915 void ifo_print_VOBU_ADMAP(vobu_admap_t *vobu_admap) { | 915 void ifoPrint_VOBU_ADMAP(vobu_admap_t *vobu_admap) { |
916 int i, entries; | 916 int i, entries; |
917 | 917 |
918 entries = (vobu_admap->last_byte + 1 - VOBU_ADMAP_SIZE)/4; | 918 entries = (vobu_admap->last_byte + 1 - VOBU_ADMAP_SIZE)/4; |
919 for(i = 0; i < entries; i++) { | 919 for(i = 0; i < entries; i++) { |
920 printf("VOBU %5i First sector: 0x%08x\n", i + 1, | 920 printf("VOBU %5i First sector: 0x%08x\n", i + 1, |
950 } | 950 } |
951 return &menu_name[0]; | 951 return &menu_name[0]; |
952 } | 952 } |
953 | 953 |
954 /* pgc_type=1 for menu, 0 for title. */ | 954 /* pgc_type=1 for menu, 0 for title. */ |
955 void ifo_print_PGCIT(pgcit_t *pgcit, int pgc_type) { | 955 void ifoPrint_PGCIT(pgcit_t *pgcit, int pgc_type) { |
956 int i; | 956 int i; |
957 | 957 |
958 printf("\nNumber of Program Chains: %3i\n", pgcit->nr_of_pgci_srp); | 958 printf("\nNumber of Program Chains: %3i\n", pgcit->nr_of_pgci_srp); |
959 for(i = 0; i < pgcit->nr_of_pgci_srp; i++) { | 959 for(i = 0; i < pgcit->nr_of_pgci_srp; i++) { |
960 printf("\nProgram (PGC): %3i\n", i + 1); | 960 printf("\nProgram (PGC): %3i\n", i + 1); |
969 pgcit->pgci_srp[i].entry_id >> 7 ? "At Start of" : "During", | 969 pgcit->pgci_srp[i].entry_id >> 7 ? "At Start of" : "During", |
970 pgcit->pgci_srp[i].entry_id & 0xf, | 970 pgcit->pgci_srp[i].entry_id & 0xf, |
971 pgcit->pgci_srp[i].entry_id); | 971 pgcit->pgci_srp[i].entry_id); |
972 } | 972 } |
973 printf("Parental ID mask 0x%04x\n", pgcit->pgci_srp[i].ptl_id_mask); | 973 printf("Parental ID mask 0x%04x\n", pgcit->pgci_srp[i].ptl_id_mask); |
974 ifo_print_PGC(pgcit->pgci_srp[i].pgc); | 974 ifoPrint_PGC(pgcit->pgci_srp[i].pgc); |
975 } | 975 } |
976 } | 976 } |
977 | 977 |
978 | 978 |
979 void ifo_print_PGCI_UT(pgci_ut_t *pgci_ut) { | 979 void ifoPrint_PGCI_UT(pgci_ut_t *pgci_ut) { |
980 int i, menu; | 980 int i, menu; |
981 | 981 |
982 printf("Number of Menu Language Units (PGCI_LU): %3i\n", pgci_ut->nr_of_lus); | 982 printf("Number of Menu Language Units (PGCI_LU): %3i\n", pgci_ut->nr_of_lus); |
983 for(i = 0; i < pgci_ut->nr_of_lus; i++) { | 983 for(i = 0; i < pgci_ut->nr_of_lus; i++) { |
984 printf("\nMenu Language Unit %d\n", i+1); | 984 printf("\nMenu Language Unit %d\n", i+1); |
1014 if (menu > 0) { | 1014 if (menu > 0) { |
1015 printf("Unknown extra menus "); | 1015 printf("Unknown extra menus "); |
1016 menu^=0x08; | 1016 menu^=0x08; |
1017 } | 1017 } |
1018 printf("\n"); | 1018 printf("\n"); |
1019 ifo_print_PGCIT(pgci_ut->lu[i].pgcit, 1); | 1019 ifoPrint_PGCIT(pgci_ut->lu[i].pgcit, 1); |
1020 } | 1020 } |
1021 } | 1021 } |
1022 | 1022 |
1023 | 1023 |
1024 static void ifo_print_VTS_ATTRIBUTES(vts_attributes_t *vts_attributes) { | 1024 static void ifoPrint_VTS_ATTRIBUTES(vts_attributes_t *vts_attributes) { |
1025 int i; | 1025 int i; |
1026 | 1026 |
1027 printf("VTS_CAT Application type: %08x\n", vts_attributes->vts_cat); | 1027 printf("VTS_CAT Application type: %08x\n", vts_attributes->vts_cat); |
1028 | 1028 |
1029 printf("Video attributes of VTSM_VOBS: "); | 1029 printf("Video attributes of VTSM_VOBS: "); |
1063 printf("\n"); | 1063 printf("\n"); |
1064 } | 1064 } |
1065 } | 1065 } |
1066 | 1066 |
1067 | 1067 |
1068 void ifo_print_VTS_ATRT(vts_atrt_t *vts_atrt) { | 1068 void ifoPrint_VTS_ATRT(vts_atrt_t *vts_atrt) { |
1069 int i; | 1069 int i; |
1070 | 1070 |
1071 printf("Number of Video Title Sets: %3i\n", vts_atrt->nr_of_vtss); | 1071 printf("Number of Video Title Sets: %3i\n", vts_atrt->nr_of_vtss); |
1072 for(i = 0; i < vts_atrt->nr_of_vtss; i++) { | 1072 for(i = 0; i < vts_atrt->nr_of_vtss; i++) { |
1073 printf("\nVideo Title Set %i\n", i + 1); | 1073 printf("\nVideo Title Set %i\n", i + 1); |
1074 ifo_print_VTS_ATTRIBUTES(&vts_atrt->vts[i]); | 1074 ifoPrint_VTS_ATTRIBUTES(&vts_atrt->vts[i]); |
1075 } | 1075 } |
1076 } | 1076 } |
1077 | 1077 |
1078 | 1078 |
1079 void ifo_print(dvd_reader_t *dvd, int title) { | 1079 void ifo_print(dvd_reader_t *dvd, int title) { |
1087 | 1087 |
1088 | 1088 |
1089 if(ifohandle->vmgi_mat) { | 1089 if(ifohandle->vmgi_mat) { |
1090 | 1090 |
1091 printf("VMG top level\n-------------\n"); | 1091 printf("VMG top level\n-------------\n"); |
1092 ifo_print_VMGI_MAT(ifohandle->vmgi_mat); | 1092 ifoPrint_VMGI_MAT(ifohandle->vmgi_mat); |
1093 | 1093 |
1094 printf("\nFirst Play PGC\n--------------\n"); | 1094 printf("\nFirst Play PGC\n--------------\n"); |
1095 if(ifohandle->first_play_pgc) | 1095 if(ifohandle->first_play_pgc) |
1096 ifo_print_PGC(ifohandle->first_play_pgc); | 1096 ifoPrint_PGC(ifohandle->first_play_pgc); |
1097 else | 1097 else |
1098 printf("No First Play PGC present\n"); | 1098 printf("No First Play PGC present\n"); |
1099 | 1099 |
1100 printf("\nTitle Track search pointer table\n"); | 1100 printf("\nTitle Track search pointer table\n"); |
1101 printf( "------------------------------------------------\n"); | 1101 printf( "------------------------------------------------\n"); |
1102 ifo_print_TT_SRPT(ifohandle->tt_srpt); | 1102 ifoPrint_TT_SRPT(ifohandle->tt_srpt); |
1103 | 1103 |
1104 printf("\nMenu PGCI Unit table\n"); | 1104 printf("\nMenu PGCI Unit table\n"); |
1105 printf( "--------------------\n"); | 1105 printf( "--------------------\n"); |
1106 if(ifohandle->pgci_ut) { | 1106 if(ifohandle->pgci_ut) { |
1107 ifo_print_PGCI_UT(ifohandle->pgci_ut); | 1107 ifoPrint_PGCI_UT(ifohandle->pgci_ut); |
1108 } else { | 1108 } else { |
1109 printf("No PGCI Unit table present\n"); | 1109 printf("No PGCI Unit table present\n"); |
1110 } | 1110 } |
1111 | 1111 |
1112 printf("\nParental Manegment Information table\n"); | 1112 printf("\nParental Manegment Information table\n"); |
1113 printf( "------------------------------------\n"); | 1113 printf( "------------------------------------\n"); |
1114 if(ifohandle->ptl_mait) { | 1114 if(ifohandle->ptl_mait) { |
1115 ifo_print_PTL_MAIT(ifohandle->ptl_mait); | 1115 ifoPrint_PTL_MAIT(ifohandle->ptl_mait); |
1116 } else { | 1116 } else { |
1117 printf("No Parental Management Information present\n"); | 1117 printf("No Parental Management Information present\n"); |
1118 } | 1118 } |
1119 | 1119 |
1120 printf("\nVideo Title Set Attribute Table\n"); | 1120 printf("\nVideo Title Set Attribute Table\n"); |
1121 printf( "-------------------------------\n"); | 1121 printf( "-------------------------------\n"); |
1122 ifo_print_VTS_ATRT(ifohandle->vts_atrt); | 1122 ifoPrint_VTS_ATRT(ifohandle->vts_atrt); |
1123 | 1123 |
1124 printf("\nText Data Manager Information\n"); | 1124 printf("\nText Data Manager Information\n"); |
1125 printf( "-----------------------------\n"); | 1125 printf( "-----------------------------\n"); |
1126 if(ifohandle->txtdt_mgi) { | 1126 if(ifohandle->txtdt_mgi) { |
1127 //ifo_print_TXTDT_MGI(&(vmgi->txtdt_mgi)); | 1127 //ifo_print_TXTDT_MGI(&(vmgi->txtdt_mgi)); |
1130 } | 1130 } |
1131 | 1131 |
1132 printf("\nMenu Cell Adress table\n"); | 1132 printf("\nMenu Cell Adress table\n"); |
1133 printf( "-----------------\n"); | 1133 printf( "-----------------\n"); |
1134 if(ifohandle->menu_c_adt) { | 1134 if(ifohandle->menu_c_adt) { |
1135 ifo_print_C_ADT(ifohandle->menu_c_adt); | 1135 ifoPrint_C_ADT(ifohandle->menu_c_adt); |
1136 } else { | 1136 } else { |
1137 printf("No Menu Cell Adress table present\n"); | 1137 printf("No Menu Cell Adress table present\n"); |
1138 } | 1138 } |
1139 | 1139 |
1140 printf("\nVideo Manager Menu VOBU address map\n"); | 1140 printf("\nVideo Manager Menu VOBU address map\n"); |
1141 printf( "-----------------\n"); | 1141 printf( "-----------------\n"); |
1142 if(ifohandle->menu_vobu_admap) { | 1142 if(ifohandle->menu_vobu_admap) { |
1143 ifo_print_VOBU_ADMAP(ifohandle->menu_vobu_admap); | 1143 ifoPrint_VOBU_ADMAP(ifohandle->menu_vobu_admap); |
1144 } else { | 1144 } else { |
1145 printf("No Menu VOBU address map present\n"); | 1145 printf("No Menu VOBU address map present\n"); |
1146 } | 1146 } |
1147 } | 1147 } |
1148 | 1148 |
1149 | 1149 |
1150 if(ifohandle->vtsi_mat) { | 1150 if(ifohandle->vtsi_mat) { |
1151 | 1151 |
1152 printf("VTS top level\n-------------\n"); | 1152 printf("VTS top level\n-------------\n"); |
1153 ifo_print_VTSI_MAT(ifohandle->vtsi_mat); | 1153 ifoPrint_VTSI_MAT(ifohandle->vtsi_mat); |
1154 | 1154 |
1155 printf("\nPart of Title Track search pointer table\n"); | 1155 printf("\nPart of Title Track search pointer table\n"); |
1156 printf( "----------------------------------------------\n"); | 1156 printf( "----------------------------------------------\n"); |
1157 ifo_print_VTS_PTT_SRPT(ifohandle->vts_ptt_srpt); | 1157 ifoPrint_VTS_PTT_SRPT(ifohandle->vts_ptt_srpt); |
1158 | 1158 |
1159 printf("\nPGCI Unit table\n"); | 1159 printf("\nPGCI Unit table\n"); |
1160 printf( "--------------------\n"); | 1160 printf( "--------------------\n"); |
1161 ifo_print_PGCIT(ifohandle->vts_pgcit, 0); | 1161 ifoPrint_PGCIT(ifohandle->vts_pgcit, 0); |
1162 | 1162 |
1163 printf("\nMenu PGCI Unit table\n"); | 1163 printf("\nMenu PGCI Unit table\n"); |
1164 printf( "--------------------\n"); | 1164 printf( "--------------------\n"); |
1165 if(ifohandle->pgci_ut) { | 1165 if(ifohandle->pgci_ut) { |
1166 ifo_print_PGCI_UT(ifohandle->pgci_ut); | 1166 ifoPrint_PGCI_UT(ifohandle->pgci_ut); |
1167 } else { | 1167 } else { |
1168 printf("No Menu PGCI Unit table present\n"); | 1168 printf("No Menu PGCI Unit table present\n"); |
1169 } | 1169 } |
1170 | 1170 |
1171 printf("\nVTS Time Map table\n"); | 1171 printf("\nVTS Time Map table\n"); |
1172 printf( "-----------------\n"); | 1172 printf( "-----------------\n"); |
1173 if(ifohandle->vts_tmapt) { | 1173 if(ifohandle->vts_tmapt) { |
1174 ifo_print_VTS_TMAPT(ifohandle->vts_tmapt); | 1174 ifoPrint_VTS_TMAPT(ifohandle->vts_tmapt); |
1175 } else { | 1175 } else { |
1176 printf("No VTS Time Map table present\n"); | 1176 printf("No VTS Time Map table present\n"); |
1177 } | 1177 } |
1178 | 1178 |
1179 printf("\nMenu Cell Adress table\n"); | 1179 printf("\nMenu Cell Adress table\n"); |
1180 printf( "-----------------\n"); | 1180 printf( "-----------------\n"); |
1181 if(ifohandle->menu_c_adt) { | 1181 if(ifohandle->menu_c_adt) { |
1182 ifo_print_C_ADT(ifohandle->menu_c_adt); | 1182 ifoPrint_C_ADT(ifohandle->menu_c_adt); |
1183 } else { | 1183 } else { |
1184 printf("No Cell Adress table present\n"); | 1184 printf("No Cell Adress table present\n"); |
1185 } | 1185 } |
1186 | 1186 |
1187 printf("\nVideo Title Set Menu VOBU address map\n"); | 1187 printf("\nVideo Title Set Menu VOBU address map\n"); |
1188 printf( "-----------------\n"); | 1188 printf( "-----------------\n"); |
1189 if(ifohandle->menu_vobu_admap) { | 1189 if(ifohandle->menu_vobu_admap) { |
1190 ifo_print_VOBU_ADMAP(ifohandle->menu_vobu_admap); | 1190 ifoPrint_VOBU_ADMAP(ifohandle->menu_vobu_admap); |
1191 } else { | 1191 } else { |
1192 printf("No Menu VOBU address map present\n"); | 1192 printf("No Menu VOBU address map present\n"); |
1193 } | 1193 } |
1194 | 1194 |
1195 printf("\nCell Adress table\n"); | 1195 printf("\nCell Adress table\n"); |
1196 printf( "-----------------\n"); | 1196 printf( "-----------------\n"); |
1197 ifo_print_C_ADT(ifohandle->vts_c_adt); | 1197 ifoPrint_C_ADT(ifohandle->vts_c_adt); |
1198 | 1198 |
1199 printf("\nVideo Title Set VOBU address map\n"); | 1199 printf("\nVideo Title Set VOBU address map\n"); |
1200 printf( "-----------------\n"); | 1200 printf( "-----------------\n"); |
1201 ifo_print_VOBU_ADMAP(ifohandle->vts_vobu_admap); | 1201 ifoPrint_VOBU_ADMAP(ifohandle->vts_vobu_admap); |
1202 } | 1202 } |
1203 | 1203 |
1204 ifoClose(ifohandle); | 1204 ifoClose(ifohandle); |
1205 } | 1205 } |