comparison ifo_print.c @ 35:7b3c6a7220c3 src

spelling fixes by Erik Hovland
author nicodvb
date Sun, 15 Feb 2009 18:30:24 +0000
parents c743d79f187b
children aa36b2d85f8d
comparison
equal deleted inserted replaced
34:efda257ddab4 35:7b3c6a7220c3
128 break; 128 break;
129 default: 129 default:
130 printf("(please send a bug report), "); 130 printf("(please send a bug report), ");
131 } 131 }
132 132
133 // Wide is allways allowed..!!! 133 // Wide is always allowed..!!!
134 switch(attr->permitted_df) { 134 switch(attr->permitted_df) {
135 case 0: 135 case 0:
136 printf("pan&scan+letterboxed, "); 136 printf("pan&scan+letterboxed, ");
137 break; 137 break;
138 case 1: 138 case 1:
326 printf("Not specified "); 326 printf("Not specified ");
327 break; 327 break;
328 case 1: // Normal audio 328 case 1: // Normal audio
329 printf("Normal Caption "); 329 printf("Normal Caption ");
330 break; 330 break;
331 case 2: // visually imparied 331 case 2: // visually impaired
332 printf("Audio for visually impaired "); 332 printf("Audio for visually impaired ");
333 break; 333 break;
334 case 3: // Directors 1 334 case 3: // Directors 1
335 printf("Director's comments 1 "); 335 printf("Director's comments 1 ");
336 break; 336 break;
683 case 1: 683 case 1:
684 printf("angle block "); 684 printf("angle block ");
685 break; 685 break;
686 case 2: 686 case 2:
687 case 3: 687 case 3:
688 printf("(send bug repport) "); 688 printf("(send bug report) ");
689 break; 689 break;
690 } 690 }
691 } 691 }
692 if(cell_playback[i].seamless_play) 692 if(cell_playback[i].seamless_play)
693 printf("presented seamlessly "); 693 printf("presented seamlessly ");
779 for(i = 0; i < 16; i++) { 779 for(i = 0; i < 16; 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 /* Memory offsets to div. tables. */
785 ifoPrint_PGC_COMMAND_TBL(pgc->command_tbl); 785 ifoPrint_PGC_COMMAND_TBL(pgc->command_tbl);
786 ifoPrint_PGC_PROGRAM_MAP(pgc->program_map, pgc->nr_of_programs); 786 ifoPrint_PGC_PROGRAM_MAP(pgc->program_map, pgc->nr_of_programs);
787 ifoPrint_CELL_PLAYBACK(pgc->cell_playback, pgc->nr_of_cells); 787 ifoPrint_CELL_PLAYBACK(pgc->cell_playback, pgc->nr_of_cells);
788 ifoPrint_CELL_POSITION(pgc->cell_position, pgc->nr_of_cells); 788 ifoPrint_CELL_POSITION(pgc->cell_position, pgc->nr_of_cells);
789 } 789 }
804 tt_srpt->title[i].nr_of_angles); 804 tt_srpt->title[i].nr_of_angles);
805 805
806 printf("\tTitle playback type: (%02x)\n", 806 printf("\tTitle playback type: (%02x)\n",
807 *(uint8_t *)&(tt_srpt->title[i].pb_ty)); 807 *(uint8_t *)&(tt_srpt->title[i].pb_ty));
808 printf("\t\t%s\n", 808 printf("\t\t%s\n",
809 tt_srpt->title[i].pb_ty.multi_or_random_pgc_title ? "Random or Shuffle" : "Sequencial"); 809 tt_srpt->title[i].pb_ty.multi_or_random_pgc_title ? "Random or Shuffle" : "Sequential");
810 if (tt_srpt->title[i].pb_ty.jlc_exists_in_cell_cmd) printf("\t\tJump/Link/Call exists in cell cmd\n"); 810 if (tt_srpt->title[i].pb_ty.jlc_exists_in_cell_cmd) printf("\t\tJump/Link/Call exists in cell cmd\n");
811 if (tt_srpt->title[i].pb_ty.jlc_exists_in_prepost_cmd) printf("\t\tJump/Link/Call exists in pre/post cmd\n"); 811 if (tt_srpt->title[i].pb_ty.jlc_exists_in_prepost_cmd) printf("\t\tJump/Link/Call exists in pre/post cmd\n");
812 if (tt_srpt->title[i].pb_ty.jlc_exists_in_button_cmd) printf("\t\tJump/Link/Call exists in button cmd\n"); 812 if (tt_srpt->title[i].pb_ty.jlc_exists_in_button_cmd) printf("\t\tJump/Link/Call exists in button cmd\n");
813 if (tt_srpt->title[i].pb_ty.jlc_exists_in_tt_dom) printf("\t\tJump/Link/Call exists in tt_dom cmd\n"); 813 if (tt_srpt->title[i].pb_ty.jlc_exists_in_tt_dom) printf("\t\tJump/Link/Call exists in tt_dom cmd\n");
814 printf("\t\tTitle or time play:%d\n", tt_srpt->title[i].pb_ty.title_or_time_play); 814 printf("\t\tTitle or time play:%d\n", tt_srpt->title[i].pb_ty.title_or_time_play);
1107 ifoPrint_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 Management Information table\n");
1113 printf( "------------------------------------\n"); 1113 printf( "------------------------------------\n");
1114 if(ifohandle->ptl_mait) { 1114 if(ifohandle->ptl_mait) {
1115 ifoPrint_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");
1127 //ifo_print_TXTDT_MGI(&(vmgi->txtdt_mgi)); 1127 //ifo_print_TXTDT_MGI(&(vmgi->txtdt_mgi));
1128 } else { 1128 } else {
1129 printf("No Text Data Manager Information present\n"); 1129 printf("No Text Data Manager Information present\n");
1130 } 1130 }
1131 1131
1132 printf("\nMenu Cell Adress table\n"); 1132 printf("\nMenu Cell Address table\n");
1133 printf( "-----------------\n"); 1133 printf( "-----------------\n");
1134 if(ifohandle->menu_c_adt) { 1134 if(ifohandle->menu_c_adt) {
1135 ifoPrint_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 Address 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) {
1174 ifoPrint_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 Address table\n");
1180 printf( "-----------------\n"); 1180 printf( "-----------------\n");
1181 if(ifohandle->menu_c_adt) { 1181 if(ifohandle->menu_c_adt) {
1182 ifoPrint_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 Address 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) {